fix: увеличить recv_window до 30s для Bybit (clock drift на сервере)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
anor
2026-03-12 22:46:48 +10:00
co-authored by Claude Opus 4.6
parent 6e37be51a9
commit f41c7cdae2
+1
View File
@@ -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