Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 1.83
by jrath
Today at 11:53
New Aum and few things
by George
Today at 09:19
Transfer free license to different device?
by Raisinbran
Yesterday at 21:59
New BrokerCommand: SET_TRIGGER_PIPE
by AndrewAMD
Yesterday at 18:18
What are you working on?
by NeoDumont
Yesterday at 15:43
Beta Version Download does not work
by MatPed
Yesterday at 14:35
Camera Glide Works Over Water, But Not Under Water
by Ruben
Yesterday at 10:04
AUM Magazine
Latest Screens
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Forgotten Tales - Demo version
RPG PARTY
Who's Online
16 registered (3run, byakuren81, firecrest, FLD, Dbat, AndrewAMD, JeyKey II, GPEngine, jenGs, 1 invisible), 504 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
mbullied, Raisinbran, Grodt, drack, Paul_der_Zweite
17982 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 Offline

Chief Engineer

Registered: 07/22/00
Posts: 26363
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 Offline

Chief Engineer

Registered: 07/22/00
Posts: 26363
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 Offline

Chief Engineer

Registered: 07/22/00
Posts: 26363
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 Offline

Chief Engineer

Registered: 07/22/00
Posts: 26363
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