slazarov / python-bittrex-websocket

Python websocket for Bittrex (non async).
http://python-bittrex-websocket-docs.readthedocs.io/en/latest/index.html
MIT License
103 stars 38 forks source link

Lastest price bug #84

Open edmondja opened 5 years ago

edmondja commented 5 years ago

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.

LiouYanTing commented 5 years ago

I have similar bug like this. Program runs for a long time , maybe 2 days or 3days , lastest prices and amount are wrong.

volkovartem77 commented 5 years ago

Try this code: https://github.com/volkovartem77/bittrex_orderbook It's Bittrex websocket order book in Python