Get symbols by group#
About#
Get symbols by group.
GET /users/current/mt4/provisioning-profiles/:profileId/symbolsGroup
For more information see swagger documentation
Headers#
Name | Type | Required | Description |
---|---|---|---|
auth-token | string | Yes | MetaApi account token. See Authentication & authorization |
Path parameters#
Name | Type | Required | Description |
---|---|---|---|
profileId | string | Yes | Id of the provisioning profile |
Query parameters#
Name | Type | Required | Description |
---|---|---|---|
group | number | Group ID |
Response#
- 200 - Successfully retrieved symbols by group. Metatrader4Symbol
- 400 - Request validation failed. Response schema: Error
Examples#
Example request:
curl -X GET --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'auth-token: token' -d '{}' 'https://mt-manager-api-v1.new-york.agiliumtrade.ai/users/current/mt4/provisioning-profiles/profileId/symbolsGroup?group=1'
Example response:
[{
"symbol": "EURUSD",
"description": "EUR/USD pair",
"source": "tr",
"currency": "EUR",
"type": 1,
"tickSize": 0.1,
"tickValue": 0.1,
"digits": 3,
"marginMode": "MARGIN_CALC_FOREX",
"profitMode": "PROFIT_CALC_FOREX",
"freezeLevel": 0,
"point": 0.001,
"multiply": 1000,
"bidTickValue": 0.1,
"askTickValue": 0.1,
"stopsLevel": 0,
"expiration": 1684332183000,
"tradeMode": "TRADE_FULL"
}]