Array out of index

20:48:26.383 [Thread-507] INFO  c.s.t.project.ProgressEngine - ================================
20:48:26.384 [Thread-507] INFO  c.s.t.project.ProgressEngine - Starting strategies retesting...
20:48:26.384 [Thread-507] INFO  c.s.t.project.ProgressEngine - Clearing results data
20:48:26.384 [Thread-507] INFO  c.s.t.project.ProgressEngine - Results data cleared
20:48:26.391 [Thread-507] INFO  c.s.t.project.ProgressEngine - Initializing backtest data...
20:48:26.392 [Thread-507] INFO  c.s.t.project.ProgressEngine - Loading backtest data for Main test - EURUSD_M1_ALP / M5
20:48:26.392 [Thread-507] INFO  c.s.t.project.ProgressEngine - Data loaded from memory
20:48:29.114 [Thread-507] INFO  c.s.t.project.ProgressEngine - All backtest data prepared
20:48:29.114 [Thread-507] INFO  c.s.t.project.ProgressEngine - -----------------------------
20:48:36.299 [Blocking computeThread #2 - EU_05_S_7481041] ERROR StatsComputer - Failed to compute stats for combination: 62966, message: null
java.lang.ArrayIndexOutOfBoundsException: null
20:48:36.313 [Blocking computeThread #2 - EU_05_S_7481041] INFO  c.s.t.project.ProgressEngine - Backtest of 'EU_05_S_748104' failed - Failed to compute stats for combination: 62966, message: null
20:48:36.314 [Blocking computeThread #2 - EU_05_S_7481041] ERROR c.s.g.c.p.MultithreadComputePerformer - Error while running task: EU_05_S_7481041(9949756c-fa22-4d88-adfd-4040d3fec3fc))
java.lang.Exception: Failed to compute stats for combination: 62966, message: null
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.Retest.RetestJob.call(Unknown Source) ~[na:na]
at com.strategyquant.plugin.Task.impl.Retest.RetestJob.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: null
20:48:36.314 [Blocking computeThread #2] INFO  c.s.t.project.ProgressEngine - Project finished in 9.93 s.

Attachments
EU_05_S_748104.sqx
(50.71 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

FB
#1

lumbrjack

20.12.2019 23:53

Task created

KL
#2

kainc301

26.12.2019 04:31
can you attach your config file as well?
FB
#3

lumbrjack

26.12.2019 14:34

Attachment Retest.cfx added

The strategy only works on dukascopy data but fails when tested on others data. I´m using Alpari data.
TT
#4

Tamas

16.04.2020 08:44

Status changed from New to In progress


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please