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
To Reproduce
Comment in/out exchanges to add Bybit/Bitmex/Deribit
def writer(addr, port):
f = FeedHandler()
configured = []
# exchanges = {'BINANCE_FUTURES', 'BYBIT', 'BITMEX', 'DERIBIT}
exchanges = {'BINANCE_FUTURES'}
print("Querying exchange metadata...")
for exchange_string, exchange_class in EXCHANGE_MAP.items():
if exchange_string in exchanges:
print(exchange_class.info()['channels']['websocket'])
if LIQUIDATIONS in exchange_class.info()['channels']['websocket']:
configured.append(exchange_string)
print(exchange_string)
symbols = [sym for sym in exchange_class.symbols() if 'PINDEX' not in sym]
f.add_feed(exchange_class(subscription={LIQUIDATIONS: symbols}, callbacks={LIQUIDATIONS: LiquidationsSocket(addr, port=port)}), timeout=600)
print("Starting feedhandler for exchanges:", ', '.join(configured))
f.run()
if __name__ == '__main__':
freeze_support()
p = Process(target=writer, args=('udp://127.0.0.1', 12321))
p.start()
Operating System:
Windows 10
Cryptofeed Version
2.4.0
The text was updated successfully, but these errors were encountered:
Describe the bug
It fails to connect
To Reproduce
Comment in/out exchanges to add Bybit/Bitmex/Deribit
Operating System:
Cryptofeed Version
The text was updated successfully, but these errors were encountered: