You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Deribit collector errors with KeyError, container just hangs
To Reproduce
Vanilla Deployment of xnode or running the collector with Deribit CEX data source.
Platform V3
Expected behavior
It should pull data from the Deribit API
Screenshots Traceback (most recent call last): File "/src/runner.py", line 84, in <module> main() File "/src/runner.py", line 78, in main run_connector(args.source, args.symbol) File "/src/runner.py", line 11, in run_connector connector = off_chain_mapping[source]( File "/src/l3_atom/data_source.py", line 218, in __init__ super().__init__(symbols=symbols) File "/src/l3_atom/data_source.py", line 58, in __init__ self.symbols = self.normalise_symbols(sym_list) File "/src/l3_atom/off_chain/deribit.py", line 35, in normalise_symbols symbol_type = 'perpetual' if t['settlement_period'] == 'perpetual' else t['kind'] KeyError: 'settlement_period'
Desktop (please complete the following information):
Container Tag: gdafund/collector:20230406.7
Xnode: V3
Additional context
Property tagging and release versioning would assist this project going forward.
The text was updated successfully, but these errors were encountered:
Describe the bug
Deribit collector errors with KeyError, container just hangs
To Reproduce
Vanilla Deployment of xnode or running the collector with Deribit CEX data source.
Platform V3
Expected behavior
It should pull data from the Deribit API
Screenshots
Traceback (most recent call last): File "/src/runner.py", line 84, in <module> main() File "/src/runner.py", line 78, in main run_connector(args.source, args.symbol) File "/src/runner.py", line 11, in run_connector connector = off_chain_mapping[source]( File "/src/l3_atom/data_source.py", line 218, in __init__ super().__init__(symbols=symbols) File "/src/l3_atom/data_source.py", line 58, in __init__ self.symbols = self.normalise_symbols(sym_list) File "/src/l3_atom/off_chain/deribit.py", line 35, in normalise_symbols symbol_type = 'perpetual' if t['settlement_period'] == 'perpetual' else t['kind'] KeyError: 'settlement_period'
Desktop (please complete the following information):
Container Tag: gdafund/collector:20230406.7
Xnode: V3
Additional context
Property tagging and release versioning would assist this project going forward.
The text was updated successfully, but these errors were encountered: