Backtest of strategy says "Backtest of 'XYZ' failed - empty String"

I have generated some strategies in the latest build of SQX and suddenly I can't retest them. I'm attaching the strategy and the error log. Can you help me find out what is wrong please? The error says "Backtest of 'GBPCHF H1 51110354' failed - empty String"
Attachments
log_2023_09_17.log
(644.95 KiB)
GBPCHF_H1_51110354.sqx
(218.32 KiB)
  • Votes +2
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

mb
#1

Michal Brauner

18.09.2023 12:43

Task created

E
#2

Emmanuel

20.09.2023 14:52
Voted for this task.
mb
#3

Michal Brauner

24.09.2023 16:59
Voted for this task.
TT
#4

Tamas

03.10.2023 10:15

Status changed from New to Fixed

Attachment image-0.png added

Attachment image-1.png added

image-0.png
(486.81 KiB)
image-1.png
(521.46 KiB)
Thanks for reporting the bug.


The problem is that MagicNumber variable is not set in your strategy file. 

Please go to AW, load the strategy and set MagicNumber variable to 11111.

After that change it works fine.


 I have also improved the log message, instead of 'empty string' it returns 

Error while parsing rule 'Long entry' - Failed to set param 'EnterAtLimit/MagicNumber', value ''.



Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please