slazarov / python-bittrex-websocket-aio

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

Queston: Authorization Logic when submit orders #3

Closed ryarom148 closed 6 years ago

ryarom148 commented 6 years ago

Good afternoon! I am making a trading application and since the buy/sell orders are submitted through REST API, I wonder how to implement the authorization logic: 1) authorize through REST API and authorize independently through Websocket ? 2) do you have any example of to API working together?

Thanks

slazarov commented 6 years ago

What API functions do you refer to when you say 'authorise'?

The only account-based info you can get through the socket is Balance Delta and Order Delta. Any buy/sell orders are sent through the API. For simplicity, if you want to be able to receive live data and perform trades, just open a separate thread for the trades.

ryarom148 commented 6 years ago

thanks

slazarov commented 6 years ago

Closing.