粉尘低于现货最小可卖量时忽略且不展示、不再重试卖回。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-07 11:16:13 +08:00
parent 80ef5ceccb
commit 030b237981
8 changed files with 183 additions and 19 deletions
+2 -1
View File
@@ -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