Closed eylence closed 5 years ago
Hello! This is what happens on receive: https://github.com/unicorn-data-analysis/unicorn-binance-websocket-api/blob/master/unicorn_binance_websocket_api/unicorn_binance_websocket_api_socket.py#L62
I havent tested or researched anything now, but i would believe json received through a websocket is string type.
If you need help on miniTicker please take a look to this example: https://github.com/unicorn-data-analysis/unicorn-binance-websocket-api/blob/master/example_ticker_and_miniticker.py which is using this class for processing: https://github.com/unicorn-data-analysis/unicorn-binance-websocket-api/blob/master/unicorn_binance_websocket_api_process_streams.py
All examples are ready to run, just download, review and start!
Best regards!
This class can help you, to manage your receives with less effort: https://github.com/unicorn-data-analysis/unicorn_fy
eylence: Please feel free to reopen if you have further questions on this topic!
Hi,
the miniTicker stream returns strings instead of dictionary
output:
unicorn-binance-websocket-api version 1.4.0