go-binance
go-binance copied to clipboard
how to keep listenKey alive?
follow test code: client.NewKeepaliveUserStreamService().ListenKey(listenKey).Do(newContext()), I have few questions. how long is the listenKey valid?
Binance document https://binance-docs.github.io/apidocs/futures/en/#user-data-streams already mentioned that.
A User Data Stream listenKey is valid for 60 minutes after creation. Doing a PUT on a listenKey will extend its validity for 60 minutes
completed, close this.