Get realtime Taiwan market indices
get_market_indexRetrieve near-realtime Taiwan headline index values (TAIEX, TPEX, FRMSA), including change, open/high/low, and optional intraday TAIEX/TPEX series for the current or last session.
Instructions
Near-realtime values of Taiwan's headline indices: TAIEX (發行量加權股價指數, TWSE), TPEX (櫃買指數) and FRMSA (寶島股價指數). Returns value, previous close, change, change percent and the day's open/high/low. Set intraday for a sampled minute-by-minute series of TAIEX and TPEX for the current or last session. Outside trading hours (09:00-13:30 Taipei) it returns the last session with status "previous_session".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_market_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | No | Intraday points to return per index (default 28, about every 10 minutes). | |
| indices | No | Default ["TAIEX", "TPEX"]. | |
| intraday | No | Include an intraday series (TAIEX and TPEX only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indices | Yes | ||
| retrieved_at | Yes |