Documentation | 2015.12.03 11:38
Thanks for your reply.
But actually, I didn't find SYMBOL_MARGIN_PERCENTAGE enum.
Looks like you miss the new property of symbol.
Please open Market Watch -> Right click forex symbol -> Specification, then you will find "Margin percentage".
It looks like this property can not be accessed directly by far, and the only workaround is indirect - reverse calculation. For example, according to CFD margin formula for 1 lot:
Margin (amount) = Contract size * Open market price
On the other hand, the margin for 1 lot can be reteieved as:
Margin (builtin) = MarketInfo(Symbol(), MODE_MARGINREQUIRED)
Hence, the percentage can be found via division:
Margin (percentage) = Margin (builtin) / Margin (amount) * 100