Hi.
I used the code from https://github.com/alpacahq/example-hftish\tick_taker.py
I created key_id and secret_key on Alpaca Dashboard.
I don’t have live trading account.
…
args.key_id = ‘PKKZYL5NHY81YGMFDP53’
args.secret_key = ‘HeuDduUJt8kG2UqFrETG7a7N3T7K1Tp5Rzw2UdKg’
args.base_url = ‘https://paper-api.alpaca.markets’
…
Error is like below:
ValueError: Invalid Polygon credentials, Failed to authenticate: {‘ev’: ‘status’, ‘status’: ‘auth_failed’, ‘message’: ‘authentication failed’}
Any help is appreciated.