hummingbot icon indicating copy to clipboard operation
hummingbot copied to clipboard

Bitfinex - Stop command causes the bot to flood with stack trace dump errors

Open arnelhbot opened this issue 2 years ago • 0 comments

Describe the bug When running a simple Pure_MM strategy on Master v1.6.0 and stopping the bot, we noticed that after we have initiated the stop command the bot will flood the log pane with bitfinex.bitfinex_api_order_book_data_source - ERROR.

2022-07-29 09:00:14,925 - 1368041 - hummingbot.client.hummingbot_application - INFO - stop command initiated.
2022-07-29 09:00:15,426 - 1368041 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - INFO - Succesfully canceled orders: ['buy-DOGE-USDT-1659085201166505']
2022-07-29 09:00:15,579 - 1368041 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - INFO - The market order buy-DOGE-USDT-1659085201166505 has failed/been canceled according to order status API.
2022-07-29 09:00:15,593 - 1368041 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1659085215.0, "order_id": "buy-DOGE-USDT-1659085201166505", "exchange_order_id": null, "event_name": "OrderCancelledEvent", "event_source": "bitfinex"}
2022-07-29 09:00:18,211 - 1368041 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/ubuntu/Hummingbot/pull_request/master1/hummingbot/core/data_type/order_book_tracker_data_source.py", line 79, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/ubuntu/Hummingbot/pull_request/master1/hummingbot/core/data_type/order_book_tracker_data_source.py", line 182, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError
2022-07-29 09:00:23,212 - 1368041 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - ERROR - Unexpected error occurred when listening to order book streams. Retrying in 5 seconds...
Traceback (most recent call last):
  File "/home/ubuntu/Hummingbot/pull_request/master1/hummingbot/core/data_type/order_book_tracker_data_source.py", line 79, in listen_for_subscriptions
    ws: WSAssistant = await self._connected_websocket_assistant()
  File "/home/ubuntu/Hummingbot/pull_request/master1/hummingbot/core/data_type/order_book_tracker_data_source.py", line 182, in _connected_websocket_assistant
    raise NotImplementedError
NotImplementedError

Steps To Reproduce Here are the steps to reproduce the issue (see attachments in the section below):

  1. Create a simple Pure_MM strategy with Bitfinex
  2. Start Bot and stop it at any point
  3. Observe log pane for multiple stack trace dump errors ...

Screenshots image

Release version Master v1.6.0

Attachments logs_bitfinex_pure_mm_1.log

arnelhbot avatar Jul 29 '22 09:07 arnelhbot