evgrmn / tmatic

Tmatic is a cryptocurrency platform designed for automated trading on the Bitmex, Bybit and Deribit crypto exchanges.
https://www.tmatic.org
GNU General Public License v3.0
25 stars 6 forks source link

Error occurred at 20:00 UTC #261

Closed nikolayromenskiy closed 1 month ago

nikolayromenskiy commented 1 month ago

2024-07-25 20:00:00,256 - functions - INFO - Emboldening SQLite ___keys {'instrument': ['symbol', 'market'], 'execution': ['execID'], 'orderBook10': ['symbol', 'market'], 'margin': ['currency', 'market'], 'position': ['account', 'symbol', 'market']} 2024-07-25 20:00:01,314 - api.bitmex.ws - ERROR - Traceback (most recent call last): File "/home/rmn/tmatic_240725/api/bitmex/ws.py", line 301, in on_message self.transaction(row=val) File "/home/rmn/tmatic_240725/functions.py", line 344, in transaction Function.funding_display(self, message) File "/home/rmn/tmatic_240725/functions.py", line 650, in funding_display category=val["CATEGORY"], KeyError: 'CATEGORY'

___keys {'instrument': ['symbol', 'market'], 'execution': ['execID'], 'orderBook10': ['symbol', 'market'], 'margin': ['currency', 'market'], 'position': ['account', 'symbol', 'market']} 2024-07-25 20:00:01,333 - api.bitmex.ws - ERROR - Traceback (most recent call last): File "/home/rmn/tmatic_240725/api/bitmex/ws.py", line 301, in on_message self.transaction(row=val) File "/home/rmn/tmatic_240725/functions.py", line 344, in transaction Function.funding_display(self, message) File "/home/rmn/tmatic_240725/functions.py", line 650, in funding_display category=val["CATEGORY"], KeyError: 'CATEGORY'

evgrmn commented 1 month ago

This bug was already fixed in some previous commit, probably within an hour of this issue appearing. Hopefully everything works fine now.