Improve with Longs Only or Shorts Only or Both without symetry errors out

I have built a template in the wizard and am trying to improve it in the builder without symetry or with longs only or with shorts only but I instantly get this error:
12:46:05 Finished in 0s 12:46:05 Project stopped 12:46:05 GRID: Stopping build, job failures (exceptions) exceeded 70%! 12:46:05 Strategy 0.6Strategy 0.6 - Error: com.strategyquant.tradinglib.strategy.xml.XmlStrategyException: Cannot create strategy from XML! Error: No Variable with ID '11111' defined! at SQ.Internal.Rule.initialize(Rule.java:120) at SQ.Internal.Rule.newInstance(Rule.java:92) at SQ.Internal.StrategyEvent.parseXml(StrategyEvent.java:74) at SQ.Internal.StrategyEvent.<init>(StrategyEvent.java:43) at SQ.Internal.XmlStrategy.parseXml(XmlStrategy.java:173) at SQ.Internal.XmlStrategy.callOnInit(XmlStrategy.java:111) at com.strategy finished in 0.04 s.

Builder proceeds only if I turn on symmetry. Sine the entry signal is the same for longs and shorts (not symetrical) I can not turn on symetry or it will destroy the strat.

Attachments
shmenP.sqx
(3.12 KiB)
Annotation 2019-07-05 085326.png
(99.41 KiB)
Buildbug.cfx
(10.11 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

b
#1

bentra

05.07.2019 14:56

Task created

b
#2

bentra

05.07.2019 15:38

Subject changed from Building from template with Longs Only or Shorts Only or Both without symetry errors out to Improve with Longs Only or Shorts Only or Both without symetry errors out

b
#3

bentra

05.07.2019 15:40
Rebulding in the wizard without any short rules did allow me to proceed longs only in the improver.
b
#4

bentra

05.07.2019 15:55
Voted for this task.
MF
#5

Mark Fric

09.08.2019 11:24

Status changed from New to Fixed

Attachment shmenP.sqx added

this was a problem with variable that did not exist for MagicNumber in Short order.


I'm attaching fixed template.


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please