"Improve Existing Strategy" acting weirdly

"Improve Existing Strategy" doesn't seem to work. I've selecte a strategy, set 'Parts to Improve' to 'Add', chosen some building blocks and hit Start. And all I get is hundreds of identical strategies - identical to the one that is supposed to be improved.
Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

r
#1

rjay

31.05.2018 22:52

Task created

r
#2

rjay

01.06.2018 19:50
In RC3 this now gives lots of error like this:


18:48:21.800 [ComputeThread - 3 - Strategy 0.2] ERROR c.s.g.c.p.MultithreadComputePerformer - Error while running task: Strategy 0.2

com.strategyquant.tradinglib.strategy.xml.XmlStrategyException: Cannot create strategy from XML! Error: No Variable with ID '' defined!

at SQ.Internal.Rule.initialize(Rule.java:97) ~[na:na]

at SQ.Internal.Rule.newInstance(Rule.java:84) ~[na:na]

at SQ.Internal.StrategyEvent.parseXml(StrategyEvent.java:74) ~[na:na]

at SQ.Internal.StrategyEvent.<init>(StrategyEvent.java:43) ~[na:na]

at SQ.Internal.XmlStrategy.parseXml(XmlStrategy.java:164) ~[na:na]

at SQ.Internal.XmlStrategy.callOnInit(XmlStrategy.java:115) ~[na:na]

at com.strategyquant.tradinglib.engine.TradingSetup.start(Unknown Source) ~[SQTradingLib.jar:na]

at com.strategyquant.tradinglib.engine.BacktestEngine.initializeBacktest(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.Build.BuilderJob.call(Unknown Source) ~[na:na]

at com.strategyquant.plugin.Task.impl.Build.BuilderJob.call(Unknown Source) ~[na:na]

at com.strategyquant.gridlib.compute.performer.MultithreadComputePerformer$1.run(Unknown Source) [SQGridLib2.jar:na]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131]

at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]

Caused by: com.strategyquant.tradinglib.blocks.BlockDefinitionException: No Variable with ID '' defined!

at com.strategyquant.tradinglib.blocks.ParameterAnnotationParser.wizardParsePrimitiveType(Unknown Source) ~[SQTradingLib.jar:na]

at com.strategyquant.tradinglib.blocks.ParameterAnnotationParser.wizardParseXml(Unknown Source) ~[SQTradingLib.jar:na]

at com.strategyquant.tradinglib.blocks.AnnotationProcessor.wizardParseXml(Unknown Source) ~[SQTradingLib.jar:na]

at SQ.Internal.StandardBlock.parseXml(StandardBlock.java:202) ~[na:na]

at SQ.Internal.StandardBlock.initialize(StandardBlock.java:174) ~[na:na]

at SQ.Internal.ActionBlock.initialize(ActionBlock.java:61) ~[na:na]

at SQ.Internal.StandardBlock.newInstance(StandardBlock.java:64) ~[na:na]

at SQ.Internal.ActionBlock.newInstance(ActionBlock.java:36) ~[na:na]

at com.strategyquant.tradinglib.blocks.Blocks.getBlockObject(Unknown Source) ~[SQTradingLib.jar:na]

at SQ.Internal.Rule.parseBlocksInRulePart(Rule.java:123) ~[na:na]

at SQ.Internal.Rule.parseXml(Rule.java:109) ~[na:na]

at SQ.Internal.RulesImpl.IfThen.parseXml(IfThen.java:86) ~[na:na]

at SQ.Internal.Rule.initialize(Rule.java:95) ~[na:na]

... 18 common frames omitted

TB
#3

Tomas Brynda

11.12.2018 07:56

Status changed from New to Fixed

We fixed a lot of bugs since RC3. If the problem still persists in a latest build, please reopen this issue and attach the problematic strategy.

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