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

Exception when alpacka-backtrader-api client is connected #17

Open
cloud-rocket opened this issue Nov 3, 2022 · 1 comment
Open

Exception when alpacka-backtrader-api client is connected #17

cloud-rocket opened this issue Nov 3, 2022 · 1 comment

Comments

@cloud-rocket
Copy link

2022-11-03 19:22:15,758 root Alpaca Proxy Agent v1.0.1
2022-11-03 19:22:15,758 root Using the Alpaca Websocket
2022-11-03 19:22:15,758 root Connecting to the paper account endpoint
2022-11-03 19:22:15,758 root Using the free subscription plan(iex)
2022-11-03 19:22:42,767 root Subscribing to: {'quotes': ['META']}
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "main.py", line 50, in consumer_thread
    subscribe(channels)
  File "main.py", line 56, in subscribe
    conn.subscribe_trades(on_message, *channels['trades'])
KeyError: 'trades'

Any idea?

@kang205
Copy link

kang205 commented Jul 21, 2023

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants