Fix Binance options WS endpoint and connected flag.
Use fstream /public/stream with lowercase bookTicker streams; keep market connected if futures WS is up. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -37,8 +37,8 @@ class Settings(BaseSettings):
|
||||
binance_fapi_base: str = "https://fapi.binance.com"
|
||||
binance_eapi_base: str = "https://eapi.binance.com"
|
||||
binance_futures_ws: str = "wss://fstream.binance.com/stream"
|
||||
# 官方默认根路径 /eoptions;组合流用 /eoptions/stream?streams=
|
||||
binance_options_ws: str = "wss://nbstream.binance.com/eoptions/stream"
|
||||
# 欧式期权公共流(2025-12 起):/public/stream;旧 nbstream/eoptions 已 404
|
||||
binance_options_ws: str = "wss://fstream.binance.com/public/stream"
|
||||
binance_http_proxy: str = ""
|
||||
|
||||
perp_inst_id: str = "ETH-USDT-SWAP"
|
||||
|
||||
Reference in New Issue
Block a user