We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Charts would plot in same timezone as the data.
Charts are plotted in UTC, even though the source data was tz-aware of the form: 2023-06-15 08:30:00-05:00
The text was updated successfully, but these errors were encountered:
Any way to get the expected behaviour?
Sorry, something went wrong.
backtesting.py/backtesting/_plotting.py
Lines 209 to 210 in d4ec0ba
Lines 249 to 260 in d4ec0ba
So we either need to convert df['datetime'] to real UTC, or fix DatetimeTickFormatter to additionally format "%z". 🤔
df['datetime']
DatetimeTickFormatter
"%z"
No branches or pull requests
Expected Behavior
Charts would plot in same timezone as the data.
Actual Behavior
Charts are plotted in UTC, even though the source data was tz-aware of the form: 2023-06-15 08:30:00-05:00
The text was updated successfully, but these errors were encountered: