-
Notifications
You must be signed in to change notification settings - Fork 234
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
Authorization Issue #5
Comments
Are you using the API keys for Live Trading or Paper Trading? This trading algorithm uses the Polygon streaming API which requires API keys generated for Live Trading. This is so the hft algorithm can stream data via NATS streaming through Polygon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could be something silly, but I keep receiving an authorization issue when running tick_taker.py.
Traceback (most recent call last): File "/root/anaconda3/lib/python3.6/site-packages/nats/aio/client.py", line 285, in connect yield from self._process_connect_init() File "/root/anaconda3/lib/python3.6/site-packages/nats/aio/client.py", line 1556, in _process_connect_init raise NatsError("nats: " + err_msg.rstrip('\r\n')) nats.aio.errors.NatsError: nats: 'Authorization Violation'
I've tried entering my key and secret on both the commandline as arguments to the python script, and setting them as environment variables. The key and secret exactly match what I see in the web interface.
Any ideas?
The text was updated successfully, but these errors were encountered: