I hope you are fine. I was wandering of someone could please explain the difference between these two values...
MODE_MARGININIT => Initial margin requirements for 1 lot
MODE_MARGINREQUIRED => Free margin required to open 1 lot for buying
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?
double margin_maintenance = MarketInfo(Symbol(), MODE_MARGINMAINTENANCE);
Thanks in advance!
My test results as below,I am also confused by these items.
What is the difference between MODE_MARGINMAINTENANCE and MODE_MARGINREQUIRED ?
To add comments, please log in or register