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
1 registered members (AndrewAMD), 945 guests, and 8 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
FAC Train mode #478062
08/30/19 13:34
08/30/19 13:34
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
In order to speed up test for different OptimalFRatio parameter or user supplied functions for Money Management, it would be nice to have tthe possibility to train only the Factors, without training all the parameters of the strategy.

Thank You

Re: FAC Train mode [Re: MatPed] #480770
07/10/20 17:16
07/10/20 17:16
Joined: Jan 2020
Posts: 32
L
leohermoso Offline
Newbie
leohermoso  Offline
Newbie
L

Joined: Jan 2020
Posts: 32
Is it possible already!?

Re: FAC Train mode [Re: MatPed] #480771
07/10/20 18:13
07/10/20 18:13
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

Joined: Mar 2019
Posts: 357
Yes, I would like that too.
Also just for generating facors for info purpose.

Or maybe we did miss something?

Re: FAC Train mode [Re: MatPed] #480824
07/17/20 07:34
07/17/20 07:34
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
That the manual is your friend?

https://manual.zorro-project.com/mode.htm

Re: FAC Train mode [Re: MatPed] #480834
07/17/20 17:56
07/17/20 17:56
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

Joined: Mar 2019
Posts: 357
laugh

set(FACTORS);
NumWFOCycles = 1;
NumTrainCycles = 1;

works perfectly, indeed, the manual is your best friend laugh

although, maybe there could be an example, how train in trainmode the factors and in trade / test select execution of the trade based on a positive optIF factor.

https://www.zorro-trader.com/manual/en/mode.htm
FACTORS
[Train] mode: generate OptimalF capital allocation factors and store them in Data/*.fac. [Test] / [Trade] mode: load OptimalF factors for allocating capital. If this flag is not set, all OptimalF factors are 1.

-->> Does it mean that in Train mode the factors are also always 1 in order to generate them?

Looks like... the following works fine... Factors are generated, in test and live mode assets that are bad for the algo are omitted.

if(OptimalFShort > 0)
enterShort();


Last edited by danatrader; 07/19/20 12:12.

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