[129RC2] Difference between Source code XML and SQX XML reperesentation

Not sure a feature a bug but It looks like there is a difference between XML representation of Source code and SQX saved ones. My request is on block representation not code "around"

Ideally it should be identical.

Not simple so just giving  "sample" GBPUSD_H1_1201332143 strategy:

diff GBPUSD_H1_1201332143.txt strategy_Portfolio.xml 

0a1
> <?xml version="1.0" encoding="UTF-8"?> <-- would be nice to have this in XML Source Code

<                   <Item key="BBBarClosesBelowDown" name="(BB) Bar closes below Lower band" display="Bar closes below BB(#Period#, #Deviation#).Lower" mI="BollingerBands" returnType="boolean" categoryType="simpleRules" generated="random" randomId="RandomConditionLong" retries="0" gid="-406539047" indicatorName="BollingerBands">
---
>                   <Item key="BBBarClosesBelowDown" name="(BB) Bar closes below Lower band" display="Bar closes below BB(#Period#, #Deviation#).Lower" mI="BollingerBands" returnType="boolean" categoryType="simpleRules" generated="random" randomId="RandomConditionLong" retries="0" gid="-406539047">
39c38
...

other sections with more complex diff are not listed:

Tx for having a look.

Enyx

Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Low

History

DB
#1

Enyx

05.08.2020 12:26

Task created

TB
#2

Tomas Brynda

05.08.2020 14:53

Priority changed from Normal to Low

MF
#3

Mark Fric

06.08.2020 12:40

Status changed from New to Refused

the XMLs are little different because each serves another purpose. XML in source code contain some additional things that help us produce the source code.


I don't see any need to keep the XMLs exactly the same, if you make some tool to work with strategies XML, you should work with XML format as used in .sqx files.


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