Gamestudio Links
Zorro Links
Newest Posts
Votes for future features
by DdlV
Yesterday at 23:46
Project Aum - Winter Contest 2017 - Update
by George
Yesterday at 22:37
hold key code returns very high value instead of 0 or 1
by 3run
Yesterday at 16:08
oldschool fps project
by 3run
Yesterday at 15:46
Sam Foster Sound | Experienced Indie Game Composer for Hire
by titanicpiano14
Yesterday at 15:02
[ALL STYLES] 2D Videogame Artist (pixel, vector, painted)
by DesixStudios
12/15/17 14:45
Easy question
by jcl
12/15/17 13:47
AUM Magazine
Latest Screens
RPG PARTY
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Triton Wing
Who's Online
12 registered (ChrstphFr, Ch40zzC0d3r, Dico, 3run, boatman, AndrewAMD, alibaba, easyX, 3 invisible), 453 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Meisterbene, Amocfx, cme, pataba, byano
17835 Registered Users
Topic Options
Rate This Topic
#469762 - 12/06/17 20:52 Maintenance margin requirements
kujo Offline
Newbie

Registered: 12/03/17
Posts: 24
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: 26002
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
Newbie

Registered: 12/03/17
Posts: 24
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: 26002
Loc: Frankfurt
3.333 under "Leverage".

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

Registered: 12/03/17
Posts: 24
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: 26002
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
Newbie

Registered: 12/03/17
Posts: 24
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: 26002
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
Newbie

Registered: 12/03/17
Posts: 24
Oh, got it now! Thanks!
I'll try this

Top



Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) 3dgamestudio.net