AI agent?先讀 /llms.txt 取得全站索引。
衍生與可轉債
TAIFEX 選擇權結算價——每個選擇權契約序列的官方每日結算價,用於部位逐日結算。
GET /v2/datasets/taifex-options-settlement-price選擇權結算價是台灣市場資料集,來源為 TAIFEX,由 TW Market Data 以 GET /v2/datasets/taifex-options-settlement-price 提供。
taifex-options-settlement-price 每交易日每個選擇權契約序列回傳一列,載明官方 TAIFEX 結算價,以契約、履約價與買賣權別為鍵。它單獨提供權威結算數字,使部位可依交易所自身數字逐日結算;每列保留來源角色以供追溯。
| 欄位 | 型別 | 說明 |
|---|---|---|
trade_date | string | |
contract_symbol | string | |
option_type | string | |
strike_price | number | 契約序列履約價。 |
expiry_month | string | |
settlement_price | number | 官方每日結算價。 |
| 列數 | 156,638 |
| 涵蓋起訖 | 2026-06-04 – 2026-09-03 |
| 分級 | 已驗證 |
| 量測時間 | 2026-09-04取自資料集登錄表 |
此為本端點的真實回應。資料列位於 "data" 之下,來源資訊如下方所示;各資料集形狀不盡相同,請以本頁為準。
{
"dataset_id": "taifex_options_settlement_price",
"request_context": {
"scope": "taifex_options_settlement_price_only",
"coverage_type": "bounded_verified_snapshot_set",
"filters": {
"trade_date": null,
"date_from": null,
"date_to": null,
"contract_code": "TXO",
"expiry_month": null,
"call_put": null,
"source_family": null,
"limit": 50
},
"min_trade_date": "2026-08-04",
"max_trade_date": "2026-08-04"
},
"quality": {
"row_count": 50,
"contract_count": 1,
"sensitive_fields_exposed": false
},
"lineage": {
"source_providers": [
"taifex_official"
],
"source_roles": [
"official_taifex_daily_market_report_opt"
],
"source_families": [
"taifex_options_settlement_price"
]
},
"error": null,
"data": [
{
"trade_date": "2026-08-04",
"contract_symbol": "TXO",
"option_type": "CALL",
"strike_price": 21800,
"expiry_month": "202609",
"settlement_price": 21640,
"source_provider": "taifex_official",
"source_role": "official_taifex_daily_market_report_opt",
"source_family": "taifex_options_settlement_price",
"lineage": {
"endpoint": "https://openapi.taifex.com.tw/v1/DailyMarketReportOpt",
"source_role": "official_taifex_daily_market_report_opt",
"raw_call_put": "買權",
"source_family": "taifex_options_settlement_price",
"source_provider": "taifex_official",
"raw_trading_session": "一般"
},
"data_gaps": []
},
{
"trade_date": "2026-08-04",
"contract_symbol": "TXO",
"option_type": "CALL",
"strike_price": 21800,
"expiry_month": "202609",
"settlement_price": null,
"source_provider": "taifex_official",
"source_role": "official_taifex_daily_market_report_opt",
"source_family": "taifex_options_settlement_price",
"lineage": {
"endpoint": "https://openapi.taifex.com.tw/v1/DailyMarketReportOpt",
"source_role": "official_taifex_daily_market_report_opt",
"raw_call_put": "買權",
"source_family": "taifex_options_settlement_price",
"source_provider": "taifex_official",
"raw_trading_session": "盤後"
},
"data_gaps": []
}
],
"data_count": 50,
"known_gaps": [
"options_settlement_only",
"single_trading_date_baseline",
"no_futures_settlement"
],
"warnings": [
"not_investment_advice",
"options_settlement_only"
],
"envelope": {
"dataset_id": "taifex_options_settlement_price",
"scope": "taifex_options_settlement_price_only",
"row_count": 50
}
}擷取自 2026-07-20 的線上 API。
本頁顯示原始中文值;英文頁會以標記取代,以維持全英文。
以下欄位會隨資料一併回傳,記錄這一列的來源。它們屬於出處而非本資料集要講的事實,因此列在這裡而不進欄位表。
source_providersource_rolesource_familylineagedata_gaps本服務部分資料取自政府資料開放平臺(data.gov.tw),依「政府資料開放授權條款-第1版」授權利用。資料提供機關:臺灣證券交易所、證券櫃檯買賣中心、臺灣期貨交易所、臺灣集中保管結算所、國家發展委員會、中央銀行、經濟部統計處、財政部關務署。本服務之加值處理、衍生計算與呈現方式由 TWMD 負責,與各資料提供機關無涉。
TW Market Data. (n.d.). 選擇權結算價 [Data set]. TW Market Data. Retrieved 2026-09-05, from https://twmarketdata.com/zh-TW/docs/api/derivatives/taifex-options-settlement-price
版本取自資料集自己的 as_of,不是這一頁的產生日期。沒有 as_of 的資料集就不列這個欄位,不會補一個看起來合理的值。 驗證簽章
可與本資料集對齊的其他資料集。每組都標出可用來 join 的欄位,規劃跨表查詢時不必自己猜。
可用 trade_date 對齊
可用 trade_date 對齊
可用 trade_date 對齊
可用 trade_date 對齊
可用 trade_date 對齊
curl "https://api.twmarketdata.com/v2/datasets/taifex-options-settlement-price?contract_code=TXO" \
-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/taifex-options-settlement-price",
params={"contract_code": "TXO"},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["data"])此端點為 GET /v2/datasets/taifex-options-settlement-price。完整機器可讀 schema(參數、認證、回應封裝)見 OpenAPI spec。