unicorn-binance-rest-api
unicorn-binance-rest-api copied to clipboard
Async support?
First of all, thank you for the great work!
Is your feature request related to a problem? Please describe. I need to run some tasks in parallel, the repo sammchardy/python-binance supports this and it works well. I am considering to switch to this repo(unicorn-binance-rest-api) because I am impressed by the unicorn-binance-websocket-api repo, and I see this repo is more active than sammchardy/python-binance.
Describe the solution you'd like Anything similar to what sammchardy/python-binance does, it is well documented: https://sammchardy.github.io/async-binance-basics/
Describe alternatives you've considered Well, continue to use sammchardy/python-binance for the async rest api and use this repo for the stream api
Additional context None
Hello!
Thanks for your interesst in this lib!
Its on the roadmap but will need a while!
You can mix with python binance, but we are not allways on the same versions of websockets, so sometimes its not easy to install both paralell, thats why i forked the rest api.
I think about how to implement asyncio support... a possible way is https://pypi.org/project/grequests/
https://code.luasoftware.com/tutorials/algo-trading/python-binance-asyncio-client/
Hey @oliver-zehentleitner , any news regarding the async support for REST requests?
I will pick this up soon, need this then: https://smarie.github.io/python-decopatch/
Can't wait for it! Thank you @oliver-zehentleitner