Skip to main content

Products List

Futures and Options Contract List(Query Based on Conditions)

intraday/products/

Parameters

NameTypeDescription
type*stringType,valid in FUTUREOPTION
exchangestringExchange Type,valid in TAIFEX
sessionstringTradeing Session,valid in REGULARAFTERHOURS
contractTypestringContract Type,valid in I index;R rate;B bond;C commodity;S stock;E exchange rate
statusstringContract Status,valid in N normal;P pause;U upcoming

Response

NameTypeDescription
type*stringType
exchangestringExchange Tyep
sessionstringTrading Session
contractTypestringContract Type
statusstringContract Status
dataobject[]Contract List
>> symbolstringContract Symbol
>> typestringContract type
>> namestringSymbol name
>> underlyingSymbolstringUnerlying Symbol
>> contractTypestringContract Type
>> contractSizestringContract Size
>> statusCodestringStatus Code
>> tradingCurrencystringTrading Currency
>> quoteAcceptablebooleanProvide Quote Flag
>> startDatestringBeginning Date
>> canBlockTradebooleanSupport Block Trade Flag
>> expiryTypestringExpiry Type,S standard;W week
>> underlyingTypestringUnderlying Type,E ETF;S stock
>> marketCloseGroupstringClosing Time Group
>> endSessionstringLast Trading Deadline 0 regular;1 afterhours
info

'*' Indicates mandatory disclosure fields.

Example

from fubon_neo.sdk import FubonSDK, Order

sdk = FubonSDK()

accounts = sdk.login("Your ID", "Your password" , "Your cert path", "Your cert password")

sdk.init_realtime()

restfut = sdk.marketdata.rest_client.futopt
restfut.intraday.products(type='FUTURE', exchange='TAIFEX',session='REGULAR', contractType='E')

Response Body:

{
"type": "FUTURE",
"exchange": "TAIFEX",
"session": "AFTERHOURS",
"contractType": "E",
"data": [
{
"symbol": "RHF",
"type": "FUTURE_AH",
"canBlockTrade": true,
"contractSize": 100000,
"contractType": "E",
"endSession": "0",
"expiryType": "S",
"marketCloseGroup": 10,
"name": "美元兌人民幣期貨",
"quoteAcceptable": true,
"startDate": "",
"statusCode": "N",
"tradingCurrency": "CNY",
"underlyingSymbol": "",
"underlyingType": ""
},
{
"symbol": "RTF",
"type": "FUTURE_AH",
"canBlockTrade": true,
"contractSize": 20000,
"contractType": "E",
"endSession": "0",
"expiryType": "S",
"marketCloseGroup": 10,
"name": "小型美元兌人民幣期貨",
"quoteAcceptable": true,
"startDate": "",
"statusCode": "N",
"tradingCurrency": "CNY",
"underlyingSymbol": "",
"underlyingType": ""
},
{
"symbol": "XAF",
"type": "FUTURE_AH",
"canBlockTrade": true,
"contractSize": 25000,
"contractType": "E",
"endSession": "0",
"expiryType": "S",
"marketCloseGroup": 10,
"name": "澳幣兌美元期貨",
"quoteAcceptable": true,
"startDate": "",
"statusCode": "N",
"tradingCurrency": "USD",
"underlyingSymbol": "",
"underlyingType": ""
}
]
}