Taiwan stock: daily prices and chips
tw_get_daily_tradingDaily trading data of one Taiwan stock or ETF, newest day first (since 2021): price (open, high, low, close, change, volume, turnover; raw prices not adjusted for dividends, null on days without a trade), institutional (net buying by the three institutional investor types: foreign_* is foreign and mainland Chinese investors excluding foreign-owned dealers, trust_* investment trusts, dealer_* dealers' proprietary trading and hedging, total_net all three), margin (margin purchases and short sales with balances and limits), securities_lending (short sales of borrowed securities) and foreign_holding (shares issued, foreign holding and its percent, room left and the legal limit). All counts are shares (the exchanges publish margin data in lots; converted). Taiwan daily prices are government open data. Quotes and institutional data arrive at about 5:30 PM Taiwan time; margin, securities lending and foreign holding data at about 10:30 PM, so on the latest day those parts can be null (note says so). change_pct is calculated by Livermore. tw_list_institutional_ranking ranks the whole market. 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
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": {
"code": "<code>"
},
"name": "tw_get_daily_trading"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Taiwan stock code, e.g. 2330 (TSMC), 0050 (an ETF) or 00981A. Lowercase, 2330.TW and 2330.TWO also work. Use tw_search to find a code by company name. | |
| days | No | Number of trading days, newest first (1-200, default 20). Data starts in 2021. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The chips page on tw.livermore.club (Traditional Chinese). | |
| code | Yes | ||
| name | Yes | Short name in Traditional Chinese. | |
| note | Yes | ||
| rows | Yes | ||
| market | Yes | TWSE = listed on the Taiwan Stock Exchange; TPEx = traded on the Taipei Exchange (OTC market). | |
| name_en | Yes | English short name (for example TSMC); null when there is none. | |
| currency | Yes | Every amount of money in this result is in New Taiwan dollars (TWD). | |
| 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. |