Closed andre-ac closed 3 years ago
sashagol #1638 on Discord reported a similar issue with the Bitfinex connector. User is running Avellaneda Strategy and bot failed to cancel outstanding orders after running a stop
command, user has to cancel the orders on the exchange itself.
Logs show this error - 1000 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - WARNING - Failed to cancel all orders on Bitfinex. Check API key and network connection.
Hello @andre-ac Are you still experiencing this issue? If not, we will close the ticket. Base on your logs it seems the error occur due to temporary network issue but your bot should be able to recover. We have release a new version for the Hummingbot client, I suggest trying this out as well if you haven't yet.
Closing this ticket for now since we haven't receive any response from the user.
Describe the bug Multiple iterations errors and occasionally the nonce is set too low, sometimes this is followed by the websocket pings timing out but unsure if related. Namely:
2021-01-20 16:24:15,275 - 10552 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - NETWORK - Failed to do order Traceback (most recent call last): File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 489, in _api_do_request File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 495, in hummingbot.connector.exchange.bitfinex.bitfinex_exchange.BitfinexExchange._api_do_request OSError: Error fetching data from https://api.bitfinex.com/v2/auth/r/orders/hist. HTTP status is 500. ['error', 10114, 'nonce: small'] 2021-01-20 16:24:15,275 - 10552 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - WARNING - Failed to do order on Bitfinex. Check API key and network connection. 2021-01-20 16:24:15,276 - 10552 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - NETWORK - Unexpected error while fetching account updates. Traceback (most recent call last): File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 374, in hummingbot.connector.exchange.bitfinex.bitfinex_exchange.BitfinexExchange._status_polling_loop File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 1233, in _update_order_status File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 1209, in list_orders_history TypeError: 'NoneType' object is not iterable 2021-01-20 16:24:15,277 - 10552 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - WARNING - Could not fetch account updates on Bitfinex. 2021-01-20 16:37:30,885 - 10552 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - WARNING - WebSocket ping timed out. Going to reconnect... 2021-01-20 16:37:30,885 - 10552 - hummingbot.connector.exchange.bitfinex.bitfinex_api_order_book_data_source - WARNING - WebSocket ping timed out. Going to reconnect...
2021-01-20 18:14:06,355 - 10552 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - NETWORK - Failed to do order Traceback (most recent call last): File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 489, in _api_do_request File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 492, in hummingbot.connector.exchange.bitfinex.bitfinex_exchange.BitfinexExchange._api_do_request File "site-packages\aiohttp\client_reqrep.py", line 1026, in json aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://api.bitfinex.com/v2/auth/r/orders') 2021-01-20 18:14:06,356 - 10552 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - WARNING - Failed to do order on Bitfinex. Check API key and network connection. 2021-01-20 18:14:06,356 - 10552 - hummingbot.connector.exchange.bitfinex.bitfinex_exchange - NETWORK - Unexpected error while fetching account updates. Traceback (most recent call last): File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 374, in hummingbot.connector.exchange.bitfinex.bitfinex_exchange.BitfinexExchange._status_polling_loop File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 1232, in _update_order_status File "hummingbot\connector\exchange\bitfinex\bitfinex_exchange.pyx", line 1198, in list_orders TypeError: 'NoneType' object is not iterable
2021-01-20 11:17:47,265 - 16916 - hummingbot.connector.exchange.bitfinex.bitfinex_order_book_tracker - ERROR - 'int' object is not iterable 2021-01-20 11:17:47,266 - 16916 - hummingbot.connector.exchange.bitfinex.bitfinex_order_book_tracker - NETWORK - Unexpected error processing order book messages for IOT-USD. Traceback (most recent call last): File "hummingbot\connector\exchange\bitfinex\bitfinex_order_book_tracker.py", line 191, in _track_single_book File "hummingbot\connector\exchange\bitfinex\bitfinex_active_order_tracker.pyx", line 220, in hummingbot.connector.exchange.bitfinex.bitfinex_active_order_tracker.BitfinexActiveOrderTracker.convert_snapshot_message_to_order_book_row File "hummingbot\connector\exchange\bitfinex\bitfinex_active_order_tracker.pyx", line 133, in hummingbot.connector.exchange.bitfinex.bitfinex_active_order_tracker.BitfinexActiveOrderTracker.c_convert_snapshot_message_to_np_arrays TypeError: 'int' object is not iterable 2021-01-20 11:17:47,266 - 16916 - hummingbot.connector.exchange.bitfinex.bitfinex_order_book_tracker - WARNING - Unexpected error processing order book messages. Retrying after 5 seconds.
Steps To Reproduce Run a bot on bitfinex with a simple pure mm script
Here are the steps to reproduce the issue (see attachments in the section below):
Release version 0.35.0
Attachments logs_conf_pure_mm_2_EOS.log logs_conf_pure_mm_2_IOTA.log
Optional: your discord username: Marm#2424
Trying to understand if this is expected behaviour, thanks