Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo_liquidations.py throws error because of Deribit #988

Open
idclevxx opened this issue Jul 31, 2023 · 0 comments
Open

demo_liquidations.py throws error because of Deribit #988

idclevxx opened this issue Jul 31, 2023 · 0 comments
Labels

Comments

@idclevxx
Copy link

Describe the bug

DERIBIT: Failed to parse symbol information: 'settlement_period'
Traceback (most recent call last):
  File "/folder/.venv/lib/python3.9/site-packages/cryptofeed/exchange.py", line 105, in symbol_mapping
    syms, info = cls._parse_symbol_data(data if len(data) > 1 else data[0])
  File "/folder/.venv/lib/python3.9/site-packages/cryptofeed/exchanges/deribit.py", line 62, in _parse_symbol_data
    stype = e['kind'] if e['settlement_period'] != 'perpetual' else PERPETUAL
KeyError: 'settlement_period'

To Reproduce
Run code just as in example.

Operating System:

  • MacOS Venture 13.4.1

Cryptofeed Version

  • Latest, pypi
@idclevxx idclevxx added the bug label Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant