Get Market Short List¶
Returns a compact list of market assets available for a specific account, plus symbol groups for filtering.
GET
https://{some_domain}/market/short/list
Authorization¶
This endpoint requires an authenticated session with one of the following access types:
SESSION_USERSESSION_MANAGERSESSION_ADMINSESSION_DEALER
Request¶
Query Parameters¶
| Field | Type | Required | Description |
|---|---|---|---|
login |
int | Yes | Account login ID |
Request Example¶
GET https://{some_domain}/market/short/list?login=100001
Authorization: <JWT_TOKEN>
Response¶
Success (200)¶
{
"assets": {
"structure": [
"symbol", "description", "currency", "margin_currency", "quote_currency", "group", "digits",
"trade", "spread", "spread_balance",
"swap_enable", "margin_divider", "margin_mode", "stops_level", "contract_size", "long_only",
"ask", "bid", "point", "tick_value", "tick_size", "lot_min",
"lot_max", "lot_step", "comm_base", "comm_type", "exchange", "category", "industry",
"shareholders", "market_cap", "price1d", "icon"
],
"rows": [
[
"EURUSD", "Euro vs US Dollar", "USD", "USD", "USD", "Forex", 5,
1, 20, 10,
1, 1.0, 0, 0, 100000, 0,
1.10501, 1.10498, 0.00001, 10.0, 0.00001, 0.01,
100.0, 0.01, 0.0, 0, "FOREX", "Currencies", "FX Majors",
0, 0, -0.15, "/icons/eurusd.svg"
]
]
},
"groups": ["ALL", "Forex", "Crypto", "Stocks"]
}
Response Fields¶
groups: symbol security groups list. Always includes"ALL"as the first item.assets.structure: column names for each row inassets.rows.assets.rows: array of symbol records aligned by index withassets.structure.
Notes About Data Calculation¶
- Symbols hidden by group security settings are excluded from
rows. spreadandspread_balancemay come from group symbol overrides when enabled.margin_dividermay come from group symbol overrides.price1dis derived from quote history (1-day price delta/source).
Error Responses¶
| HTTP | error |
Description |
|---|---|---|
| 400 | INVALID_DATA |
Request validation failed (for example, missing login) |
| 403 | USER_NOT_FOUND_OR_INCORRECT |
User not found |
| 404 | GROUP_NOT_FOUND |
User group not found |
Error Example¶
{
"error": "INVALID_DATA",
"message": "login is required"
}
Notes¶
- Endpoint is internally handled by command
GetMarketShortList. - Route pattern supports optional trailing slash:
GET /market/short/list/?.