Open pavs94 opened 5 months ago
I tried creating a PR for this fix but unfortunately I don't have the correct permissions. This is the required change in bitmex.py:
if entry['typ'] == 'FFWCSX':
stype = PERPETUAL
expiry = None
elif entry['typ'] == 'FFCCSX':
stype = FUTURES
expiry = entry['expiry']
elif entry['typ'] == 'IFXXXP':
stype = SPOT
expiry = None
else:
LOG.info('Unsupported type %s for instrument %s', entry['typ'], entry['symbol'])
s = Symbol(base, quote, type=stype, expiry_date=expiry)
As BitMEX no longer sends values in the instrument feed if they are null.
Describe the bug Bitmex Trade subscription is crashing with a weird error in the library
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots
Operating System:
Cryptofeed Version