java.lang.Exception: Failed to load data. Reason: 1
at com.strategyquant.plugin.Analyzer.impl.OpenBalances.logic.DataLoader.readData(DataLoader.java:61)
at com.strategyquant.plugin.Analyzer.impl.OpenBalances.logic.DataLoader.load(DataLoader.java:89)
at com.strategyquant.plugin.Analyzer.impl.OpenBalances.logic.OpenBalancesTask.loadSymbolsData(OpenBalancesTask.java:321)
at com.strategyquant.plugin.Analyzer.impl.OpenBalances.logic.OpenBalancesTask.doInBackground(OpenBalancesTask.java:107)
at com.strategyquant.plugin.Analyzer.impl.OpenBalances.logic.OpenBalancesTask.doInBackground(OpenBalancesTask.java:44)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at com.strategyquant.plugin.Analyzer.impl.OpenBalances.logic.DataLoader.readData(DataLoader.java:44)
... 10 more
It was generated when I tried to compute Open Balances for a strategy that runs on 5 pairs. The M1 data were exported to the proper folder by StrategyQuant using Generic Bar (CSV) format.
The JAVA update on my computer is the latest available (just updated to the last version before I run the compute).
Yaron
eg.
2006.01.03,02:01:00,0.85208,0.8522,0.85208,0.8522,8
If you still have a problem with loading the data please attach the problematic file.