Find TAIFEX contracts and trading days
search_contractsFinds TAIFEX futures by product code or name with the continuous codes of the listed months and the contract each maps to, lists the futures and options products that have institutional data, and answers trading calendar questions. Data comes from the CubeLV Market Data API (https://cubelv.com/en/mcp/taiwan-futures/): pick a method and pass its arguments in args. The market is TAIFEX (filled in when market is omitted).
Methods:
symbols (Symbol search): Search Taiwan stocks, US stocks and TAIFEX futures by symbol prefix or name fragment (e.g. 2330 or TSMC's Chinese name). For TAIFEX, each futures product lists the continuous codes of its currently listed months (CDF1-CDF5, TXF1-TXF6, mini-TAIEX weeklies MXFW1, MXFW2) with the contract they currently map to (contract) and its expiry month (expiry); stock and ETF futures also carry the underlying symbol and name. TAIFEX options are not listed here: use optionChainLive for live strike codes and quotes, optionChain or optionIV for end-of-day data. Returns up to 50 results. Args: query (required): Symbol prefix or name fragment (up to 64 characters); market: Restrict to one market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; omit for all markets; limit: Maximum results (1-50, default 50).
calendar (Trading calendar): Whether each day in a date range is a trading day. TWSE, TPEX, ESB and TAIFEX share the Taiwan exchange calendar; NASDAQ, NYSE and AMEX share the NYSE calendar. The range is at most 400 days. Args: market (required): Market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; from: Start date, YYYYMMDD; defaults to today in the exchange's local time; to: End date, YYYYMMDD; defaults to from + 30 days; range at most 400 days.
tradingDay (Trading day check): Whether a given date (or today in the exchange's local time) is a trading day, plus the previous and next trading days. Args: market (required): Market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; date (required): Date as YYYYMMDD, or today (today in the exchange's local time).
derivativeProducts (Futures and options products with institutional data): TAIFEX futures and options product codes and names that have institutional investor data, with the latest data date. Use it to find the product code before calling derivativesInstitutional.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"method": "<method>"
},
"name": "search_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments of the method, as listed in the tool description | |
| lang | No | Language for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en | |
| method | Yes | Method from the list in the tool description |