Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,400 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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 | 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