币本位开仓:张数留手续费缓冲,延长买币落账等待并修正51008文案
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -126,7 +126,13 @@ def open_coin_option_buy_full(
|
||||
message="已买币,待开期权",
|
||||
)
|
||||
# 等余额落账
|
||||
time.sleep(0.6)
|
||||
time.sleep(1.5)
|
||||
try:
|
||||
from lib.exchange.okx_options_lib import invalidate_options_balance_cache
|
||||
|
||||
invalidate_options_balance_cache()
|
||||
except Exception:
|
||||
pass
|
||||
coin_after = fetch_trading_coin_available(ex, underlying)
|
||||
if coin_after is None:
|
||||
rb = rollback_bought_coin_to_usdt(
|
||||
|
||||
Reference in New Issue
Block a user