-
Notifications
You must be signed in to change notification settings - Fork 147
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
tzinfo error with version 0.10.0 #107
Comments
I'm having the same issue, but it works just fine outside the virtual env. |
I have the same issue. Brand new python env. |
Hi, the issue is fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
with paper trading live (tested with strategy_sma_crossover.py):
File ".../alpaca_backtrader_api/alpacastore.py", line 405, in _t_candles
cdl = self.get_aggs_from_alpaca(dataname,
File ".../alpaca_backtrader_api/alpacastore.py", line 659, in get_aggs_from_alpaca
response = _iterate_api_calls()
File ".../alpaca_backtrader_api/alpacastore.py", line 590, in _iterate_api_calls
if earliest_sample <= pytz.timezone(NY).localize(start):
File ".../pytz/tzinfo.py", line 318, in localize
raise ValueError('Not naive datetime (tzinfo is already set)')
ValueError: Not naive datetime (tzinfo is already set)
Version 0.8.0 worked.
Thanks
The text was updated successfully, but these errors were encountered: