-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Here you can find a link for new backtrader with 3 commits !! You can post your commits in my repository - I will apply them! #472
Conversation
How can I open an issue? |
hi! Please write here your issue. |
this is my code:
and this is from csvgeneric.py:
I see that for each candle, dt, dtin and dtnum are correct. dteosnum is the same all the time, and larger than dtnum, so dteosnum is the one assigned to the next candle (self.lines.datetime[0]). So all candles get the same time. |
Hi! I think you are already solved your problem))
so, _date is different for tickers. You can ask me on my youtube: https://www.youtube.com/channel/UCfxnN0xALQR6OtznIj35ypQ |
ERROR: __len__() should return >= 0 on live feed fixed
''' locator.set_view_interval(*self.axis.get_view_interval()) locator.set_data_interval(*self.axis.get_data_interval()) ''' set_view_interval and set data_interval had been deprecated after matplotlib 3.6.x
Update locator.py
…of Locators and Formatters (and their common base class, TickHelper) are removed. in matplotlib 3.7.0 https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.7.0.html
By this link https://github.com/WISEPLAT/backtrader you can suggest your commits, I will apply them ASAP.
This suggestion is made here, because of no one here doesn't want to continue this cool project!
1st commit: Option to change background for plotted value tags for dark theme - to get dark theme)))
When you use dark theme you need to change background for plotted value tags.
2nd commit: Fix: In last Python versions collections.Iterable -> collections.abcIterable - to work with Python 3.11+
Please review and approve it if you have time.
**3rd commit: Fix: The set_view_interval, set_data_interval ... are removed. Now you can work with matplotlib > 3.6.x
Thanks.