Ask Your Question
1

What does the error message "AttributeError: 'RRuleLocator' object lacks 'set_view_interval' attribute" mean in Backtrader?

asked 2021-05-08 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-04-09 22:00:00 +0000

huitzilopochtli gravatar image

The error message "AttributeError: 'RRuleLocator' object lacks 'setviewinterval' attribute" in Backtrader typically means that there is an issue with the RRuleLocator object, particularly with its setviewinterval attribute. The setviewinterval attribute is responsible for setting the start and end dates for the plot view interval. The error suggests that the attribute is absent or missing from the RRuleLocator object, which can indicate a problem with the code implementation or an issue with the version of Backtrader being used. It is important to review the code and ensure that the necessary attributes and libraries are included and up-to-date.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-05-08 11:00:00 +0000

Seen: 1 times

Last updated: Apr 09 '22