Skip to main content

Intraday Trades BETA

取得期權成交明細(依代碼查詢)

GET /intraday/trades/{symbol}

Parameters

NameTypeDescription
symbol*string期權代碼
sessionstring交易時段,可選 afterhours 夜盤
offsetnumber偏移量
limitnumber限制量

Response

NameTypeDescription
date*string日期
type*string期權類型
exchange*string交易所
symbol*string商品代碼
data*object[]成交明細
data[0].bidnumber成交買價
data[0].asknumber成交賣價
data[0].pricenumber成交價格
data[0].sizenumber成交單量
data[0].timenumber成交時間
data[0].serialnumber流水號

Example

curl -X 'GET' \
'https://api.fugle.tw/marketdata/v1.0/futopt/intraday/trades/TXFC5' \
-H 'X-API-KEY: <YOUR_API_KEY>'

Response Body:

{
"date": "2024-10-22",
"type": "FUTURE",
"exchange": "TAIFEX",
"symbol": "TXFC5",
"data": [
{
"bid": 23622,
"ask": 23655,
"price": 23655,
"size": 1,
"time": 1729574996621000,
"serial": 218421
},
{
"bid": 23583,
"ask": 23597,
"price": 23583,
"size": 1,
"time": 1729573825049000,
"serial": 208004
},
{
"bid": 23607,
"ask": 23648,
"price": 23648,
"size": 1,
"time": 1729571331711000,
"serial": 188854
},
{
"bid": 23568,
"ask": 23605,
"price": 23605,
"size": 1,
"time": 1729563837862000,
"serial": 140103
},
{
"bid": 23568,
"ask": 23605,
"price": 23604,
"size": 1,
"time": 1729563835924000,
"serial": 140081
},
{
"bid": 23568,
"ask": 23605,
"price": 23602,
"size": 1,
"time": 1729563833108000,
"serial": 140018
},
{
"bid": 23568,
"ask": 23605,
"price": 23602,
"size": 1,
"time": 1729563830690000,
"serial": 140008
},
{
"bid": 23568,
"ask": 23605,
"price": 23600,
"size": 1,
"time": 1729563826344000,
"serial": 139988
},
{
"bid": 23559,
"ask": 23602,
"price": 23593,
"size": 1,
"time": 1729563713019000,
"serial": 139171
},
{
"bid": 23572,
"ask": 23611,
"price": 23611,
"size": 1,
"time": 1729563629699000,
"serial": 138540
}
]
}