For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Can't use cerebro.optstrategy()
-
I am using the latest version of backtrader with Python 3.10 and PyCharm. I am trying to test ranges of indicator variables over sets of historical data. I have found online and in YouTube videos several examples of how to do this. All involve the use of cerebro.optstrategy() and all fail when I try to run them. The only suggested fix I could find on the internet was "change to Python version 3.8."
Two questions:
Is there another way to optimize using 3.10 and if not,
will downgrading to 3.8 create other problems?