Hi,
when I am using SharpeRatio or PeriodStats analyzers with optimization, I get the following error
TypeError: __init__() missing 9 required positional arguments: 'status', 'dt', 'barlen', 'size', 'price', 'value', 'pnl', 'pnlcomm', and 'tz'
Both analyzers are based on TimeReturn which does not give any error if added as analyzer.
Any feedback would be really helpful.
Thanks