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
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 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
Page 1 of 2 1 2
Z Systems, CBI, New Versions, Reinvesting, & Withdrawing #470337
01/09/18 04:40
01/09/18 04:40
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl.

How should the Z Systems (and other strategies) CBI be handled when new Zorro versions are implemented; and when funds are reinvested and/or withdrawn? Specifically:

a) New version: Say I start a Z system with Capital at 5000 based on Test result CR and whatever safety margin I want. A new Zorro version comes out, and to maintain the same CR and safety margin I need to set Capital to 7500. Do I continue to use the old .dbl file? Or do I copy the new .dbl file from the Test on the new Zorro version to the Production Data directory?

b) Reinvesting: Say I start a Z system with Capital at 5000 based on Test result CR and whatever safety margin I want. The Z system does wonderfully, makes a lot of $$$, and I want to reinvest by increasing Capital to 6000. Do I continue using the same .dbl file? Or do I run a new Test to reflect the reinvestment and copy the new .dbl to the Production Data directory?

c) Withdrawing: Say I start a Z system with Capital at 5000 based on Test result CR and whatever safety margin I want. The Z system does wonderfully, makes a lot of $$$, and I want to withdraw (of course per the square root rule laugh ). Do I continue using the same .dbl file? Or do I run a new Test and copy the new .dbl file to the Production Data directory to account for the withdrawal?

Thanks.

Re: Z Systems, CBI, New Versions, Reinvesting, & Withdrawing [Re: DdlV] #470365
01/10/18 09:30
01/10/18 09:30
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
As long as the .dbl file was created with the same initial Capital slider setting, you need not recreate it when you change the Capital later at runtime. This is compensated.

Re: Z Systems, CBI, New Versions, Reinvesting, & Withdrawing [Re: jcl] #470376
01/10/18 18:13
01/10/18 18:13
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl.

I can see that this makes sense for the c) question - as long as I don't withdraw more than the square root rule specifies then I'm still within the Test parameters and the CBI should be good using the original .dbl file.

Re. b), I can also see how that makes sense for reinvestment, for basically the same reason. But does the compensation also work if I add totally new Capital and change the slider for that reason? Or withdraw more than the square root rule allows?

Re. a), I think it hinges on what "the same initial Capital slider setting" means. Different Zorro versions have produced very different results for the same Capital (previously Margin) value. If version A Tests to a Capital value of 5000 for a CR of 4000, and version B Tests to a Capital value of 10000 to get the same CR of 4000, when I upgrade from A to B, which .dbl file do I use? The original one from version A? Or the new one from version B? It seems to me since I'll be changing the Capital slider from 5000 to 10000 to maintain the same CR, I should also replace the .dbl file. Is this correct?

Lastly, a d) question: Since the CBI is based on equity, how does a safety margin figure in? For example, if Test gives a Capital setting of 5000 for a 4000 CR, but I want a 2x safety and fund the account with 8000 doesn't this distort CBI using a .dbl file from the 5000 Test?

Thanks.

Re: Z Systems, CBI, New Versions, Reinvesting, & Withdrawing [Re: DdlV] #470445
01/15/18 09:51
01/15/18 09:51
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
The CBI measures drawdown probability. Funding or withdrawing from your accounts have no effect on the CBI. The .dbl file must be from a backtest with the same initial capital and asset list as in live trading.

Re: Z Systems, CBI, New Versions, Reinvesting, & Withdrawing [Re: jcl] #470472
01/16/18 16:25
01/16/18 16:25
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl. I believe the exact definition of "same initial capital" needs to be clarified when upgrading from one Zorro version to the next. Using a specific example:

On Version A, Testing Capital=10000 gives CR=4000. I fund the account accordingly and start Trading with the Capital slider set to 10000. I use the .dbl from this Test for the CBI.

Version B appears. I find via Testing Capital=10000 gives a CR much greater than 4000 - in fact way more than I funded the account with. I need to set Capital=5000 to get the same CR=4000.

When I upgrade to Version B, I therefore reduce the Capital slider from 10000 to 5000.

In this example, what is the "same initial capital"? 10000 or 5000? Do I continue using the .dbl file from the Version A Test with Capital=10000? Or do I change to the .dbl file from the Version B Test with Capital=5000?

It seems to me since Version B has required reducing the Capital slider to 5000 as a consequence of the version change rather than reinvesting, withdrawing, etc. that I need to use the .dbl file from the Version B Test. Is this correct?

Thanks.

Re: Z Systems, CBI, New Versions, Reinvesting, & Withdrawing [Re: DdlV] #470526
01/18/18 15:49
01/18/18 15:49
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl. Please confirm my understanding is correct and I should use the Version B Test .dbl file.

Thanks.

Re: Z Systems, CBI, New Versions, Reinvesting, & Withdrawing [Re: DdlV] #470531
01/18/18 17:21
01/18/18 17:21
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Yes, when you change to version B, then use the .dbl file from version B.

Re: Z Systems, CBI, New Versions, Reinvesting, & Withdrawing [Re: jcl] #472593
05/07/18 12:05
05/07/18 12:05
Joined: Dec 2017
Posts: 14
V
vince Offline
Newbie
vince  Offline
Newbie
V

Joined: Dec 2017
Posts: 14
I have some uncertainties regarding CBI, too.

1. The Z strategies (at least Z12) always sets the Capital slider to 2000 at the very beginning when you start trading. Immediately I set it to the desired value then. But the question is: Doesn't that mean that we *always* need to have backtested with Capital slider at 2000 beforehand to get a correct .dbl file and thus meaningful CBI calculations?

2. If we increase the Capital slider later as I understood this is compensated. But if we stop trading at some point and resume is there a need for a new test run with the then applicable Capital slider? Or does the CBI calculation remember that the old .dbl file was created with the old Capital setting and compensate that even across trading sessions?

3. Is there a way to see which initial Capital setting was used? Or more precicely: Which Capital setting the CBI calculation takes into consideration for the available .dbl file.

Thanks.

Re: Z Systems, CBI, New Versions, Reinvesting, & Withdrawing [Re: vince] #472800
05/24/18 09:12
05/24/18 09:12
Joined: Dec 2017
Posts: 14
V
vince Offline
Newbie
vince  Offline
Newbie
V

Joined: Dec 2017
Posts: 14
jcl, do you have some insight about these topics you could share, please? Also some clarifications in the manual would be helpful I think.
Thanks.

Re: Z Systems, CBI, New Versions, Reinvesting, & Withdrawing [Re: vince] #472803
05/24/18 10:22
05/24/18 10:22
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
You must start with the same slider position in the backtest and in live trading. In live trading it remembers your last slider position from the previous session, so run the backtest with the same position. When you stop and resume, you must indeed run a new backtest with the current slider position. I think the initial slider position is not displayed.

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