fix: увеличить recv_window до 30s для Bybit (clock drift на сервере)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,7 @@ class SpotExecutor:
|
||||
"apiKey": exchange_cfg.api_key,
|
||||
"secret": exchange_cfg.api_secret,
|
||||
"enableRateLimit": True,
|
||||
"options": {"recvWindow": 30000}, # 30s window for clock drift
|
||||
})
|
||||
self.dry_run = exchange_cfg.testnet
|
||||
self.leverage = leverage
|
||||
|
||||
Reference in New Issue
Block a user