Get Taiwan market overview
get_market_overviewTAIEX and sector indices, advancers and decliners, rankings, exchange rates, macro series and global benchmarks relevant to Taiwan. Data comes from the CubeLV Market Data API (https://cubelv.com/en/mcp/taiwan-stocks/): pick a method and pass its arguments in args. US markets are available only for the ADRs of Taiwan companies.
Methods:
rankings (Stock rankings and screener): Rank and filter stocks by percent change, change, volume, turnover or price. Taiwan (TWSE, TPEX) covers stocks and ETFs: live quotes from 09:00, the exchange's closing data once it arrives after the close (after 17:30 for TWSE), and the latest trading day's close before the open and on holidays (pre-open indicative prices are not trades and are excluded); the quotes field says which source was ranked, and sector restricts to one sector index's constituents. US combines NASDAQ, NYSE and AMEX and can also filter by sector, industry (see usSectors) and market cap, or sort by market cap. Up to 500 rows. Args: market (required): Market: TWSE, TPEX, NASDAQ, NYSE, AMEX, or US (all three US exchanges); sort: Sort field: changePercent, change, volume, turnover, price, or marketCap (US only; stocks without market cap are excluded); order: desc = largest first, asc = smallest first; limit: Number of rows (1-500, default 50); minPrice: Minimum price; maxPrice: Maximum price; minVolume: Minimum volume (Taiwan in lots of 1,000 shares, US in shares); minTurnover: Minimum turnover (trading value); minChangePercent: Minimum percent change; maxChangePercent: Maximum percent change; sector: Taiwan: sector index code from indices (e.g. IX0028) to rank only its constituents (TAIEX, other indices and composite sector indices return 400). US: sector name from usSectors (e.g. Technology), case-insensitive; industry: US: industry name from usSectors (e.g. Semiconductors), case-insensitive; minMarketCap: US: minimum market cap in USD; excludes stocks without market cap; maxMarketCap: US: maximum market cap in USD; excludes stocks without market cap.
breadth (Market breadth): Number of advancing, declining, unchanged, limit-up, limit-down and untraded common stocks on TWSE or TPEx. During trading it is computed from live quotes (session=intraday); otherwise it reads the closing statistics (session=close). Between the close and the evening import of the exchange's closing data, today's figures are computed from live quotes and may be slightly revised afterwards. Args: market (required): Market: TWSE or TPEX; date: Trading day (YYYYMMDD) to read closing statistics for; a 404 message gives the reason and the latest available trading day.
indices (Market and sector indices): Latest value, change and trading day for every TWSE or TPEx index, ordered as market index, sector indices, others; sector indices also carry the latest day's sector turnover. TWSE sector indices have two code families: A-series (A0011-A0099, A1000) have daily candles via history; IX-series (IX0020, IX0021, IX0028-IX0035, IX0041) have daily candles via history and daily rows via the quotes dataset (max 93 days per request). IX0013-IX0015 and IX0185-IX0188 have quotes only. Each row's dailyHistory tells whether history has daily candles for it. Args: market (required): Market: TWSE or TPEX.
popularity (Stock popularity (Wikipedia page views)): The Wikipedia article matched to a stock, its daily page views, and 7/30/90/365-day average, maximum, spike (maximum / average) and growth, usable as a proxy for search interest. US covers the top 3,000 common stocks by market cap (English Wikipedia); Taiwan covers TWSE- and TPEx-listed companies (Chinese Wikipedia). Data from 2015-07-01, updated daily with a 1-2 day lag; returns 404 if no article is matched. Args: market (required): Market: US (any US exchange), NASDAQ, NYSE, AMEX, TW (TWSE or TPEx), TWSE, TPEX; symbol (required): Symbol, e.g. NVDA, BRK.B, 2330; days: Number of most recent days in points (1-4000, default 365); metrics always use the last 730 days.
popularityRankings (Popularity rankings (Wikipedia page views)): Rank stocks by Wikipedia page views: spike (maximum / average over the last 7, 30, 90 or 365 days, i.e. a sudden surge), growth versus the previous period, or average views; a proxy for search-interest rankings. US covers the top 3,000 common stocks by market cap; Taiwan covers TWSE- and TPEx-listed companies. When one article maps to several symbols (e.g. GOOGL, GOOG) only the largest by market cap is listed; articles averaging fewer than minAverage daily views are excluded. Up to 500 rows. Args: market (required): Market: US (all three US exchanges), NASDAQ, NYSE, AMEX, TW (TWSE + TPEx), TWSE, TPEX; sort: Sort field: spikeN = N-day maximum / average, growthN = N-day average growth vs the previous N days (%), averageN = N-day average views, views = latest day's views; order: desc = largest first, asc = smallest first; limit: Number of rows (1-500, default 50); minAverage: Minimum average daily views over the sort period (views uses the last 7 days) to be listed (default 20).
fxCurrencies (Reference FX currencies): Currency codes (with their Chinese names) available for the daily reference exchange rates in fxRate and fxHistory.
fxRate (Daily reference exchange rate): Daily reference rate: how many units of quote one unit of base buys on a given date. Pairs published directly by TAIFEX use the published value; other pairs are cross rates through USD. Args: base (required): Base currency code (case-insensitive), as listed by fxCurrencies; quote (required): Quote currency code (case-insensitive); the rate is quote units per 1 base; date: Date, YYYYMMDD (Taipei); default today. Uses the latest published rate within 7 days on or before it; the response date is the rate date actually used.
fxHistory (Reference exchange rate history): Daily reference rates (quote units per 1 base) over a date range, oldest first. Args: base (required): Base currency code (case-insensitive), as listed by fxCurrencies; quote (required): Quote currency code (case-insensitive); from: Start date (inclusive), YYYYMMDD; default one year before to; to: End date (inclusive), YYYYMMDD; default today (Taipei); limit: Return only the most recent N rate dates in the range; omit for all.
macroSeries (Macro series list): Definitions and latest observation of every macroeconomic series: US and Taiwan macro data, central bank policy rates, US Treasury yields, crude oil spot prices, US dollar indices and Taiwan total return indices.
macroObservations (Macro series history): Observations of one macroeconomic series over a date range, oldest first. Up to 2000 rows. Args: id (required): Series id (case-insensitive), 64 in total; see macroSeries for the full list with latest values. US: US.CPI, US.CPI.YOY, US.CORE_CPI, US.CORE_CPI.YOY, US.UNEMPLOYMENT, US.NONFARM, US.NONFARM.CHANGE, US.GDP.QOQ, US.PCE_PRICE, US.PCE_PRICE.YOY, US.CORE_PCE_PRICE, US.CORE_PCE_PRICE.YOY, US.PERSONAL_INCOME, US.PERSONAL_INCOME.MOM, US.PERSONAL_SPENDING, US.PERSONAL_SPENDING.MOM, US.EFFR, US.FED_TARGET.LOWER, US.FED_TARGET.UPPER, US.TREASURY. (1M, 6W, 2M, 3M, 4M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30Y), US.OIL.WTI, US.OIL.BRENT, US.DOLLAR.BROAD, US.DOLLAR.AFE. Policy rates: US.FED, GB.BOE, AU.RBA, CN.PBOC, CA.BOC, EU.ECB, NZ.RBNZ, IN.RBI, RU.CBR, BR.BCB, JP.BOJ, CH.SNB followed by .POLICY_RATE. Taiwan: TW.TWSE.TOTAL_RETURN, TW.TPEX.TOTAL_RETURN, TW.CPI, TW.CPI.YOY, TW.UNEMPLOYMENT, TW.BUSINESS_SIGNAL, TW.LEADING, TW.LEADING.DETREND, TW.COINCIDENT, TW.COINCIDENT.DETREND, TW.LAGGING, TW.LAGGING.DETREND, TW.CBC.DISCOUNT, TW.CBC.SECURED, TW.CBC.UNSECURED. Unknown ids return 404; from: Start date (inclusive), YYYYMMDD, compared with the observation period (first day of the month for monthly data, first day of the quarter for quarterly data, effective date for policy rates); to: End date (inclusive), YYYYMMDD, compared the same way as from; limit: Most recent N observations in the range, returned oldest first (1-2000, default 60).
macroEvents (Macro release calendar): Release schedule of US and Taiwan government statistics ordered by release time; releases matching a collected series include the actual and previous values. Up to 500 rows. Args: from: Release date start (Taipei date, inclusive), YYYYMMDD; default seven days ago; to: Release date end (Taipei date, inclusive), YYYYMMDD; omit for no upper bound; limit: Maximum releases (1-500, default 50).
benchmarks (Global benchmark proxies): Live proxies for global gold, crude oil, the US dollar and US stock indices: front-contract quotes of TAIFEX gold, Brent crude, USD/CNY and US index futures, plus the corresponding US ETF symbols. For the published daily OHLC of the US indices use usIndexDaily.
fearGreed (Fear and Greed Index): Daily Fear and Greed Index, crypto version (alternative.me) or US stock version (CNN), with source attribution, newest first. Up to 5000 days. Args: kind (required): crypto = crypto version (alternative.me, UTC days); stock = US stock version (CNN, US trading days, latest is the previous trading day); limit: Most recent N days (1-5000, default 60).
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": "get_market_overview"
}
}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 |