python-bittrex-websocket icon indicating copy to clipboard operation
python-bittrex-websocket copied to clipboard

Lastest price bug

Open edmondja opened this issue 6 years ago • 2 comments

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.

edmondja avatar Nov 25 '18 23:11 edmondja

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

LiouYanTing avatar Dec 20 '18 08:12 LiouYanTing

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

volkovartem77 avatar Jul 14 '19 01:07 volkovartem77