Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (dr_panther, VoroneTZ, AndrewAMD, vicknick, 7th_zorro), 832 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Print Thread
Rate Thread
False ReTrain state entered when running -train at command line. #447905
01/12/15 05:04
01/12/15 05:04
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
I have a strategy which has a ReTrain conditional similar to what is suggested in the workshops. I noticed that it has different behavior depending on whether it it trained via Zorro -train at the command line or by manually pressing the [Train] button in the UI.

I was at a loss for figuring out how this could be. I was about to file a bug. Then I saw this.http://zorro-trader.com/manual/en/is.htm
ReTrain
Updating parameters while live trading; the same as (is(TRAINMODE) and is(COMMAND)) .

This is not intuitive. What the heck? (is(TRAINMODE) and is(COMMAND)) is NOT the same thing as ReTrain, conceptually.

Last edited by GPEngine; 01/12/15 05:05.
Re: False ReTrain state entered when running -train at command line. [Re: GPEngine] #447912
01/12/15 15:44
01/12/15 15:44
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
ReTrain is just a define in variables.h.

#define ReTrain (is(COMMAND) && is(TRAINMODE))

Re: False ReTrain state entered when running -train at command line. [Re: jcl] #447913
01/12/15 15:50
01/12/15 15:50
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
ok but


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