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
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:
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.
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: