Skip to content
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

Code doesn't run #16

Open
oneshotbob opened this issue Mar 30, 2021 · 8 comments
Open

Code doesn't run #16

oneshotbob opened this issue Mar 30, 2021 · 8 comments

Comments

@oneshotbob
Copy link

When I run the code exactly as is I get the following message

2021-03-30 08:58:25,672:rest.py:142:WARNING:alpaca_trade_api.rest:sleep 3 seconds and retrying https://data.alpaca.markets/v2/stocks/TSLA/bars 3 more time(s)...

The message just repeats over and over again and nothing happens.

@bibib2211
Copy link

same here

@bjacobo20
Copy link

yup same here. I did notice that if you use api.get_quotes instead of api.get_bars, it doesnt show that error. But of course, the code would need to be changed to use bar data.

@juanrossxo
Copy link

Same here.. Anyone get a fix? Odd that Alpaca publishes these cool articles and doesn't have workable code with v2 API..

@rahulmr
Copy link

rahulmr commented May 4, 2021

Same issue how to fix this??

@camelpac
Copy link
Contributor

camelpac commented Jun 1, 2021

Hi guys,
this code example doesn't work with the free accounts since in the free account you have a 15 minute delay (so you cannot do scalping).

@babu2306
Copy link

is this code working?...

@alphadog2015
Copy link

Is anyone running this code succesfully?

Thanks

@hriday2771
Copy link

The code does not run even with the Pro subscription, please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants