-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client/comms,binance: Update ws connection URL
This updates the ws connection interface to allow for updating of the URL. This is useful for the connection to Binance. If additional markets are subscribed after the initial connection to the market streams API, in the event of an error, the websocket connection will reconnect using the initial URL, and the additional markets will only be resubscribed after a list subscriptions check is done. With this change, all the markets will be subscribed during a reconnection.
- Loading branch information
Showing
2 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters