slazarov / python-bittrex-websocket

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

Account order/ balance deltas #67

Closed learnerAI closed 6 years ago

learnerAI commented 6 years ago

Hi, Thanks for this wonderful library. The public callbacks are working perfectly however the private callbacks (order and balance deltas) are not functioning. I've tried both the asyncio and non asyncio versions, authentication is fine but post that I don't receive any message from the server

2018-06-13 13:44:59 - bittrex_websocket.websocket_client - INFO - Establishing connection to Bittrex through https://beta.bittrex.com/signalr. 2018-06-13 13:44:59 - bittrex_websocket.websocket_client - INFO - cfscrape detected, using it to bypass Cloudflare. 2018-06-13 13:45:45 - bittrex_websocket.websocket_client - INFO - Establishing connection to Bittrex through https://beta.bittrex.com/signalr. 2018-06-13 13:45:45 - bittrex_websocket.websocket_client - INFO - cfscrape detected, using it to bypass Cloudflare. 2018-06-13 13:46:01 - bittrex_websocket.websocket_client - INFO - Establishing connection to Bittrex through https://beta.bittrex.com/signalr. 2018-06-13 13:46:01 - bittrex_websocket.websocket_client - INFO - cfscrape detected, using it to bypass Cloudflare. 2018-06-13 13:46:11 - bittrex_websocket.websocket_client - INFO - Retrieving authentication challenge. 2018-06-13 13:46:11 - bittrex_websocket.websocket_client - INFO - Challenge retrieved. Sending authentication. Awaiting messages...

This is the log file.

slazarov commented 6 years ago

Have you tried making any trades?

On Jun 13, 2018 at 5:15 pm, <learnerAI (mailto:notifications@github.com)> wrote:

Hi, Thanks for this wonderful library. The public callbacks are working perfectly however the private callbacks (order and balance deltas) are not functioning. I've tried both the asyncio and non asyncio versions, authentication is fine but post that I don't receive any message from the server

2018-06-13 13:44:59 - bittrex_websocket.websocket_client - INFO - Establishing connection to Bittrex through https://beta.bittrex.com/signalr. 2018-06-13 13:44:59 - bittrex_websocket.websocket_client - INFO - cfscrape detected, using it to bypass Cloudflare. 2018-06-13 13:45:45 - bittrex_websocket.websocket_client - INFO - Establishing connection to Bittrex through https://beta.bittrex.com/signalr. 2018-06-13 13:45:45 - bittrex_websocket.websocket_client - INFO - cfscrape detected, using it to bypass Cloudflare. 2018-06-13 13:46:01 - bittrex_websocket.websocket_client - INFO - Establishing connection to Bittrex through https://beta.bittrex.com/signalr. 2018-06-13 13:46:01 - bittrex_websocket.websocket_client - INFO - cfscrape detected, using it to bypass Cloudflare. 2018-06-13 13:46:11 - bittrex_websocket.websocket_client - INFO - Retrieving authentication challenge. 2018-06-13 13:46:11 - bittrex_websocket.websocket_client - INFO - Challenge retrieved. Sending authentication. Awaiting messages...

This is the log file.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/slazarov/python-bittrex-websocket/issues/67), or mute the thread (https://github.com/notifications/unsubscribe-auth/AbVUG1gsqrXCSMPlNPcWOkyNm9OKfalqks5t8R6UgaJpZM4UmSNq).

learnerAI commented 6 years ago

Not yet, will I start receiving the messages post making some trades?

slazarov commented 6 years ago

It’s is a private callback so unless you do something “private”, no message will propagate. If you want to stream public trades you have to use the public channels.

learnerAI commented 6 years ago

Okay understood just to confirm once I trade it should give me order and balance deltas (for my account). And whenever there is a change in order status I'll receive a message.

Thanks for the prompt response

slazarov commented 6 years ago

Making a trade will result in a trade output, it its successful than this will lead to a change in balances.

On Jun 14, 2018 at 7:18 am, <learnerAI (mailto:notifications@github.com)> wrote:

Okay understood just to confirm once I trade it should give me order and balance deltas (for my account). And whenever there is a change in order status I'll receive a message.

Thanks for the prompt response

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/slazarov/python-bittrex-websocket/issues/67#issuecomment-397165610), or mute the thread (https://github.com/notifications/unsubscribe-auth/AbVUG9UKsZtX8uijz-esyBgDDGYHbCePks5t8eQLgaJpZM4UmSNq).

slazarov commented 6 years ago

Has the issue been solved?

learnerAI commented 6 years ago

Yes, will close it. Thanks !