Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Imhotep, opm), 785 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Zorro 1.36 #454918
09/29/15 10:13
09/29/15 10:13
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
A new beta version was uploaded:

http://server.conitec.net/down/ZorroBeta.zip

V1.36 is a slightly newer version with implemented features for updating variables in external text files, and exporting balance and equity curves.

Re: Zorro 1.36 [Re: jcl] #454935
09/29/15 21:54
09/29/15 21:54
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Code:
with implemented features for updating variables in external text files

Almost a bit creepy, but I'm just looking for such a possibility. Is there a doc available yet?

BTW: it would be nice to find the new TO_CSV print option in the list of print parameters, I surely can guess about the form but how to tell the command to which CSV file it should write?

Re: Zorro 1.36 [Re: Sphin] #454943
09/30/15 07:02
09/30/15 07:02
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
It's under "printf". The file name is the name of the script plus extension ".csv".

You can find all new commands also under "What's New" in the manual.

Re: Zorro 1.36 [Re: jcl] #454950
09/30/15 08:51
09/30/15 08:51
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Quote:
It's under "printf". The file name is the name of the script plus extension ".csv".

Ah! It's in the help file of 1.34 only, not in the online manual. I thought the online manual is the most actual version. laugh

Quote:
You can find all new commands also under "What's New" in the manual.

There's nothing about a function to update variables in external text files so far but I guess it's coming soon, no problem.

Thanks!

Re: Zorro 1.36 [Re: Sphin] #455017
10/02/15 14:22
10/02/15 14:22
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
I get a script crash in Bootstrap.c from http://www.financial-hacker.com/boosting-systems-by-trade-filtering/

The crash doesn't happen if I comment out the line
Code:
randomize(BOOTSTRAP|DETREND,Sample,Curve[j].Values,Curve[j].Length);


Re: Zorro 1.36 [Re: GPEngine] #455018
10/02/15 15:31
10/02/15 15:31
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
It is because you have defined

var Sample[3000];

My curves are 3040 long. I guess I get more days than you for the same StartDate = 2010;

Re: Zorro 1.36 [Re: GPEngine] #455019
10/02/15 15:32
10/02/15 15:32
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline
User
GPEngine  Offline
User
G

Joined: Sep 2013
Posts: 504
California
I mean, this is a classic source of bugs in C code. It is sharply painful when trying to run code someone else wrote....

Re: Zorro 1.36 [Re: GPEngine] #455046
10/05/15 08:42
10/05/15 08:42
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Yep. Static arrays are ugly hacks and should not really be used in commercial quality code. On the other hand, they are temptingly easy to define.

Re: Zorro 1.36 [Re: jcl] #455140
10/11/15 00:51
10/11/15 00:51
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Are there new rules for Date intervals since 1.36.4?

e.g.

Code:
BarPeriod = 5;
StartDate = 20140106;
EndDate = 20140131;
vars Price = series(price());



results in a 041 Inconsistent series calls, while

Code:
BarPeriod = 5;
StartDate = 20140101;
EndDate = 20140114;
vars Price = series(price());



works. In 1.36.1 this problem did not appear.

Update:

Even the Z strategies break with "041 Inconsistent series calls" in 1.36.4.

Last edited by Sphin; 10/11/15 21:03.
Re: Zorro 1.36 [Re: Sphin] #455169
10/12/15 06:51
10/12/15 06:51
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Yes, this was a bug in the previous upload of 1.36. Please download the beta again - it should be fixed.

Page 1 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1