Open
Description
When subscribing to k-line data using the method futures.WsContinuousKlineServe, this error often occurs, causing the WebSocket (ws) connection to be interrupted. I have tried to ensure reconnection through the following methods,
for { doneC, _, err := futures.WsContinuousKlineServe(&futures.WsContinuousKlineSubscribeArgs{ Pair: symbol, ContractType: "PERPETUAL", Interval: interval, }, wsKlineHandler, errHandler) if err != nil { continue } <-doneC time.Sleep(time.Second * 10) }
but there is a problem. That is, the pushed data is lost during the reconnection process. How can this be solved?
Metadata
Metadata
Assignees
Labels
No labels