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
I am trying to pass the config file as a dictionary to the FeedHandler as stated in the Settings section of the config.md
(https://github.com/bmoscon/cryptofeed/blob/master/docs/config.md) to make it consistent with the config.yaml template.
However, I can't get data output. The error is the following:
File "/usr/local/lib/python3.9/dist-packages/cryptofeed/feedhandler.py", line 120, in add_nbbo
self.add_feed(feed(channels=[L2_BOOK], symbols=symbols, callbacks={L2_BOOK: cb}, config=config))
File "/usr/local/lib/python3.9/dist-packages/cryptofeed/exchanges/kucoin.py", line 64, in init
super().init(**kwargs)
File "/usr/local/lib/python3.9/dist-packages/cryptofeed/feed.py", line 109, in init
raise ValueError("Authenticated channel subscribed to, but no auth keys provided")
ValueError: Authenticated channel subscribed to, but no auth keys provided
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to pass the config file as a dictionary to the FeedHandler as stated in the Settings section of the config.md
(https://github.com/bmoscon/cryptofeed/blob/master/docs/config.md) to make it consistent with the config.yaml template.
However, I can't get data output. The error is the following:
File "/usr/local/lib/python3.9/dist-packages/cryptofeed/feedhandler.py", line 120, in add_nbbo
self.add_feed(feed(channels=[L2_BOOK], symbols=symbols, callbacks={L2_BOOK: cb}, config=config))
File "/usr/local/lib/python3.9/dist-packages/cryptofeed/exchanges/kucoin.py", line 64, in init
super().init(**kwargs)
File "/usr/local/lib/python3.9/dist-packages/cryptofeed/feed.py", line 109, in init
raise ValueError("Authenticated channel subscribed to, but no auth keys provided")
ValueError: Authenticated channel subscribed to, but no auth keys provided
The following is the implemention:
Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions