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 really like your scalping strategy and Python implementation!
I have a live account and a paper account, and regularly work with Polygon. However, when I try to run your code with my paper account, I get the following error:
c:\users\gil\envs\utils\lib\site-packages\alpaca_trade_api\stream2.py in _connect(self)
44 status = msg.get('data').get('status')
45 if status != 'authorized':
---> 46 raise ValueError(
47 (f"Invalid Alpaca API credentials, Failed to "
48 f"authenticate: {msg}")
ValueError: Invalid Alpaca API credentials, Failed to authenticate: {'stream': 'authorization', 'data': {'action': 'authenticate', 'message': 'access key verification failed', 'status': 'unauthorized'}}
I really like your scalping strategy and Python implementation!
I have a live account and a paper account, and regularly work with Polygon. However, when I try to run your code with my paper account, I get the following error:
-- this is despite the fact my account is active:
Can you please advise?
Thanks,
Gil
The text was updated successfully, but these errors were encountered: