python-bittrex-websocket
python-bittrex-websocket copied to clipboard
Lastest price bug
There is a bug with ws.order_books. It seems that the asks and bids are correctly refreshed but lastest prices contained in the key "f" are not.
When you restart the stream doing `ws = OrderBook()
ws.enable_log()
ws.subscribe_to_orderbook(pairs_list)`
Then, the dictionary ws.order_books contains the lastest prices, but still they are not refreshed automatically.
PS: it might be related to that issue https://github.com/slazarov/python-bittrex-websocket/issues/29.
I have similar bug like this. Program runs for a long time , maybe 2 days or 3days , lastest prices and amount are wrong.
Try this code: https://github.com/volkovartem77/bittrex_orderbook It's Bittrex websocket order book in Python