1/ We have multiple brackets discrepancies between the template (Image 1) and the produced strategies from the template (Image 2) .
- In this case, it will add more brackets. (Please see attached "Test Template 4", and the produced attached strategy : "Strategy 2.1.27" )
- In other case, it will remove brackets or/and add brackets (in the case of https://roadmap.strategyquant.com/tasks/algw_000762, you will find a test template, "Template 3", as well to produce this error )
2/ We have multiple code brackets discrepancies between the template (Image 1) and the code of the produced strategies from the template (Image 3) .
- if we read the code, there is multiple opening brackets at the beginning of the condition and we should not have them.
- the opening brackets are missing at each Or condition
- The signal wont be triggered as it should be, because the builder is not reading the template correctly
We need to have the same brackets in the code as in the template and as in the produced strategies.
3/ We do not need automatic brackets creation , if we select OR condition, because most of the time we have to adjust them as there is many possibilities.
4/ If we add directly the brackets and the OR condition, Algowizard wont take it directly, we have to let Algowizard put first the automatic brackets. Please see : https://roadmap.strategyquant.com/tasks/algw_000756
This is Urgent, we can not use Algowizard with these bugs, because the template can not produce the signal as it should .
Please see the video and attached captures :
https://drive.proton.me/urls/D4VVM2A1TM#jqVQcV6xbKoG
Description changed:
1/ We have multiple brackets discrepancies between the template (Image 1) and the produced strategies from the template (Image 2) .
- In this case, it will add more brackets. (Please see attached "Test Template 4", and the produced attached strategy : "Strategy 2.1.27" )
- In other case, it will remove brackets or/and add brackets (in the case of https://roadmap.strategyquant.com/tasks/algw_000762, you will find a test template, "Template 3", as well to produce this error )
2/ We have multiple code brackets discrepancies between the template (Image 1) and the code of the produced strategies from the template (Image 3) .
- if we read the code, there is multiple opening brackets at the beginning of the condition and we should not have them.
- the opening brackets are missing at each Or condition
- The signal wont be triggered as it should be, because the builder is not reading the template correctly
We need to have the same brackets in the code as in the template and as in the produced strategies.
3/ We do not need automatic brackets creation , if we select OR condition, because most of the time we have to adjust them as there is many possibilities.
4/ If we add directly the brackets and the OR condition, Algowizard wont take it directly, we have to let Algowizard put first the automatic brackets. Please see : https://roadmap.strategyquant.com/tasks/algw_000756
This is Urgent, we can not use Algowizard with these bugs, because the template can not produce the signal as it should .
Please the video and attached captures :
https://drive.proton.me/urls/D4VVM2A1TM#jqVQcV6xbKoG
Subject changed from [Build 137RC1-2] (Urgent) Multiple brackets discrepancies, Multiple brackets code discrepancies to [Build 137RC1-2] (Urgent) Multiple Strategies/Template brackets discrepancies, Multiple Code brackets discrepancies
Description changed:
1/ We have multiple brackets discrepancies between the template (Image 1) and the produced strategies from the template (Image 2) .
- In this case, it will add more brackets. (Please see attached "Test Template 4", and the produced attached strategy : "Strategy 2.1.27" )
- In other case, it will remove brackets or/and add brackets (in the case of https://roadmap.strategyquant.com/tasks/algw_000762, you will find a test template, "Template 3", as well to produce this error )
2/ We have multiple code brackets discrepancies between the template (Image 1) and the code of the produced strategies from the template (Image 3) .
- if we read the code, there is multiple opening brackets at the beginning of the condition and we should not have them.
- the opening brackets are missing at each Or condition
- The signal wont be triggered as it should be, because the builder is not reading the template correctly
We need to have the same brackets in the code as in the template and as in the produced strategies.
3/ We do not need automatic brackets creation , if we select OR condition, because most of the time we have to adjust them as there is many possibilities.
4/ If we add directly the brackets and the OR condition, Algowizard wont take it directly, we have to let Algowizard put first the automatic brackets. Please see : https://roadmap.strategyquant.com/tasks/algw_000756
This is Urgent, we can not use Algowizard with these bugs, because the template can not produce the signal as it should .
Please see the video and attached captures :
https://drive.proton.me/urls/D4VVM2A1TM#jqVQcV6xbKoG
Subject changed from [Build 137RC1-2] (Urgent) Multiple Strategies/Template brackets discrepancies, Multiple Code brackets discrepancies to [Build 137RC3] (Urgent) Multiple Strategies/Template brackets discrepancies, Multiple Code brackets discrepancies
Attachment Discrepancy Code Template.docx added
The brackets are not in the correct place
Attachment Template 1 made by B137 1633 RC3 .sqx added
Attachment Strategy 3150.sqx added
Attachment image-0.png added
Attachment LongEntrySignal 3 1 50.docx added
SQX generated a strategy "Strategy 3.1.50.Sqx" with similar brackets as the template.
I compared the template brackets and the source code. (Image 0 attached)
3 opening brackets and 3 closing brackets should not be in the source code.
In Image 0 attached, I tagged these extra brackets with a red star for you to see.
It seem that if we add a OR condition, SQX is adding an extra opening bracket at the beginning of the condition and a closing bracket in the source code.
We should not have these brackets (tagged with a red star in image 0).
I will create the other template in Build 137 RC3 and test them in the next couple of days.
I hope , this will help.
Please see the attached template, capture and video
https://drive.proton.me/urls/8S1RYHGG84#vyNbrpnbqAjG
Status changed from New to Fixed
But as I said the logic is 100% equivalent.
There were some bugs with brackets logic before but all should be fixed in 137 RC3 - here it works correctly.
So in Source code we have maximum brackets, and in editor we display minimum brackets to make it more readable.
Thank you Mark
LongEntrySignal = R * ((( ( A + B) + C) + D))
LongEntrySignal = R * (( ( A + B) + C) + D)
LongEntrySignal = R * D + R * ( A + B) + C)
LongEntrySignal = R * D + R * C + R * ( A + B)
LongEntrySignal = R * D + R * C + R * A + R * B