AI agent?先讀 /llms.txt 取得全站索引。
市場與價格
漲跌停事件:每筆為某股某日某方向鎖於當日漲跌停之事件,含前收、收盤、漲跌幅、套用之 era 幅度、是否鎖至收盤、連續次數、鎖量。衍生自正規化價格+漲跌幅制度沿革。非預測、非建議。
GET /v2/datasets/limit-events漲跌停事件是台灣市場資料集,來源為 TWSE,由 TW Market Data 以 GET /v2/datasets/limit-events 提供,資料日 2026-07-31。
| 欄位 | 型別 | 說明 |
|---|---|---|
ticker | string | |
market | string | |
trade_date | string | |
direction | string | up / down |
prev_close | number | not split-adjusted (R-02 pending) |
close | number | |
pct_change | number | |
limit_pct_applied | number | era band |
rule_effective_date | string | |
approx_band_pp | number | |
locked_at_close | boolean | |
consecutive_count | null | |
volume_at_limit | number | |
method | string | |
grade | string | |
rule_version | string | |
limit_confirmed | null |
| 列數 | 367,773 |
| 涵蓋起訖 | 1994-01-10 – 2026-09-04 |
| 分級 | 已驗證 |
| 量測時間 | 2026-09-04取自資料集登錄表 |
此為本端點的真實回應。資料列位於 "data" 之下,來源資訊如下方所示;各資料集形狀不盡相同,請以本頁為準。
{
"dataset_id": "limit_events",
"request_context": {
"scope": "twse_tpex_price_limit_hits",
"coverage_type": "daily_derived",
"filters": {
"ticker": null,
"market": null,
"direction": null,
"trade_date": null,
"date_from": null,
"date_to": null,
"locked_at_close": null,
"limit": 50
},
"min_trade_date": "2026-08-05",
"max_trade_date": "2026-08-05"
},
"quality": {
"row_count": 50,
"ticker_count": 50,
"locked_at_close_count": 50,
"unconfirmed_count": 2,
"sensitive_fields_exposed": false
},
"lineage": {
"methods": [
"approx",
"exact_official"
],
"rule_versions": [
"v0"
],
"semantics": "Days on which a security reached its statutory price limit, with the band in force (limit_pct_applied), the direction, whether it stayed locked at the close, and how many consecutive sessions it has done so. DERIVED from price history — there is no official limit-event feed to mirror."
},
"error": null,
"data": [
{
"ticker": "00715L",
"market": "TWSE",
"trade_date": "2026-08-05",
"direction": "down",
"prev_close": 45.02,
"close": 38.49,
"pct_change": -0.1450466459,
"limit_pct_applied": 0.1,
"rule_effective_date": "2015-06-01",
"approx_band_pp": 0.5,
"locked_at_close": true,
"consecutive_count": null,
"volume_at_limit": 18233482,
"method": "approx",
"grade": "derived",
"rule_version": "v0",
"limit_confirmed": null
},
{
"ticker": "1310",
"market": "TWSE",
"trade_date": "2026-08-05",
"direction": "up",
"prev_close": 7.43,
"close": 8.17,
"pct_change": 0.0995962315,
"limit_pct_applied": 0.1,
"rule_effective_date": "2015-06-01",
"approx_band_pp": 0.5,
"locked_at_close": true,
"consecutive_count": null,
"volume_at_limit": 7230149,
"method": "approx",
"grade": "derived",
"rule_version": "v0",
"limit_confirmed": null
}
],
"data_count": 50,
"known_gaps": [
"limit_pct_applied_records_the_band_in_force_that_day_7pct_before_2015_06_01",
"limit_confirmed_distinguishes_a_confirmed_limit_from_a_derived_one",
"derived_from_price_history_not_an_official_limit_event_feed"
],
"warnings": [
"not_investment_advice"
],
"envelope": {
"dataset_id": "limit_events",
"scope": "twse_tpex_price_limit_hits",
"row_count": 50
}
}擷取自 2026-07-20 的線上 API。
本服務部分資料取自政府資料開放平臺(data.gov.tw),依「政府資料開放授權條款-第1版」授權利用。資料提供機關:臺灣證券交易所、證券櫃檯買賣中心、臺灣期貨交易所、臺灣集中保管結算所、國家發展委員會、中央銀行、經濟部統計處、財政部關務署。本服務之加值處理、衍生計算與呈現方式由 TWMD 負責,與各資料提供機關無涉。
TW Market Data. (2026). 漲跌停事件 (Version 2026-07-31) [Data set]. TW Market Data. Retrieved 2026-09-05, from https://twmarketdata.com/zh-TW/docs/api/market-prices/limit-events
版本取自資料集自己的 as_of,不是這一頁的產生日期。沒有 as_of 的資料集就不列這個欄位,不會補一個看起來合理的值。 驗證簽章
可與本資料集對齊的其他資料集。每組都標出可用來 join 的欄位,規劃跨表查詢時不必自己猜。
curl "https://api.twmarketdata.com/v2/datasets/limit-events" \
-H "X-API-Key: sk_live_..."| 參數 | 必填 | 型別 | 說明 |
|---|---|---|---|
symbol | 是 | string | 股票代碼,例如 2330。 |
start_date | 否 | string (YYYY-MM-DD) | 查詢起始日期。 |
end_date | 否 | string (YYYY-MM-DD) | 查詢結束日期。 |
limit | 否 | integer | 回傳筆數上限。 |
import requests
resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/limit-events",
params={},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["data"])此端點為 GET /v2/datasets/limit-events。完整機器可讀 schema(參數、認證、回應封裝)見 OpenAPI spec。