node.bittrex.api icon indicating copy to clipboard operation
node.bittrex.api copied to clipboard

Getting entire orderbook data upon new connection

Open jd4ever opened this issue 7 years ago • 0 comments

Hi guys, the current code only subscribes to 'updateExchangeState', which only receives changes to the order book. However, it never actually tries to receive the entire order book first so that we can apply the changes to it.

I've added to the code so that it now gets the entire order book data upon connecting. See the modified websocket example.

jd4ever avatar Jan 04 '18 04:01 jd4ever