B128 dev testing: Error when generating from strategy template

Created a strategy template in B128 and getting the following error in both B128 and B127:



"com.strategyquant.tradinglib.generator.GenerateException: No available value blocks found for chart #0"



Checked the following:


Blocks - all conditions with a Chart parameter are set to Chart and the parameter is set to 0 (zero)
Groups - all Chart settings are "Current / Main TF"
Template - all Chart settings are "Current / Main TF"


Attached the log, project, template, groups and blocks.


Tried running SQX with the debug mode on but that didn't make a difference. Going to mention this again - please can some improvements be made to the log so that we can see more specifically where errors are being generated? I've had to check dozens of blocks to try and isolate the issue and this number is only going to grow...

Attachments
customBlocks.xml
(145.91 KiB)
project.cfx
(80.77 KiB)
st_trd_fbEn_v04.sqx
(4.05 KiB)
blockGroups.xml
(16.07 KiB)
Log.txt
(3.86 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

PJ
#1

gottogethelp

08.05.2020 14:35

Task created

PJ
#2

gottogethelp

09.05.2020 15:41
Ok so things got even weirder with this. I've been trying to isolate which custom block was causing the issue. It turns out that it's not any particular block - this template always fails with the chart #0 error whenever there are two or more rules in a random group.
PJ
#3

gottogethelp

10.05.2020 16:14

Attachment customBlocks - test.xml added

Attachment test.sqx added

Been doing some more testing by rebuilding one of the random groups from the ground up. I also added in a couple of other additional signals - an Aroon one and a DeMarker one. The template errors with exactly the same error but I've found removing the Aroon signal makes it run fine. HOWEVER, the original template never had a random group with an Aroon indicator in it so the problem can't be with only that signal. I've attached the latest template and random group I've been testing.
h
#4

hankeys

10.05.2020 19:42
Voted for this task.
PJ
#5

gottogethelp

11.05.2020 19:01
Now getting a different error with the full release version of B128:


com.strategyquant.tradinglib.generator.GenerateException: Cannot find Replacement ID for Random parameter!


I've gone through every [standard signal] condition in the random group and they're all assigned and look ok

MF
#6

Mark Fric

28.05.2020 11:10

Status changed from New to In progress

MF
#7

Mark Fric

29.05.2020 12:13

Status changed from In progress to Fixed

there were several issues with templates and custom blocks, we hopefully fixed them all

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