Taiwan market summary
tw_get_marketThe Taiwan stock market on one trading day (default the latest): for TWSE and TPEx each, the total value traded and the number of companies up, down and flat (added up and counted by Livermore from the official quotes), and three rankings of companies (ETFs and other securities left out): largest value traded, largest gains and largest losses by percent (change divided by the previous close, calculated by Livermore; untraded stocks and stocks without a comparable change are left out). data_dates gives the latest date of each daily table (quotes, institutional, margin, foreign holding). A date without quotes (weekend, holiday, not loaded yet) returns an error naming the latest trading day. For institutional net buying use tw_list_institutional_ranking. Taiwan conventions: money is in New Taiwan dollars (currency TWD), share counts are in shares (1 lot = 1,000 shares), prices are in TWD and fields ending in _pct are percentages (12.5 means 12.5%). market is TWSE (listed) or TPEx (OTC). Names are in Traditional Chinese, with name_en where available. url links to tw.livermore.club, whose pages are in Traditional Chinese only. Keep attribution when you present the data: Taiwan's Open Government Data License requires naming its sources, and fields listed in computed_by_livermore are Livermore's calculations, not official figures.
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": "tw_get_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Trading day, YYYY-MM-DD. Default: the latest day with quotes. | |
| limit | No | Rows per ranking (1-50, default 10). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| date | Yes | ||
| markets | Yes | ||
| currency | Yes | Every amount of money in this result is in New Taiwan dollars (TWD). | |
| rankings | Yes | ||
| data_dates | Yes | The latest date loaded in each daily table. | |
| attribution | Yes | Required attribution: Taiwan's Open Government Data License requires naming the sources when you present or pass on this data, and Livermore's own calculations must be kept apart from the official figures. |