GetMarketShortList¶
GetMarketShortList
Description: Returns a compact market list for a target account login using structure + rows.
Available for:
SESSION_USERSESSION_MANAGERSESSION_ADMINSESSION_DEALER
Note
Request should include Authorization token.
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
| login | int | Yes | Target account login |
Request Example¶
{
"login": 100001
}
Response Parameters¶
| Name | Type | Description |
|---|---|---|
| assets | object | Object containing structure and rows |
| groups | array | Visible security group names for the account group |
assets.structure is an ordered list of field names.
assets.rows contains array rows aligned with that structure.
The returned spread and spread_balance fields are the effective execution
pair after applying Symbol → enabled Group Security matched by sec_index →
enabled Group Symbol matched by symbol name. Each enabled group override
replaces the whole pair. Ask uses spread_balance points; Bid uses the remaining
points. The raw market quote gap is unchanged.
The effective commission is returned as comm_base, comm_type, and
comm_lots after Security → Symbol → Group Security → Group Symbol resolution.
comm_type is 0 money, 1 points, 2 percent; comm_lots is 0 per lot,
1 per deal. The comm_lots column is appended as the final column in
structure; existing indexes are unchanged.
Response Example¶
{
"assets": {
"structure": [
"symbol", "description", "currency", "margin_currency", "quote_currency", "group", "digits",
"trade", "spread", "spread_balance", "swap_enable", "margin_divider", "margin_mode", "profit_mode",
"stops_level", "contract_size", "long_only", "ask", "bid", "point", "tick_value", "tick_size",
"market_state", "market_reason", "lot_min", "lot_max", "lot_step", "comm_base", "comm_type",
"exchange", "category", "industry", "sector", "shareholders", "market_cap", "price1d", "icon", "comm_lots"
],
"rows": [
[
"EURUSD", "Euro vs US Dollar", "EUR", "USD", "USD", "Forex", 5,
1, 12, 5, 1, 1.0, 0, 0, 0, 100000, 0, 1.10501, 1.10498, 0.00001, 10.0,
0.00001, 1, 0, 100, 10000000, 100, 2.5, 0, "FOREX", "Currencies", "FX Majors",
"Spot FX", 0, 0, -0.15, "/icons/eurusd.svg", 0
]
]
},
"groups": ["Forex", "Metals"]
}
spread and spread_balance are the effective execution-spread pair after
applying Symbol → enabled Group Security (matched by sec_index) → enabled
Group Symbol (matched by symbol name). Each enabled group override replaces the
whole pair. spread_balance assigns points to Ask; remaining points apply to
Bid. These values are additive to the raw quote gap, and raw quote fields remain
unchanged.
Error Responses¶
| Code | Error | Description |
|---|---|---|
| 400 | INVALID_DATA |
Missing or invalid login |
| 403 | USER_NOT_FOUND_OR_INCORRECT |
Account was not found |
| 404 | GROUP_NOT_FOUND |
Account group was not found |