node.bittrex.api
node.bittrex.api copied to clipboard
Getting entire orderbook data upon new connection
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.