Gamestudio Links
Zorro Links
Newest Posts
Why Zorro supports up to 72 cores?
by 11honza11. 04/26/24 08:55
M1 Oversampling
by 11honza11. 04/26/24 08:32
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, VoroneTZ, Quad, 1 invisible), 826 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Train Algos together or in different scripts #457816
02/01/16 15:36
02/01/16 15:36
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline OP
Senior Member
nanotir  Offline OP
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
Hi

Lets say you have two cases:
Case 1: You train algo A and B in a script as workshop6 and get the OptimalF parameteres of the assets for each algo.
Case 2: You train algo A and B in different scripts and then combine them by using the combine script.
Are the optimalF parameters similar or the same in both cases? Is there a rule in here like: Better train them together or separate?

Re: Train Algos together or in different scripts [Re: nanotir] #457817
02/01/16 16:16
02/01/16 16:16
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
The optimalF factors are the same. They depend only on the balance curves of the components.

Re: Train Algos together or in different scripts [Re: jcl] #457829
02/01/16 19:42
02/01/16 19:42
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline OP
Senior Member
nanotir  Offline OP
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
I was thinking that algos interact between each other in the same script. Like one algo can close a trade opened by another algo. In that case they behave diferent together. Is it true?

Re: Train Algos together or in different scripts [Re: nanotir] #457839
02/01/16 22:11
02/01/16 22:11
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline
Senior Member
boatman  Offline
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
You can control this behavior using the Hedge flag. The default is that opening a trade in an opposite direction, regardless of the algo, causes the open trade to close. You can control this so that only the same algo will close trades in the opposite direction, or you can allow full hedging.

Re: Train Algos together or in different scripts [Re: boatman] #457840
02/02/16 01:34
02/02/16 01:34
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline OP
Senior Member
nanotir  Offline OP
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
Thanks.
I was aware of hedging but I did not noticed it can also be used to split the close of trades into algos. Definetly zorro team has taken everything into account.

Re: Train Algos together or in different scripts [Re: nanotir] #457852
02/03/16 12:46
02/03/16 12:46
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
The default is partial hedging. In the case of no hedging, the algos will affect each other, so you must then indeed either train the whole portfolio together or separate per asset, but not per algo.

Re: Train Algos together or in different scripts [Re: jcl] #457903
02/05/16 22:43
02/05/16 22:43
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline OP
Senior Member
nanotir  Offline OP
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
Not sure now if it is better to train all algos together with just one asset, all assets with one algo or all together.
For example, if I expected to use 5 algos and 10 assets and Hedge=5 then the backtest should be with those settings or it can work just by doing each separate with Hedge = 1?

Re: Train Algos together or in different scripts [Re: nanotir] #457908
02/06/16 09:32
02/06/16 09:32
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Training all algos together with one asset is the best way.

Hedge = 1 as well as Hedge = 5 causes the algos to affect each other, although with Hedge = 5 only the trading costs will be different.

Re: Train Algos together or in different scripts [Re: jcl] #457914
02/06/16 18:39
02/06/16 18:39
Joined: Mar 2015
Posts: 336
Rogaland
N
nanotir Offline OP
Senior Member
nanotir  Offline OP
Senior Member
N

Joined: Mar 2015
Posts: 336
Rogaland
Ok thanks.

Just to be sure. The workshop 6 should be actually trained just with one asset right?

I have another question tho. I see that there a couple of ways to use an indicator like an oscillator. One can enter trades in the peaks and valleys or after the indicator cross a line. It can be one line for entering long and another for short like in workshop 5. And the valley/peaks and crosslines can be combined so that the trade is entered once a line is crossed and it exits once a peak/valley is found.
So I am not sure what is the best way to evaluate all those algos in the fast possible way.

Re: Train Algos together or in different scripts [Re: nanotir] #458069
02/15/16 14:06
02/15/16 14:06
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Yes, it's possible to train workshop 6 one asset at a time.

Entering trades at peaks or thresholds of the same oscillator can produce very different systems that react on very different market inefficiencies. So it's best to check beforehand which inefficiency you want to exploit and which sort of trigger it requires.

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