粉尘低于现货最小可卖量时忽略且不展示、不再重试卖回。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -507,7 +507,8 @@ def sweep_spot_after_options_flat(
|
||||
continue
|
||||
try:
|
||||
avail = _spot_bridge.fetch_trading_coin_available(exchange, uly)
|
||||
if avail is None or float(avail) <= 1e-8:
|
||||
# 低于现货 minSz 的粉尘不扫、不重试
|
||||
if avail is None or not _spot_bridge.is_sellable_spot_coin(exchange, uly, avail):
|
||||
continue
|
||||
except Exception:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user