My test results as below,I am also confused by these items.
MarketInfo(Symbol(),MODE_MARGININIT)) //0 MarketInfo(Symbol(),MODE_MARGINMAINTENANCE)) //0 MarketInfo(Symbol(),MODE_MARGINHEDGED)) //50000
What is the difference between MODE_MARGINMAINTENANCE and MODE_MARGINREQUIRED ?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Good afternoon,
I hope you are fine. I was wandering of someone could please explain the difference between these two values...
I can see their values are different. If MODE_MARGINREQUIRED is the free margin neccessary to trade 1lot, what is initial margin requirements?
Also, I am trying to output the maintenance margin, but the value is always zero. How can this be?
Thanks in advance!
-A.