Hello,
There is a bug in total trading days:
java.lang.Exception: Failed to compute stats for combination: 62966, message: Index -1 out of bounds for length 0
at com.strategyquant.tradinglib.results.stats.StatsComputer.computeStats(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.Result.computeComputeStats(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.Result.computeSubSubStats(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.Result.computeSubStats(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.Result.computeAllStats(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.ResultsMap.computeAllStats(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.ResultsGroup.computeAllStats(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.engine.BacktestEngine.computeResults(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.engine.BacktestEngine.runBacktest(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.backtestrunner.BacktestRunner.backtestStrategy(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.backtestrunner.BacktestRunner.runBacktestOnMainSetup(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.backtestrunner.BacktestRunner.execute(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.backtestrunner.BacktestRunner.execute(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.plugin.Task.impl.AutomaticRetest.AutomaticRetestJob.call(Unknown Source) ~[na:na]
at com.strategyquant.plugin.Task.impl.AutomaticRetest.AutomaticRetestJob.call(Unknown Source) ~[na:na]
at com.strategyquant.gridlib.compute.performer.MultithreadComputePerformer$1.run(Unknown Source) ~[SQGridLib2.jar:na]
at com.strategyquant.gridlib.concurrent.ThreadPool$TaskExecutor.run(Unknown Source) ~[SQGridLib2.jar:na]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 0
at SQ.Columns.Databanks.TotalTradingDays.compute(TotalTradingDays.java:107) ~[na:na]
at com.strategyquant.tradinglib.DatabankColumn.compute(Unknown Source) ~[SQTradingLib.jar:na]
at com.strategyquant.tradinglib.results.stats.StatsComputer.computeStatValues(Unknown Source) ~[SQTradingLib.jar:na]
... 18 common frames omitted