SQX 113 - Improve existing strategy fails with error

Took at existing single time-frame M5 strategy to improve entry rules (attached).



Fails with error:


21:43:09 Finished in 5s 21:43:09 Project stopped 21:43:09 GRID: Stopping build, job failures (exceptions) exceeded 70%! 21:43:09 Strategy 0.1Strategy 0.1 - Error: java.lang.NoClassDefFoundError: SQ/Internal/StrategyEvent at SQ.Internal.XmlStrategy.parseXml(XmlStrategy.java:159) at SQ.Internal.XmlStrategy.callOnInit(XmlStrategy.java:110) at com.strategyquant.tradinglib.engine.TradingSetup.start(Unknown Source) at com.strategyquant.tradinglib.engine.BacktestEngine.initializeBacktest(Unknown Source) at com.strategyquant.tradinglib.engine.BacktestEngine.runBacktest(Unknown Source) at com.strategyquant.tradinglib.backtestrunner.BacktestRunner.backt finished in 0.06 s. 21:43:09 Strategy 0.4Strategy 0.4 - Error: java.lang.NoClassDefFoundError: SQ/Internal/StrategyEvent at SQ.Internal.XmlStrategy.parseXml(XmlStrategy.java:159) at SQ.Internal.XmlStrategy.callOnInit(XmlStrategy.java:110) at com.strategyquant.tradinglib.engine.TradingSetup.start(Unknown Source) at com.strategyquant.tradinglib.engine.BacktestEngine.initializeBacktest(Unknown Source) at com.strategyquant.tradinglib.engine.BacktestEngine.runBacktest(Unknown Source) at com.strategyquant.tradinglib.backtestrunner.BacktestRunner.backt finished in 0.07 s. 21:43:09 Created new batch of strategies, evaluating them... 21:43:09 Strategy 0.2Strategy 0.2 - Error: java.lang.NoClassDefFoundError: SQ/Internal/StrategyEvent at SQ.Internal.XmlStrategy.parseXml(XmlStrategy.java:159) at SQ.Internal.XmlStrategy.callOnInit(XmlStrategy.java:110) at com.strategyquant.tradinglib.engine.TradingSetup.start(Unknown Source) at com.strategyquant.tradinglib.engine.BacktestEngine.initializeBacktest(Unknown Source) at com.strategyquant.tradinglib.engine.BacktestEngine.runBacktest(Unknown Source) at com.strategyquant.tradinglib.backtestrunner.BacktestRunner.backt finished in 0.06 s. 21:43:09 Created new batch of strategies, evaluating them... 21:43:08 Starting strategies generation... 21:43:08 Test run finished ok 21:43:08 Loading data and starting test run... 21:43:08 ----------------------------- 21:43:08 All backtest data prepared 21:43:06 Precomputed MarketData in 1.5850 s. 21:43:04 Loaded to memory in 0.7800 s., memory: 169 MB 21:43:03 Loading backtest data for Main test - EURUSD_Dukascopy / M5 21:43:03 Initializing backtest data...



Attached is build.cfx

Attachments
Build.cfx
(23.42 KiB)
2018104Strategy 012732.sqx
(36.47 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

m
#1

mikeyc

28.10.2018 22:50

Task created

MF
#2

Mark Fric

29.10.2018 14:32

Status changed from New to Waiting for information

this doesn't look like Improver issue. The error message says that it cannot load StrategyEvent class, which means that Snippets were most probably not compiled properly.


Did you see any error message when you started SQ? If not, do you see any errors if you start normal build (not improver) ?



MF
#3

Mark Fric

06.11.2018 13:17

Status changed from Waiting for information to Fixed


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