We should probably check instruments' names spelling before subscription for Bitmex as well for Bybit.
2024-05-21 15:59:49,584 - root - INFO -
hello
2024-05-21 15:59:49,587 - api.bitmex.ws - INFO - (https) sending GET to instrument/active: ""
2024-05-21 15:59:49,838 - api.bitmex.agent - ERROR - Unknown symbol: ('BTCUSD', 'inverse', 'Bitmex'). Check the SYMBOLS in the .env.Bitmex file. Perhaps the name of the symbol does not correspond to the category or such symbol does not exist.
connect 6 Bitmex
connect 7 Bitmex
2024-05-21 15:59:49,839 - root - ERROR - Sqlite Error: no such column: None)
Traceback (most recent call last):
File "/Users/nrmn/Documents/tmatic_240521/main.py", line 9, in
connect.setup()
File "/Users/nrmn/Documents/tmatic_240521/connect.py", line 38, in setup
finish_setup(Markets[name])
File "/Users/nrmn/Documents/tmatic_240521/connect.py", line 96, in finish_setup
common.Init.account_balances(ws)
File "/Users/nrmn/Documents/tmatic_240521/common/init.py", line 112, in account_balances
symbols = list(map(lambda x: (x["SYMBOL"], x["CATEGORY"], self.name), data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
We should probably check instruments' names spelling before subscription for Bitmex as well for Bybit.
2024-05-21 15:59:49,584 - root - INFO -
hello
2024-05-21 15:59:49,587 - api.bitmex.ws - INFO - (https) sending GET to instrument/active: "" 2024-05-21 15:59:49,838 - api.bitmex.agent - ERROR - Unknown symbol: ('BTCUSD', 'inverse', 'Bitmex'). Check the SYMBOLS in the .env.Bitmex file. Perhaps the name of the symbol does not correspond to the category or such symbol does not exist. connect 6 Bitmex connect 7 Bitmex 2024-05-21 15:59:49,839 - root - ERROR - Sqlite Error: no such column: None) Traceback (most recent call last): File "/Users/nrmn/Documents/tmatic_240521/main.py", line 9, in
connect.setup()
File "/Users/nrmn/Documents/tmatic_240521/connect.py", line 38, in setup
finish_setup(Markets[name])
File "/Users/nrmn/Documents/tmatic_240521/connect.py", line 96, in finish_setup
common.Init.account_balances(ws)
File "/Users/nrmn/Documents/tmatic_240521/common/init.py", line 112, in account_balances
symbols = list(map(lambda x: (x["SYMBOL"], x["CATEGORY"], self.name), data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable