Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (EternallyCurious, howardR), 646 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
OptimalF factors for every step of WFO? #476806
04/04/19 13:26
04/04/19 13:26
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline OP
Serious User
AndrewAMD  Offline OP
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
jcl,

In the future, can Zorro have a flag (i.e. "FACTORS_SEASONAL"), so that when Optimal F factors are generated, there will be a unique set of optimal F factors for every step of WFO?

The purpose is to adapt OptimalF factors to the ever-changing market conditions.

Re: OptimalF factors for every step of WFO? [Re: AndrewAMD] #476808
04/04/19 14:06
04/04/19 14:06
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Theoretically it's already possible with two training cycles, as described on the training page for parameters and rules. It should also work for factors. But probably no one did that before. Try it. If it does not work, let me know and I'll put it on the list.

Re: OptimalF factors for every step of WFO? [Re: jcl] #476809
04/04/19 14:06
04/04/19 14:06
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline OP
Serious User
AndrewAMD  Offline OP
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted By: jcl
Theoretically it's already possible with two training cycles, as described on the training page for parameters and rules. It should also work for factors. But probably no one did that before. Try it.
OK, I'll look into this.

Re: OptimalF factors for every step of WFO? [Re: AndrewAMD] #476811
04/04/19 14:30
04/04/19 14:30
Joined: Jul 2017
Posts: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
May I also suggest that 'Optimal_F' is made into a user-supplied function (with current implementation as the default)?

Re: OptimalF factors for every step of WFO? [Re: Zheka] #476867
04/16/19 15:05
04/16/19 15:05
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline OP
Serious User
AndrewAMD  Offline OP
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
jcl,

I believe TrainMode = ALLCYCLES is intended to do what I describe.

However, I think I found a bug... It generates the factors for each cycle, but it doesn't load in Test mode.

I will try to reproduce this and submit a bug report. (Unless you find it first.)

Thanks,
Andrew

Re: OptimalF factors for every step of WFO? [Re: AndrewAMD] #476868
04/16/19 15:12
04/16/19 15:12
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
I believe you're right. No need for the bug report, I'll forward this to the developers.

Re: OptimalF factors for every step of WFO? [Re: jcl] #476869
04/16/19 15:21
04/16/19 15:21
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline OP
Serious User
AndrewAMD  Offline OP
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Thank you!

Re: OptimalF factors for every step of WFO? [Re: AndrewAMD] #476873
04/17/19 09:12
04/17/19 09:12
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
I have tested with the ALLCYCLES flag, a TS that was not trained accordingly and I did not received any warning message. Maybe it could be useful.
Ciao

Re: OptimalF factors for every step of WFO? [Re: MatPed] #476874
04/17/19 11:52
04/17/19 11:52
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
I have been informed that the ALLCYCLES factors work fine in Test mode. The last factor file had a wrong name, but this had no effect on the test which only used the other .fac files.

So I'm afraid we will then really need the script for finding out what the problem was.

For determining if factors are loaded in test mode or not, you can use this code:

Code:
if(Test && WFOBar == 1)
	printf("nCycle %i OptF %.2f Long %.2f Short %.2f",
		WFOCycle, OptimalF, OptimalFLong, OptimalFShort);


Re: OptimalF factors for every step of WFO? [Re: jcl] #476875
04/17/19 12:39
04/17/19 12:39
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline OP
Serious User
AndrewAMD  Offline OP
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
I will see if I can reproduce the problem.

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