Intraday Ticker BETA
取得期權基本資料(依商品代碼查詢)
GET /intraday/quote/{symbol}
Parameters
Name | Type | Description |
---|---|---|
symbol * | string | 商品代碼 |
session | string | 交易時段,可選 afterhours 盤後交易 |
Response
Name | Type | Description |
---|---|---|
date * | string | 日期 |
type * | string | 期權類型 |
exchange * | string | 交易所 |
symbol * | string | 商品代碼 |
name * | string | 商品名稱 |
referencePrice | number | 參考價 |
settlementDate | string | 最後結算日 |
startDate | string | 上市日期 |
endDate | string | 下市日期 |
Example
- cURL
- Python
- Node.js
curl -X 'GET' \
'https://api.fugle.tw/marketdata/v1.0/futopt/intraday/ticker/TXFC5' \
-H 'X-API-KEY: <YOUR_API_KEY>'
from fugle_marketdata import RestClient
client = RestClient(api_key = 'YOUR_API_KEY')
futopt = client.futopt
futopt.intraday.ticker(symbol='TXFC5')
const { RestClient } = require("@fugle/marketdata");
const client = new RestClient({ apiKey: "YOUR_API_KEY" });
client.futopt.intraday
.ticker({ symbol:"TXFC5" })
.then((data) => console.log(data));
Response Body:
{
"date": "2024-07-19",
"type": "FUTURE",
"exchange": "TAIFEX",
"symbol": "TXFC5",
"name": "臺股期貨035",
"referencePrice": 23565,
"settlementDate": "2025-03-19",
"startDate": "2024-03-21",
"endDate": "2025-03-19"
}