MetaTrader 5 Group#
About#
MetaTrader 5 group model
Fields#
| Name | Type | Required | Description |
|---|---|---|---|
| group | string | Yes | Group name |
| company | string | Yes | Company name |
| currency | string | Yes | Currency |
| marginMode | string | Yes | Margin calculation mode, enum: ACCOUNT_MARGIN_MODE_EXCHANGE, ACCOUNT_MARGIN_MODE_RETAIL_NETTING, ACCOUNT_MARGIN_MODE_RETAIL_HEDGING |
| type | string | Yes | Type of accounts that can be created for the group, enum: ACCOUNT_TRADE_MODE_DEMO, ACCOUNT_TRADE_MODE_REAL |
Example#
{
"group": "Tradeview-Demo",
"company": "Tradeview",
"currency": "USD",
"marginMode": "ACCOUNT_MARGIN_MODE_RETAIL_HEDGING",
"type": "ACCOUNT_TRADE_MODE_DEMO"
}