Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Commit

Permalink
resubscribe to bookTicker on reconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
jargote committed May 12, 2021
1 parent 514c1ba commit 0360fd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/basic-auth-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ class BasicAuthTradeClient extends BasicClient {
for (let marketSymbol of this._tickerSubs.keys()) {
this._sendSubTicker(marketSymbol);
}
for (let marketSymbol of this._bookTickerSubs.keys()) {
this._sendSubBookTicker(marketSymbol);
}
for (let marketSymbol of this._candleSubs.keys()) {
this._sendSubCandle(marketSymbol);
}
Expand Down

0 comments on commit 0360fd9

Please sign in to comment.