Gamestudio Links
Zorro Links
Newest Posts
Detrend=SHUFFLE?
by jcl
52 minutes 54 seconds ago
type casting issue
by hatten
Today at 13:44
bmap_process crashes
by Superku
Today at 13:43
Intercept Friday Daily Close
by OptimusPrime
Yesterday at 19:25
tmf...
by MINER
Yesterday at 10:43
Multiple BB Bands
by jcl
Yesterday at 09:45
Using R
by jcl
Yesterday at 09:41
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
14 registered (AndrewAMD, AndyDow, kvm, hatten, PriceAlgoTrader, chsmac85, jenGs, CocaCola, 3 invisible), 483 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
PersianBoy, xenomoprhen, PriceAlgoTrader, Tomber, MorganP
18126 Registered Users
Topic Options
Rate This Topic
#469762 - 12/06/17 20:52 Maintenance margin requirements
kujo Offline
Member

Registered: 12/03/17
Posts: 129
Loc: Halifax, NS
Hello,
I'm trying to understand where I can define maintenance margin requirements. I found in the manual that it is controlled by MarginVal that is received from a broker. If your (Equity - MarginVal) <= 0 then margin call.
If broker doesn't provide MarginVal then MarginTotal is used. But how MarginTotal is calculated.

I have an example:
I want to use leverage = 1.5
Initial margin requirement = 50%
Maintenance margin requirement = 30%

How to provide Zorro with above-mentioned values?
Thank you!


Edited by kujo (12/07/17 00:44)

Top
#469773 - 12/07/17 17:10 Re: Maintenance margin requirements [Re: kujo]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26665
Loc: Frankfurt
All brokers provide MarginVal for live trading as to my knowledge. For the backtest, enter the greater of the two in the asset list, respectively the smaller leverage. Normally maintenance margin is equal or higher than the initial margin.

Top
#469779 - 12/08/17 17:08 Re: Maintenance margin requirements [Re: jcl]
kujo Offline
Member

Registered: 12/03/17
Posts: 129
Loc: Halifax, NS
Originally Posted By: jcl
All brokers provide MarginVal for live trading as to my knowledge. For the backtest, enter the greater of the two in the asset list, respectively the smaller leverage. Normally maintenance margin is equal or higher than the initial margin.


Thanks, however, it's not totally clear for me yet.
Consider the situation for the Z9 system:
I have $5,000 in my account and borrow $5,000 from my broker to be able to buy $10,000 worth of securities. The initial and maintenance margin requirement is 30%. So, in this case a margin call will happen when value of the securities drop below $7,142.86.

What values should I enter in AssetsZ9.csv (or other config files) to simulate this situation in the backtest? I'd appreciate your help!

Top
#469780 - 12/08/17 17:12 Re: Maintenance margin requirements [Re: kujo]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26665
Loc: Frankfurt
3.333 under "Leverage".

Top
#469782 - 12/08/17 17:22 Re: Maintenance margin requirements [Re: jcl]
kujo Offline
Member

Registered: 12/03/17
Posts: 129
Loc: Halifax, NS
But with 3.333 leverage I will borrow 11666 to buy securities worth of 16666. no?
However, I want to borrow only 5000.

Top
#469783 - 12/08/17 17:28 Re: Maintenance margin requirements [Re: kujo]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26665
Loc: Frankfurt
Then you can obviously not buy 16666, but only 6666. What's the problem?

Top
#469785 - 12/08/17 17:31 Re: Maintenance margin requirements [Re: jcl]
kujo Offline
Member

Registered: 12/03/17
Posts: 129
Loc: Halifax, NS
Originally Posted By: jcl
Then you can obviously not buy 16666, but only 6666. What's the problem?


I wonder how I can configure such a case in Z9 system?

Top
#469786 - 12/08/17 17:34 Re: Maintenance margin requirements [Re: kujo]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26665
Loc: Frankfurt
By setting the Capital slider to the capital you want to invest. In that case, 2000 for a volume of 6666.

Top
#469788 - 12/08/17 17:56 Re: Maintenance margin requirements [Re: jcl]
kujo Offline
Member

Registered: 12/03/17
Posts: 129
Loc: Halifax, NS
Oh, got it now! Thanks!
I'll try this

Top



Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de