MetaTrader 4 Group#
About#
MetaTrader 4 group model
Fields#
| Name | Type | Required | Description |
|---|---|---|---|
| group | string | Yes | Group name |
| company | string | Yes | Company name |
| enable | boolean | Yes | Enable group |
| currency | string | Yes | Currency |
| marginMode | string | Yes | Margin calculation mode, enum: 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",
"enable": true,
"currency": "USD",
"marginMode": "ACCOUNT_MARGIN_MODE_RETAIL_HEDGING",
"type": "ACCOUNT_TRADE_MODE_DEMO"
}