Train Algos together or in different scripts

Posted By: nanotir

Train Algos together or in different scripts - 02/01/16 15:36

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?
Posted By: jcl

Re: Train Algos together or in different scripts - 02/01/16 16:16

The optimalF factors are the same. They depend only on the balance curves of the components.
Posted By: nanotir

Re: Train Algos together or in different scripts - 02/01/16 19:42

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?
Posted By: boatman

Re: Train Algos together or in different scripts - 02/01/16 22:11

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.
Posted By: nanotir

Re: Train Algos together or in different scripts - 02/02/16 01:34

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.
Posted By: jcl

Re: Train Algos together or in different scripts - 02/03/16 12:46

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.
Posted By: nanotir

Re: Train Algos together or in different scripts - 02/05/16 22:43

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?
Posted By: jcl

Re: Train Algos together or in different scripts - 02/06/16 09:32

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.
Posted By: nanotir

Re: Train Algos together or in different scripts - 02/06/16 18:39

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.
Posted By: jcl

Re: Train Algos together or in different scripts - 02/15/16 14:06

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.
Posted By: nanotir

Re: Train Algos together or in different scripts - 02/15/16 16:05

Regarding workshop 6. Is it recomended then to train it separate for each asset?

In may case, I am actually not sure which inefficiency I want to trade. I expect that diferent assest have mostly one of all possible inefficiencies and therefore they produce better results by usind the same oscillator in different ways. Ir order to find out if it is better to trade peaks/valleys or thresholds or the combination of both, I wonder which is the best way to compare all different algos that can be created with the same oscillator.
Posted By: jcl

Re: Train Algos together or in different scripts - 02/16/16 07:49

Training assets separately gives you only an advantage with the free version, since you can then train several assets in parallel. With Zorro S you can just activate multiple cores.
Posted By: Jeff1228

Re: Train Algos together or in different scripts - 01/26/17 05:43

I guess what you mean here is you want to find out the most "tradable" assets for your algo, am I right? I have same curiosity. Any progress?
Posted By: Jeff1228

Re: Train Algos together or in different scripts - 01/26/17 05:49

Originally Posted By: jcl
The optimalF factors are the same. They depend only on the balance curves of the components.


Originally Posted By: jcl
Training all algos together with one asset is the best way.


This way, one will get a .fac for each asset, can we simple append all .fac together, then trade all algo/asset components in a combined script?

Do I take it right?

Thanks

© 2024 lite-C Forums