example-scalping icon indicating copy to clipboard operation
example-scalping copied to clipboard

Forbidden URL: Doesn't work with new API

Open ya332 opened this issue 3 years ago • 2 comments

Hello,

I can't get the script to run due to the upgrade to the API: When I run python main.py --lot=2000 TSLA FB AAPL , I get

requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://data.alpaca.markets/v1/aggs/ticker/TSLA/range/1/minute/2021-03-01/2021-03-02

ya332 avatar Mar 01 '21 15:03 ya332

@ya332 - an Alpaca PM let me know today that they are working on updating all of these.

nickjohnson22 avatar Mar 02 '21 19:03 nickjohnson22

Hi @ya332, is this now working as expected?

camelpac avatar Jun 01 '21 18:06 camelpac