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

Example not finished properly on Ubuntu #74

Closed nizaevka closed 6 years ago

nizaevka commented 6 years ago

Hello, thanks for your work, I run ''record_trades.py" from examples directory on Linux(python2.7), the process not finished at the end (just freezes after closing connection).

OUTPUT: `2018-07-21 00:28:16 - bittrex_websocket.websocket_client - INFO - Establishing connection to Bittrex through https://beta.bittrex.com/signalr.

2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [BTC-ETH]. 2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [BTC-NEO]. 2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [BTC-ZEC]. 2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [ETH-NEO]. 2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [ETH-ZEC]. ... 2018-07-21 00:28:22 - bittrex_websocket.websocket_client - INFO - Bittrex connection successfully closed.` --the process hangs--

The same problems with other examples, looks like something with daemon status of threads. on windows everything works fine, could you help? Does anybody have the same?

slazarov commented 6 years ago

What version are you using? The most recent versions have replaced the beta bittrex endpoint.

On Jul 21, 2018 at 12:49 am, <KNizaev (mailto:notifications@github.com)> wrote:

Hello, thanks for your work, I run ''record_trades.py" from examples directory on Linux(python2.7), the process not finished at the end (just freezes after closing connection).

OUTPUT: `2018-07-21 00:28:16 - bittrex_websocket.websocket_client - INFO - Establishing connection to Bittrex through https://beta.bittrex.com/signalr.

2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [BTC-ETH]. 2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [BTC-NEO]. 2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [BTC-ZEC]. 2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [ETH-NEO]. 2018-07-21 00:28:20 - bittrex_websocket.websocket_client - INFO - Successfully subscribed to [SubscribeToExchangeDeltas] for [ETH-ZEC]. ... 2018-07-21 00:28:22 - bittrex_websocket.websocket_client - INFO - Bittrex connection successfully closed.` --the process hangs--

The same problems with other examples, looks like something with daemon status of threads. on windows everything works fine, could you help? Does anybody have the same?

— 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/74), or mute the thread (https://github.com/notifications/unsubscribe-auth/AbVUG6Au6Vjhjc5--Cm0dXUDL1yiHWYCks5uIlBNgaJpZM4VZUEF).

nizaevka commented 6 years ago

Version: 1.0.5. I change url to beta because of QueryExchangeState Market Name is None.

slazarov commented 6 years ago

Hi, I cant seem to replicate it. 1) Are you running it in a clean venv? Perhaps there might be a library which is conflicting with it. 2) The most recent version is 1.0.6.2

nizaevka commented 6 years ago

Thanks, my fault, i made minor changes which cause of issue