Taiwan stock overview
tw_get_stockOverview of one Taiwan stock or ETF (TWSE or TPEx) by code. security: names, market, kind, industry, listing and founding dates, chairman, president, website, auditor, main business (MOPS), shares outstanding and paid-in capital. quote: the latest trading day's close, change, volume and turnover with the P/E, P/B and dividend yield published by TWSE or TPEx (raw prices, not adjusted for dividends; Taiwan daily prices are government open data), plus change_pct and market_cap (close times shares issued) calculated by Livermore. latest_revenue: the latest month of revenue (see tw_get_monthly_revenue). latest_quarter: revenue, gross profit, operating income, net income attributable to the parent, EPS, margins, growth, ROE and debt ratio for the latest quarter (full statements in tw_get_financials). dividends: cash and stock dividends per share for the last 5 fiscal years (each year added up by Livermore) and the latest or upcoming ex-dividend date. intro: a company profile written by AI from the company's latest annual report (summary, products with revenue shares, markets, customers, suppliers, competitors, industry position, last year's results, outlook, milestones; Traditional Chinese). It may contain errors; the annual report's figures prevail (annual_report_url). industry_chains: the TPEx industry value chain segments the company belongs to, with up to 5 peers per segment by market cap (tw_get_industry_chain lists whole chains). production_sites: factories and other production sites researched by AI from public sources (status operating, under_construction or planned, location, coordinates and their precision, sources per site); coordinates with precision address, region or city come from OpenStreetMap and need the credit in coordinates_credit. urls: the overview, revenue, financials and chips pages. A part is null when there is no data: ETFs and other securities usually have only security, quote and dividends. For price history and daily institutional, margin, securities lending and foreign holding data use tw_get_daily_trading. 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_stock"
}
}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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| intro | Yes | ||
| quote | Yes | ||
| currency | Yes | Every amount of money in this result is in New Taiwan dollars (TWD). | |
| security | Yes | ||
| dividends | Yes | ||
| 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. | |
| latest_quarter | Yes | ||
| latest_revenue | Yes | ||
| industry_chains | Yes | ||
| production_sites | Yes |