- Login
- TradeMode
- TradeModeDescription
- Leverage
- StopoutMode
- StopoutModeDescription
- MarginMode
- MarginModeDescription
- TradeAllowed
- TradeExpert
- LimitOrders
- Balance
- Credit
- Profit
- Equity
- Margin
- FreeMargin
- MarginLevel
- MarginCall
- MarginStopOut
- Name
- Server
- Currency
- Company
- InfoInteger
- InfoDouble
- InfoString
- OrderProfitCheck
- MarginCheck
- FreeMarginCheck
- MaxLotCheck
MarginCheck
Gets the amount of margin, required for trade operation.
double MarginCheck(
|
Parameters
symbol
[in] Symbol for trade operation.
trade_operation
[in] Type of trade operation from ENUM_ORDER_TYPE enumeration.
volume
[in] Volume of trade operation.
price
[in] Price of trade operation.
Return Value
Amount of margin required for trade operation.