LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
683 stars 165 forks source link

Stream Data is always returned in `raw_data` format #380

Open oliver-zehentleitner opened 4 months ago

oliver-zehentleitner commented 4 months ago

Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.

Version of this library.

>=2.7.0

Hardware?

Local server/workstation

Operating System?

Linux

Python version?

Python3.7

Installed wheel files

No response

Installed packages

No response

Logging output

No response

Processing method?

process_asyncio_queue

Used endpoint?

binance.com-coin_futures

Issue

Stream Data is always returned in raw_data format, even if dict or UnicornFy was defned. This bug was introduced with 2.7.0.

oliver-zehentleitner commented 4 months ago

Package building is started: https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/actions/runs/9091855013 https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/actions/runs/9091853534

oliver-zehentleitner commented 4 months ago

I am opening this again. We will write unit tests on class level and for create_stream() to be able to detect errors of this kind in the future before the release.

oliver-zehentleitner commented 4 months ago

Released: https://pypi.org/project/unicorn-binance-websocket-api/2.7.2/ https://anaconda.org/lucit/unicorn-binance-websocket-api/