0
Follow
0
Followers
Websocket se interrumpe con frecuencia. ¿Alguien sabe el motivo?
Created 2025-04-02 20:07:00
7
911
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)
Comment
All comments (7)
币安需要定时发ping吗,不是一直中断,正常的时候六七个小时也不断,异常的时候几秒钟就断一次,代码就是简单的订阅,解析,两个动作。
ws = Dial("wss://fstream.binance.com/stream?streams="+streams)
let msg = ws.read(-1)
if (msg == "") {
Log('WebSocket价格断开')
ws.close()
ws = null
break
}
a year ago
- 1


