Hi,
I would like to access the strategy parameters for a project I am working on.
However when trying to do so, I get the following:
ort.Test.params
Out[25]: backtrader.metabase.AutoInfoClass_LineRoot_LineMultiple_LineSeries_LineIterator_DataAccessor_StrategyBase_Strategy_Test1
So as a workaround, I put my parameters in a dictionary "parameters" and then passed these parameters as a tuple to params, see below:
parameters = {'param1': 1}
params = tuple(parameters.items())
This seems to be working but I am curious to know if there is a better/more elegant way of doing this?
Thanks!