Cookie settings
We use essential cookies to keep you signed in and secure, and analytics cookies to improve the product. We never use them for ad tracking.Learn more
Building an AI agent? Start with /llms.txt for the full site index.
市場資料
Technical Stage0 baseline(TWSE only / Non-TPEx),覆蓋至 2026-05-11;Stage1(RSI / MACD)尚未納入 production baseline。
/v2/datasets/technical-indicatorsTechnical Indicators 目前文件對齊的是 Technical Stage0 approved baseline。
此 baseline 為 TWSE only / Non-TPEx,範圍覆蓋至 2026-05-11,且不包含 Stage1 指標(RSI / MACD)。
| Instruments | Start year | Update timing | Includes delisted |
|---|---|---|---|
| Not yet available (coming) | Not yet available (coming) | Not yet available (coming) | coming |
Figures are measured from the DB; unlisted fields defer to docs coverage (coming) — we don't fabricate cell by cell.
使用此 endpoint 時,建議:
| 欄位 | 型別 | Required | 說明 |
|---|---|---|---|
| symbol | string | yes | 股票代碼(例如 2330)。 |
| start_date | string | no | 查詢起始日期(YYYY-MM-DD)。 |
| end_date | string | no | 查詢結束日期(YYYY-MM-DD)。 |
| market | string | no | 市場代碼(目前 Stage0 baseline 為 TWSE)。 |
| indicator_basis | string | no | 指標基礎(目前 baseline 為 close)。 |
| provider | string | no | 來源 provider(若現有路由支援,可作為輔助條件)。 |
| source_role | string | no | 來源角色(若現有路由支援,可作為輔助條件)。 |
| limit | integer | no | 回傳筆數限制。 |
回應結構固定為 dataset、rows、count。
Stage0 approved baseline coverage(TWSE only)
- Older: 2023-06-01..2024-03-31
- Main baseline: 2024-04-01..2025-03-31
- Newer recut: 2025-04-01..2026-05-11
- 實際覆蓋筆數詳見 /datasets
{ "dataset": "technical_indicators", "rows": [ { "ticker": "2330", "market": "TWSE", "trade_date": "2026-04-22", "close": 815, "volume": 18234000, "daily_return": 0.00492611, "ma_5": 809.4, "ma_20": 796.8, "ma_60": 772.1, "volume_avg_20": 16852340.2, "return_5d": 0.0175, "return_20d": 0.0513, "volatility_20d": 0.0142, "provider": "twse", "source_role": "derived_from_twse_price", "indicator_basis": "close", "feature_set": "stage0", "formula_version": "stage0_v1" } ], "count": 1}| 欄位路徑 | 型別 | 說明 |
|---|---|---|
| rows[].ticker | string | 股票代碼。 |
| rows[].market | string | 市場代碼(目前 baseline 為 TWSE)。 |
| rows[].trade_date | string | 資料日期(交易日語意,Asia/Taipei)。 |
| rows[].close | number | 收盤價。 |
| rows[].volume | number|null | 成交量。 |
| rows[].daily_return | number|null | 單日報酬率。 |
| rows[].ma_5 | number|null | 5 日均線。 |
| rows[].ma_20 | number|null | 20 日均線。 |
| rows[].ma_60 | number|null | 60 日均線。 |
| rows[].volume_avg_20 | number|null | 20 日平均成交量。 |
| rows[].return_5d | number|null | 5 日報酬率。 |
| rows[].return_20d | number|null | 20 日報酬率。 |
| rows[].volatility_20d | number|null | 20 日波動度。 |
| rows[].provider | string | 資料 provider(baseline: twse)。 |
| rows[].source_role | string | 資料來源角色(baseline: derived_from_twse_price)。 |
| rows[].indicator_basis | string | 指標基礎(baseline: close)。 |
| rows[].feature_set | string | 特徵集合版本(baseline: stage0)。 |
| rows[].formula_version | string | 公式版本(baseline: stage0_v1)。 |
| rows[].lineage | object|null | 資料血緣(若當前路由有回傳)。 |
| rows[].data_gaps | object|null | 資料缺口描述(若當前路由有回傳)。 |
| count | integer | 回傳資料筆數。 |
此 API 屬於 TW Market Data 資料集目錄。 查看資料集總覽