COMMA = 1 not working for testtrades.csv

Posted By: yosoytrader

COMMA = 1 not working for testtrades.csv - 03/10/15 21:10

Hi

I just found that the z.ini setting COMMA = 1 (to use comma as decimal and semicolon as separator) is not working for testtrades.csv
Posted By: jcl

Re: COMMA = 1 not working for testtrades.csv - 03/11/15 09:49

Works here. At least when you don't explicitely set COMMA back to 0 in your script.
Posted By: yosoytrader

Re: COMMA = 1 not working for testtrades.csv - 03/11/15 14:43

thanks, but it's not working with the following setup:
XP SP2 or SP3, x32 or x64 (tested both)
-Zorro 126 fresh installation
-Zorro 128 fresh installation
-added the history files
-added "Comma = 1" to z.ini

start Zorro then test Z12.

For 126 works fine. However don't get comma in 128
Posted By: jcl

Re: COMMA = 1 not working for testtrades.csv - 03/11/15 15:40

Ah, now I understand what you were talking about. Comma must be set in zorro.ini, not in z.ini:

Code:
Mute = 0  // 1 for disabling sounds
Comma = 1 // for decimal comma
CleanLogs = 30 // delete logs older than 30 days, 0 to disable
WebFolder = "" // "C:\inetpub\wwwroot" for IIS


Posted By: yosoytrader

Re: COMMA = 1 not working for testtrades.csv - 03/11/15 15:56

Thanks jcl,
this is clearly a murphy's law example:
I was checking the 1.26 help while Zorro.ini was introduced in 1.28 laugh
This shows me how extremely difficult is the world of algorithmic trading laugh
© 2024 lite-C Forums