OHLCV bars
GET/v1/securities/{symbol}/time_series
Параметрүүд
| Нэр | Төрөл | Анхдагч | Тайлбар |
|---|---|---|---|
symbolpath· заавал | string | — | Ticker: APU, APU:XULA or APU:MSE. |
intervalquery | 1day1week1month | 1day | Bar size. MSE publishes end-of-day data only. |
start_datequery | string | — | Inclusive lower bound, YYYY-MM-DD (exchange-local). |
end_datequery | string | — | Inclusive upper bound, YYYY-MM-DD (exchange-local). |
orderquery | ascdesc | desc | Sort by date: desc (newest first) or asc. |
pagequery | integer | 1 | 1-based page number. |
limitquery | integer | 30 | Page size (max 5000). |
Хариулт
APU-ийн бодит хариулт, 2026-11-03-нд авсан.
curl "https://data-urtuu.deepalpha.mn/v1/securities/APU/time_series?limit=3" \
-H "Authorization: Bearer $DATA_URTUU_KEY"Хариулт
{
"code": 0,
"message": null,
"response": {
"items": [
{
"datetime": "2026-11-02",
"open": "1147.00000",
"high": "1174.00000",
"low": "1089.00000",
"close": "1124.00000",
"volume": "47293"
},
{
"datetime": "2026-10-30",
"open": "1091.00000",
"high": "1200.00000",
"low": "1089.00000",
"close": "1129.00000",
"volume": "70541"
},
{
"datetime": "2026-10-29",
"open": "1095.00000",
"high": "1095.00000",
"low": "1050.00000",
"close": "1056.00000",
"volume": "92277"
}
],
"total": 4168,
"page": 1,
"limit": 3,
"has_more": true,
"meta": {
"symbol": "APU",
"name": "APU",
"currency": "MNT",
"exchange": "MSE",
"mic_code": "XULA",
"exchange_timezone": "Asia/Ulaanbaatar",
"type": "Common Stock"
}
}
}