Skip to main content
Glama

Taiwan Stocks

Server Details

Taiwan stock data in English: TWSE/TPEx quotes, institutional flows, filings, revenue and ETFs.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A4/5.0

Scored across 18 tools

Disambiguation4/5

The top-level tools split the domain cleanly (quotes vs. price history vs. trading flows vs. fundamentals vs. ETFs/funds vs. derivatives), and the account tools (watchlist, alerts, backtest, screener) are clearly distinct from the data tools. Residual overlap exists where several tools touch related subject matter (TAIFEX data appears in get_quotes, get_price_history and get_derivatives; holder tools span etfHolders, fundHolders, fundCompanyHoldings; industry/peers appears under get_company_fundamentals while sectors appear in get_market_overview), so an agent must read descriptions carefully but can still separate them.

Naming Consistency4/5

All names are snake_case verb_noun and follow two recognizable patterns: action tools (add_to_watchlist, remove_from_watchlist, create_alert, list_alerts, delete_alert, run_backtest, screen_stocks) and domain dispatchers prefixed with get_ (get_quotes, get_price_history, get_trading_flows, etc.). Minor deviations (search_symbols bundling calendar/tradingDay; a dispatcher named get_quotes whose methods are quote/quotes) are readable but slightly blur the action-vs-aggregator convention.

Tool Count3/5

Eighteen top-level tools is at the upper edge of comfortable, and the real surface is far larger because several tools are mega-dispatchers (get_trading_flows alone exposes ~17 methods, get_company_fundamentals ~13, get_derivatives ~10). The grouping keeps the count manageable, but single tools with a dozen-plus methods and argument-heavy `args` objects make selection and parameterization heavy for an agent.

Completeness5/5

Coverage is exceptionally complete for a Taiwan-markets server: real-time and batch quotes, candles and tick data, fundamentals/statements/ratios, monthly revenue and earnings, dividends, valuation bands, institutional and broker flows, shareholding and insiders, ETFs, funds, TAIFEX derivatives, filings/news, macro/FX, symbol search, calendar, alerts, watchlist, screener and backtesting. No obvious lifecycle gaps remain for the stated scope.

Available Tools

18 tools
add_to_watchlistAdd stocks to my watchlistA
Idempotent
Inspect

Adds Taiwan stocks or Taiwan-company ADRs to a watchlist group in the user's CubeLV account (the first group when no group is given). Stocks already in the group keep their place.

Inputs: symbols (required), lang, group.

create_alertCreate an alertAInspect

Creates an alert in the user's CubeLV account that keeps running after the chat ends and notifies the user in the CubeLV app. kind price: notifies when a stock's price crosses a level (Taiwan stocks, TAIFEX futures, Taiwan-company ADRs). kind screen: a saved screen on TWSE and TPEx stocks that notifies when a stock newly matches the conditions, checked during the session and after the close.

Inputs: kind (required), name (required), op, lang, +5 more.

delete_alertDelete an alertA
DestructiveIdempotent
Inspect

Deletes an alert, saved screen or backtested strategy from the user's CubeLV account by its id from list_alerts, together with its backtests.

Inputs: id (required), lang.

get_company_fundamentalsGet company fundamentalsA
Read-onlyIdempotent
Inspect

Company profiles, monthly revenue, financial statements and ratios, dividends and valuation of Taiwan companies. 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:

  • fundamentals (Fundamentals and dividend summary): One call for a stock's valuation, last 13 months of revenue, year-to-date profit and loss for the last 8 quarters and full-year results for the last 10 years, latest balance sheet, company profile, and 10 years of ex-rights/ex-dividend events, dividend recovery and annual yields. US stocks come from SEC EDGAR financial data and add balance sheet details, quarterly and annual cash flow, trailing twelve months (TTM), historical share counts and declared dividends; foreign issuers filing 20-F also carry reporting and quote currencies, the ADS ratio and USD-converted figures (usdView). Args: market (required): Market, case-insensitive: TWSE, TPEX (Taiwan) or NASDAQ, NYSE, AMEX (US, SEC EDGAR); symbol (required): Stock symbol, case-insensitive, 1-32 letters/digits or . _ -; US share classes as BRK.B.

  • statements (Financial statements (all line items)): All line items of the income statement, balance sheet or cash flow statement, arranged as line items by period, on a quarterly, year-to-date cumulative or annual basis. US stocks (NASDAQ, NYSE, AMEX) use standardized SEC line items. Up to 40 periods. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market; NASDAQ, NYSE, AMEX = US (SEC filings); symbol (required): Stock symbol; US share classes as BRK.B; type: Statement: income, balance or cashflow (default income); periods: Most recent N periods, newest first (1-40, default 8); basis: quarter = single quarter, cumulative = year to date, annual = full year (Q4 only); US companies filing only annual reports (20-F, 40-F) always return annual.

  • ratios (Financial ratios): Profitability, solvency, efficiency and cash flow ratios per period, plus revenue, net income, EPS and cash flow amounts, on a quarterly or annual basis. US stocks use SEC data and also offer a trailing-twelve-month (ttm) basis and ROI. Up to 40 periods. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market; NASDAQ, NYSE, AMEX = US (SEC filings); symbol (required): Stock symbol; US share classes as BRK.B; periods: Most recent N periods, newest first (1-40, default 8); basis: quarter = single quarter, annual = full year; ttm = trailing four quarters (US only).

  • monthlyEarnings (Monthly self-reported earnings and EPS): Monthly self-reported (unaudited) pre-tax and after-tax profit and EPS for the month and year to date for TWSE/TPEx companies, with the announcement date and time, subject and source line; months not yet announced are not listed. Sources are MOPS monthly earnings announcements (securities firms, financial holding companies, banks and voluntary filers) and the monthly self-reported earnings summary. Up to 240 months. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), case-insensitive; symbol (required): Stock symbol, 1-32 letters/digits or . _ - after uppercasing; months: Most recent N months with self-reported earnings (1-240, default 12).

  • revenue (Monthly revenue history): Monthly revenue (TWD) with month-over-month, year-over-year and cumulative year-over-year growth, plus the month's average unadjusted close and month-end close; the period is the month the revenue belongs to. Up to 300 months. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market, case-insensitive; symbol (required): Stock symbol, 1-32 letters/digits or . _ - after uppercasing; months: Most recent N months with revenue data (1-300, default 36).

  • valuation (P/E, P/B and yield bands with current valuation): Daily close with computed P/E and P/B (close divided by trailing four-quarter EPS and book value per share available that day, plus the exchange-published values), daily cash dividend yield, P/E and P/B band charts, cheap/fair/expensive prices from historical percentiles of the multiples, and the average and median published valuation of peers in the same market and industry. Up to 10 years. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), case-insensitive; symbol (required): Stock symbol, 1-32 letters/digits or . _ - after uppercasing; years: Years back from today, Taipei time (1-10, default 5).

  • dividendPolicy (Dividend history by year): Per fiscal year of the dividend: cash and stock dividends, EPS, payout ratio, yield on the following year's average price, ex-rights/ex-dividend dates and payment dates, plus consecutive years paid, consecutive years of increases and recent averages. Up to 30 years. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), case-insensitive; symbol (required): Stock symbol, 1-32 letters/digits or . _ - after uppercasing; years: Number of dividend fiscal years back from latestFiscalYear (1-30, default 10).

  • company (Company profile): All fields of a company's basic profile as published by TWSE or TPEx (chairman, spokesperson, address, paid-in capital, shares outstanding, auditors, etc.) and its main business lines. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market; symbol (required): Stock symbol (letters/digits and . _ -, up to 32 characters).

  • productMix (Revenue by product): Monthly revenue by product line and its share of the product total (before returns and allowances) from the company's latest MOPS product mix filing; declared is false if the company has not filed. Data may be up to 12 hours old. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market; symbol (required): Stock symbol (letters/digits and . _ -, up to 32 characters).

  • investees (Investees from financial statement notes): Investee companies and mainland China investments disclosed in a quarter's financial statement notes: location, main business, ownership percentage, carrying amount and recognized profit or loss. Defaults to the latest quarter. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market (case-insensitive); symbol (required): Company symbol (case-insensitive); year: Financial report year (2013-2100), given together with season; omit both for the latest quarter; season: Quarter 1-4, given together with year; kind: investee = investee companies only, mainland = mainland China investments only; omit for both.

  • related (Related instruments of a stock): Instruments related to a Taiwan stock: number of call and put warrants and the most traded ones, convertible bonds issued by the company, stock futures and options codes, and the ETFs holding it with the largest weights. Args: market (required): Stock market: TWSE, TPEX or ESB; symbol (required): Stock symbol; date: Query date, YYYYMMDD, not after today; uses the latest trading day with closing data on or before it; default today; limit: Number of warrants and ETFs to list each (1-50, default 10).

  • industry (Industry chain and peers): A Taiwan stock's industry classification, position in its industry supply chain, peers' latest trading-day quotes, and the supply chain's share of trading value over the last 20 trading days. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market (case-insensitive); symbol (required): Security symbol, matching ^[A-Z0-9._-]{1,32}$ after uppercasing; date: Reference date, YYYYMMDD; uses the latest trading day with closing data on or before it; default today (Taipei), not after today; limit: Maximum peers, largest market cap first (1-100, default 50); out of range returns 400.

  • industries (Taiwan industry classification list): Taiwan industry classifications (as in the TWSE ISIN code list) with code, original Chinese name and the name in a requested language. Industry names in company, screener and sector responses are the original names; display them using the label from here.

Inputs: method (required), args, lang.

get_derivativesGet futures, options and warrantsA
Read-onlyIdempotent
Inspect

TAIFEX futures and options (option chains, implied volatility, institutional positions, put/call ratio, contract specs) and Taiwan warrants. 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:

  • derivativeProducts (Futures and options products with institutional data): TAIFEX futures and options product codes and names that have institutional investor data, with the latest data date. Use it to find the product code before calling derivativesInstitutional.

  • derivativesInstitutional (Futures and options institutional positions): Daily long and short trading volume (contracts), contract value and open interest of the three major institutional investors (foreign investors, investment trusts, dealers) in a TAIFEX futures or options product, optionally split into calls and puts or limited to the after-hours session. Up to 400 trading days per request. Args: product (required): TAIFEX product code (TXF, TXO), continuous code (TXF1) or the product's Chinese name as in the TAIFEX table; see derivativeProducts; side: Options only: call or put; omit for the total; session: all = regular (day) session as in the main TAIFEX table, excluding the night session; after_hours = after-hours (night) session only, without open interest; from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Most recent N trading days (1-400, default 30); use from and to to page further back.

  • putCallRatio (TAIEX options put/call ratio): Daily call and put volume, open interest and put/call ratios for TAIEX options (TXO), oldest first. Up to 400 trading days per request; for longer ranges page with from and to. Args: from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Most recent N trading days within from-to (1-400, default 30).

  • optionChain (Option chain (end of day)): End-of-day data for every strike of one TAIFEX options contract on a trading day (updated after 17:30 each trading day): list of expiries, settlement prices and open interest. TAIEX (TXO), electronics (TEO) and finance (TFO) options also carry, for the regular session, implied volatility (iv) backed out from the settlement price, Black-76 Greeks (delta, gamma, vega, theta), and for each expiry the expiry date, days to expiry, put-call-parity forward and at-the-money IV (expiryIV). Stock options have prices only, no IV. For live quotes use optionChainLive; for 30-day IV and IV Rank use optionIV. Args: contract (required): TAIFEX options contract code, e.g. TXO, TEO, TFO, or a stock option such as CAO; IV and Greeks only for TXO, TEO, TFO; date: Trading day, YYYYMMDD; default the latest day with data; expiry: Expiry month or week, e.g. 202610, 202610W2, 202610F1; omit for all expiries; session: regular or after_hours; omit for both.

  • optionChainLive (Live option chain): Live quotes for every expiry and strike of TAIEX (TXO, including Wednesday and Friday weeklies), electronics (TEO) and finance (TFO) options in the current session: best bid/ask with size, last price, change, open/high/low, session volume, reference price, price limits and the previous regular session's open interest. Expiries within 35 days update about every 5 seconds, others about every minute. Regular session 08:45-13:45, after-hours session 15:00-05:00 Taipei time (TEO and TFO have no after-hours session); after the close it shows the last session's closing state. With expiry only that expiry's quotes are returned (expiries still lists all); without it all expiries (over a thousand rows for TXO). Each row's symbol can be passed to quote, quotes or subscribe, or written as TXO202611C46900 (contract + expiry + C/P + strike; weeklies TXO202610W4P41600, TXO202610F4C41600). No order book depth, IV or Greeks: use optionChain and optionIV for those. Args: contract (required): TAIFEX options contract code: TXO (including weeklies), TEO, TFO; expiry: Expiry month or week, e.g. 202611, Wednesday weekly 202610W4, Friday weekly 202610F4; omit for all expiries.

  • optionIV (Option implied volatility and IV Rank): Daily 30-day constant-maturity at-the-money implied volatility, IV Rank and IV percentile (over the last 252 trading days) for TAIFEX index options (TXO, TEO, TFO), plus the latest day's at-the-money IV per expiry (term structure). Backed out with Black-76 from regular-session settlement prices; TXO from 2001-12-24, updated after 17:30 each trading day. Not available for stock options. Args: contract (required): Index options contract: TXO = TAIEX, TEO = electronics, TFO = finance; from: Start date (inclusive), YYYYMMDD; with from and no limit, everything up to to is returned; to: End date (inclusive), YYYYMMDD; default latest; limit: Most recent N trading days (1-7000, default 60); IV Rank always looks back 252 trading days regardless of limit.

  • futuresTrades (Futures trade-by-trade details): Tick-by-tick trades of a TAIFEX futures contract (monthly contracts and mini-TAIEX weeklies) on a trading day, newest first with paging via before, plus outside (buy-initiated) and inside (sell-initiated) volume in contracts; a match that sweeps several prices yields one row per price. Trading days follow TAIFEX: the night session belongs to the next trading day. Only trades received live since the service last started are available, and only for the last two trading days; sessions shows when collection started and how many contracts were missed. Up to 5000 trades per page. Args: symbol (required): Continuous code (TXF1 = front month, TXF2 = next month, TXF3 and up by expiry order, MXFW1 = nearest mini-TAIEX weekly; resolved at query time), specific month (TXF202611, MXF202610W4) or contract code (TXFK6, MX1K6); date: Trading day, YYYYMMDD (night sessions belong to the next trading day; Friday night belongs to Monday); default the latest day with trades; limit: Trades per page (1-5000, default 200); before: Pagination cursor: nextBefore from the previous page ([HHMMSS[mmm|uuuuuu]:]sequence; only the sequence is used).

  • contractSpecs (Futures contract specs and margins): TAIFEX futures contract multiplier, quote currency and initial and maintenance margin per contract; for stock and ETF futures the margin amount is converted using the futures settlement price. Args: product: Product code (TXF, CDF), continuous code (TXF1, CDF2, MXFW1) or contract code (TXFJ6, MX1J6); omit for all.

  • warrants (Warrant search): Filter TWSE- and TPEx-listed warrants by underlying, market, call/put, name and last trading date; returns strike, exercise ratio, expiry and live derived metrics. Spread metrics (bestBid, bestAsk, spread, spreadPct) are only present during trading when both sides have orders. Up to 2000 rows. Args: underlying: Underlying symbol (2330) or name, up to 64 characters; market: Warrant market: TWSE or TPEX; omit for both; kind: call or put warrants; q: Match against warrant symbol and name, up to 64 characters; expiresFrom: Earliest last trading date, YYYYMMDD; default today (Taipei); expiresTo: Latest last trading date, YYYYMMDD; limit: Maximum warrants (1-2000, default 100).

  • warrant (Single warrant): Terms, last close and live derived metrics of one warrant; if the symbol was reused, the issue with the latest exercise deadline is returned. Spread metrics (bestBid, bestAsk, spread, spreadPct) are only present during trading when both sides have orders. Args: symbol (required): Warrant symbol.

Inputs: method (required), args, lang.

get_etfs_and_fundsGet ETF and fund dataA
Read-onlyIdempotent
Inspect

Taiwan ETF lists, full holdings, distributions, size and net asset value, which ETFs hold a stock, and domestic fund data. 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:

  • fundHolders (Domestic funds holding a stock): Domestic (Taiwan) funds that hold the stock among their top 10 holdings by amount in a given month (SITCA monthly reports), with the amount invested, percentage of fund net assets and totals. Defaults to the latest month with data. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), case-insensitive; symbol (required): Stock symbol (case-insensitive); month: Data month, YYYYMM; default the latest month with data for this stock.

  • fundCompanyHoldings (Fund manager's top 10 holdings by fund): Top 10 holdings of each fund managed by one Taiwan investment trust company in a given month (SITCA data, from 201506). If that company and month have not been collected yet, the response has state=pending and the data is fetched in the background; retry later to get state=available with full rows. Args: company (required): Investment trust company code as used by SITCA (one uppercase letter and four digits, e.g. A0005); month (required): Data month, YYYYMM, from 201506 to the current month (Taipei).

  • etfs (Taiwan ETF list): TWSE- and TPEx-listed ETFs with issuer, type, benchmark index and fees, plus the latest assets under management, number of holders, average daily trading value, active/passive, leveraged/inverse, asset class and theme. Args: market: ETF market: TWSE or TPEX; omit for both.

  • etfDistributions (Taiwan ETF distributions): Ex-dividend dates, record dates, payment dates and distribution per unit of TWSE- and TPEx-listed ETFs, newest ex-dividend date first, including announced distributions not yet ex-dividend. Args: market: ETF market: TWSE or TPEX; omit for both; symbol: ETF symbol; omit for all; from: Ex-dividend date start (inclusive), YYYYMMDD; default one year ago; to: Ex-dividend date end (inclusive), YYYYMMDD; omit for no upper bound.

  • etfHoldings (Taiwan ETF holdings): Full holdings of one TWSE- or TPEx-listed ETF on a holdings date: stocks, bonds, futures and cash with weights, plus fund size, fees and benchmark description; dates lists available holdings dates so two dates can be compared for additions and reductions. Args: market (required): ETF market: TWSE or TPEX; symbol (required): ETF symbol; date: Holdings date, YYYYMMDD; uses the latest holdings date on or before it; default latest.

  • etfScale (Taiwan ETF size and NAV history): Net assets, units outstanding and NAV per unit of one TWSE- or TPEx-listed ETF on each holdings date, oldest first. Up to 6000 dates. Args: market (required): ETF market: TWSE or TPEX; symbol (required): ETF symbol; from: Holdings date start (inclusive), YYYYMMDD; to: Holdings date end (inclusive), YYYYMMDD; limit: Most recent N holdings dates in the range (1-6000, default 60).

  • etfHolders (Taiwan ETFs holding a security): TWSE- and TPEx-listed ETFs that hold a given Taiwan or US security, by weight descending, using each ETF's latest holdings date on or before the query date. Up to 500 ETFs. Args: market (required): Market of the held security: TWSE, TPEX, NASDAQ, NYSE or AMEX; symbol (required): Symbol of the held security; date: Query date, YYYYMMDD; each ETF uses its latest holdings date on or before it; default latest; limit: Maximum ETFs (1-500, default 100).

  • fundSearch (Fund search): Search offshore funds, futures trust funds and Taiwan domestic mutual funds by fund code, ISIN, exchange ticker or a keyword in the Chinese or English name, with the latest NAV. Up to 100 results. Args: q (required): Keyword, 1-64 characters; exact matches on fund code, ISIN or ticker rank first, then Chinese and English names; limit: Number of results (1-100, default 20).

  • fund (Fund profile): Profile of one fund (type, region, management company, size, risk rating, distribution policy) and its latest NAV. Args: code (required): Fund code: the TDCC fund code for offshore and futures trust funds, the fund's tax ID number for domestic funds; 1-32 letters/digits or . _ - after uppercasing.

  • fundNavs (Fund NAV history): Daily NAV of one fund, the most recent N in the range, oldest first. Up to 2000 rows. Args: code (required): Fund code: the TDCC fund code for offshore and futures trust funds, the fund's tax ID number for domestic funds; 1-32 letters/digits or . _ - after uppercasing; from: NAV date start (inclusive), YYYYMMDD; to: NAV date end (inclusive), YYYYMMDD; limit: Most recent N NAVs in the range (1-2000, default 60).

  • fundDistributions (Fund distribution history): Distribution records of one fund (record date, ex-dividend date, payment date, amount per unit and breakdown of distribution sources), newest first. Up to 400 records. Args: code (required): Fund code: the TDCC fund code for offshore and futures trust funds, the fund's tax ID number for domestic funds; 1-32 letters/digits or . _ - after uppercasing; limit: Most recent N distributions (1-400, default 24).

Inputs: method (required), args, lang.

get_filings_and_newsGet filings and newsA
Read-onlyIdempotent
Inspect

Material information announcements (MOPS), shareholder meetings, investor conferences, treasury stock buybacks and financial news about Taiwan companies. 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:

  • conferences (Investor conferences): Investor conferences by market, symbol and date range: time, venue, summary, presentation and video links, newest first. Up to 1000 rows. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market; symbol: Stock symbol; omit for the whole market; from: Start date (inclusive), YYYYMMDD; multi-day events overlapping the range are included; omit for no lower bound; to: End date (inclusive), YYYYMMDD, compared with the start date; omit for no upper bound; limit: Maximum events (1-1000, default 100).

  • shareholderMeetings (Shareholder meetings): Annual and extraordinary shareholder meetings by market, symbol and date range: date, venue, electronic voting, director elections, book closure period and proposed distributions, newest first. Up to 1000 rows. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol: Stock symbol; omit for the whole market; from: Meeting date start (inclusive), YYYYMMDD; omit for no lower bound; to: Meeting date end (inclusive), YYYYMMDD; omit for no upper bound; limit: Maximum rows (1-1000, default 100).

  • shareholderGifts (Shareholder meeting gift announcements): Material information announcements (MOPS) that mention shareholder meeting gifts for a given year, with the extracted gift item, whether gifts are given and related notes, newest first. Up to 1000 rows. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol: Stock symbol; omit for the whole market; year: Shareholder meeting year (2000-2100); default this year (Taipei). Reads announcements from November 1 of the previous year to December 31 of that year; limit: Maximum announcements (1-1000, default 200).

  • events (Corporate events calendar): One calendar of a stock's events, one row each: ex-rights/ex-dividend, dividend resolutions and payments, capital increases, shareholder meetings and book closures, investor conferences, material information announcements, attention stocks and disposition (trading restrictions), trading halts and resumptions, and delisting. Range up to 3660 days, up to 2000 rows. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Stock symbol (letters/digits and . _ -, up to 32 characters); from: Start date (inclusive), YYYYMMDD; default 365 days before today (Taipei); from-to at most 3660 days, otherwise 400; to: End date (inclusive), YYYYMMDD; default 180 days after today (Taipei); types: Comma-separated event types to include; omit for all source events (revenue_deadline and financial_report_deadline are only included when listed); order: Date order: desc = newest first, asc = oldest first; limit: Maximum events (1-2000, default 300).

  • announcements (Material information and SEC 8-K/6-K filings): Taiwan material information announcements (MOPS) for TWSE/TPEx companies, optionally market-wide, and US 8-K/6-K current-event filings, newest first. Up to 400 rows; page further back with from and to. Args: market (required): Market, case-insensitive: TWSE, TPEX for Taiwan announcements; NASDAQ, NYSE, AMEX for SEC 8-K/6-K filings; symbol: Symbol (uppercased); optional for Taiwan (omit for the whole market), required for US; from: Start date (inclusive), YYYYMMDD; omit for no lower bound; to: End date (inclusive), YYYYMMDD; omit for no upper bound; limit: Maximum rows, newest first (1-400, default 30).

  • treasuryStock (Share buyback programs): Treasury stock buyback programs of TWSE-listed, TPEx-listed and emerging-market companies by board resolution date: purpose, planned shares and price range, planned period and execution results. Give symbol for one company, omit for the whole market. Range up to 3660 days, up to 1000 rows. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market (case-insensitive); symbol: Company symbol (case-insensitive); omit for the whole market; from: Board resolution date start, YYYYMMDD; default 10 years before to with symbol, 90 days before to for the whole market; to: Board resolution date end, YYYYMMDD; default today (Taipei); from-to at most 3660 days; limit: Maximum programs (1-1000, default 100).

  • news (Financial news): Financial news headlines: Taiwan, international and crypto news, government press releases, and Taiwan stock-specific news, newest first, filterable by stock, keyword and publication dates with paging. For single US stock news use topic global with a US market and symbol. Up to 200 rows per page. Args: topic: tw = Taiwan finance, global = international (incl. single US stock news), crypto (updated about every 15 minutes, kept 60 days), official = government press releases, stock = Taiwan stock news (TWSE, TPEx, ESB only); omit for all topics; required with from, to or cursor; market: Given with symbol to return only news matched to that stock: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX (TWSE and TPEX cover each other for stocks that moved markets; US stocks need topic global or no topic); symbol: Stock symbol (uppercased), given with market; q: Keyword matched against title and body, up to 64 characters; limit: Number of rows (1-200, default 30); from: Publication date start (Taipei date, inclusive), YYYYMMDD; requires topic (global for single US stocks); to: Publication date end (Taipei date, inclusive), YYYYMMDD, not before from; requires topic; cursor: nextCursor from the previous page, passed back unchanged; requires the same topic.

Inputs: method (required), args, lang.

get_market_overviewGet Taiwan market overviewA
Read-onlyIdempotent
Inspect

TAIEX 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).

Inputs: method (required), args, lang.

get_price_historyGet price history and technicalsA
Read-onlyIdempotent
Inspect

Daily and intraday price bars, trade-by-trade details and technical analysis for Taiwan stocks, ETFs and TAIFEX futures. 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:

  • history (Candlesticks (OHLCV)): Daily, weekly, monthly and intraday candles. TWSE/TPEx stocks and ETFs: 1d, 1w, 1mo (optionally adjusted for ex-rights/ex-dividend and splits) and 1m, 3m, 5m, 15m, 30m, 60m; today's daily candle appears after the 13:30 close (volume is board-lot trading until the exchange daily file arrives around 15:00, then it also includes odd lots and after-hours fixed-price trading). TAIFEX futures: daily candles for all products since 1998 (regular session) via continuous codes (TXF1, CDF3, MXFW1) or a specific month (TXF202611). TAIFEX intraday candles (1m, 3m, 5m, 15m, 30m, 60m) use the front/next continuous code (product code plus 1 or 2) or MXFW1 and include the current session: TAIEX TXF, mini TAIEX MXF, electronics EXF, finance FXF, non-finance non-electronics XIF and TWD gold TGF since 2011-01-03, gold GDF since 2011-01-05, TOPIX TJF since 2015-12-21, MXFW1 since 2013-07-31; US index futures Dow UDF and S&P 500 SPF since 2017-05-15, Nasdaq-100 UNF since 2019-10-01, PHLX Semiconductor SXF since 2023-12-18. The night session of US index futures (session night, 15:00-05:00 Taipei time, dated to the next trading day) covers US regular trading hours, so for intraday Nasdaq, Dow, S&P 500 or semiconductor index history over several years query UNF1, UDF1, SPF1 or SXF1 (volume is TAIFEX contracts, far smaller than CME). Sessions: 1m and 3m have day and night sessions (night since TAIFEX opened it: TXF, MXF, UDF, SPF 2017-05-15; UNF, SXF from their first day; EXF 2018-11-20; GDF, TGF 2018-07-03; TJF 2024-12-10; FXF 2025-06-24; XIF has no night session); 5m to 60m: TXF, MXF, SPF, UNF, SXF day and night, UDF night only, EXF, FXF, XIF, GDF, TGF, TJF, MXFW1 day only. Front/next month of FTSE Taiwan TWN, MSCI Taiwan MTW, Hang Seng HSI, FTSE China A50 CN and Nikkei NK have day-session 5m to 60m only (since 2026-03-27), no 1m or 3m. US stocks: 1d, 60m, 30m, 15m, 5m are split/dividend-adjusted, 1m and 3m are raw; 5m to 60m are the same 1-minute data as 1m (bundle files where available, otherwise aggregated from 1m and adjusted like the daily candles), so every day with 1m also has 5m to 60m: the market-wide range is the dataset us_minute_bars, and each symbol starts at its own first 1m day. Taiwan index daily candles exist for TAIEX, the TPEx index and sector indices (see dailyHistory in indices); warrants have daily candles only. Returns the most recent limit candles within from-to (default 240, max 8000); page backwards through long histories (limit 8000 per segment for years of intraday candles) by setting to to the day before the earliest candle returned until the result is empty. Args: market (required): Market: TWSE, TPEX, TAIFEX, NASDAQ, NYSE or AMEX (US ETFs listed on NYSE Arca or Cboe BZX use AMEX); a market/symbol mismatch returns 404; symbol (required): Symbol (US preferred shares like ABR$D). TAIFEX daily: continuous code (TXF1, CDF3, MXFW2) or specific month (TXF202611, MXF202610W4); TAIFEX intraday: front/next continuous code (TXF1, UNF1, UDF2) or MXFW1; from: Start date, YYYYMMDD; to: End date, YYYYMMDD; limit: Most recent N candles within from-to (default 240, about one year of daily candles; max 8000, larger values count as 8000). For earlier or longer histories read in segments with from and to: limit 8000 per segment for years of intraday candles, setting the next segment's to to the day before the earliest candle returned, until the result is empty; interval: Candle interval: 1d, 1w, 1mo, 1m, 3m, 5m, 15m, 30m, 60m. Taiwan stocks: all; TAIFEX: 1d for all contracts, intraday for front/next continuous codes and MXFW1 (products, sessions and start dates in the summary); US stocks: 1d, 60m, 30m, 15m, 5m, 3m, 1m. US 5m, 15m, 30m, 60m and 1m are the same data: bundle files where available, otherwise aggregated from regular-session 1m and adjusted to the same day's adjusted daily candle (unfinished candles are not returned); US 3m is aggregated from raw 1m. Each candle's at is its end time; adjusted: Adjust Taiwan daily/weekly/monthly candles for ex-rights/ex-dividend and splits (available from 20030505 for TWSE and 20000901 for TPEx; an earlier from returns 422). US daily and 5m-60m candles are always adjusted; session: Intraday session: day = regular session, night = after-hours session (TAIFEX night session 15:00-05:00 Taipei time, dated to the next trading day), all = both (default). TAIFEX daily candles cover the regular session only.

  • trades (Trade-by-trade details and buy/sell pressure): Tick-by-tick trades of one Taiwan stock on a trading day (newest first, page with before) plus outside (buy-initiated), inside (sell-initiated) and unclassified volume; available from 2018-12-07 (not for warrants). If date is omitted, the latest trading day with intraday trades is used (looking back up to 5 trading days). outerVolume, innerVolume, unknownVolume and totalTrades are whole-day totals independent of limit and before, so use limit=1 when only totals are needed. One symbol per request; intraday requests replay the whole day and get slower with more trades, so for many symbols use the sides field of quotes, or subscribe for live updates. Up to 5000 trades per page. Args: market (required): Market: TWSE or TPEX; symbol (required): Symbol (uppercase letters/digits and . _ -, up to 32 chars); date: Trading day, YYYYMMDD, not after today; when given only that day is queried; limit: Trades per page (1-5000, default 200); before: Pagination cursor: nextBefore from the previous page (HHMMSS[mmm|uuuuuu][:sequence]).

  • volumeProfile (Volume profile): Estimated volume traded at each price over recent trading days, built from 1-minute candles, with the point of control (POC) and the 70% value area. by=price gives one row per Taiwan tick-size price level. Up to 120 trading days. Args: market (required): Market: TWSE or TPEX; symbol (required): Symbol (uppercase letters/digits and . _ -, up to 32 chars); date: Last trading day included, YYYYMMDD, not after today; days: Number of trading days (1-120, default 20); bins: Number of equal-width price bins for by=range (1-200, default 64); not allowed with by=price; by: range = equal-width price bins; price = one row per Taiwan tick-size price level between the low and high, untraded levels filled with 0; maxRows: Maximum rows for by=price (1-200, default 40); more levels are merged from the top, levelsPerRow adjacent levels per row.

  • trend (Multi-timeframe technical trend score): Moving averages, KD (stochastic), MACD, RSI, Bollinger Bands, ATR(14) and a strength rating for the 1m, 3m, 5m, 15m, 30m, 60m and 1d timeframes; 1d uses adjusted daily candles and adds daily: distance from the 20/50/200-day moving averages, 52-week high/low, highest/lowest price and peak-volume dates over recent N candles, returns over week/month/quarter/half-year/year/YTD, and one- and three-year beta against 0050 (Taiwan) or SPY (US). US stocks (NASDAQ, NYSE, AMEX) have 1d only. Args: market (required): Market: TWSE, TPEX, NASDAQ, NYSE or AMEX; symbol (required): Symbol (uppercase letters/digits and . _ -, up to 32 chars; US preferred shares may use $, e.g. ABR$D); date: Use only candles on or before this date, YYYYMMDD (Taipei date), not after today; timeframes: Comma-separated timeframes, each once, up to 7; default for Taiwan is all (1m,3m,5m,15m,30m,60m,1d), US has 1d only; extremeDays: Comma-separated lookbacks N for daily.extremes, each once, up to 6 values of 2-500; default 5,20,60,120,240.

  • priceSimulation (Price simulation (Monte Carlo)): Geometric Brownian motion Monte Carlo on adjusted daily candles: drift from the past year's annualized return (drift=zero for none), volatility from EWMA (lambda 0.94) historical volatility by default, simulating the price distribution over the next N trading days. Returns daily 5/25/50/75/95 percentiles (up to 64 points), the terminal price distribution (30 bins), probability of rising, probabilities of moving 10/20/30%, expected return and 95% VaR. Results are deterministic for the same inputs. A statistical simulation, not a forecast. Args: market (required): Market: TWSE, TPEX (Taiwan) or NASDAQ, NYSE, AMEX (US); symbol (required): Symbol (Taiwan 2330, US AAPL; US share classes as BRK.B); date: Use only daily candles on or before this date, YYYYMMDD (Taipei date, not after today); default latest; days: Trading days to simulate ahead (1-504, default 60); paths: Number of simulated paths (100-20000, default 5000); drift: historical = past year's annualized return as drift; zero = no drift, volatility only; volatility: Annualized volatility in percent (e.g. 30); default EWMA historical volatility.

  • correlation (Correlation matrix): Pearson correlation matrix of up to 12 series: stocks and ETFs use daily log returns of adjusted closes, daily macro series (e.g. macro:US.TREASURY.10Y, crude oil, the dollar index) use daily changes (percentage-point differences for series in %). Uses the most recent days common trading days; window adds rolling correlation of each series against the first (up to 120 points), and each series' annualized volatility and beta against the first. Args: symbols (required): Comma-separated 2-12 series: MARKET:SYMBOL (TWSE, TPEX, NASDAQ, NYSE, AMEX; US = any US exchange, e.g. US:SPY) or macro:<daily macro series id from macroSeries, e.g. macro:US.TREASURY.10Y>. The first series is the base for rolling correlation and beta; days: Number of most recent common trading days (30-1260, default 252); window: Rolling correlation window in trading days (10-252, default 60); 0 = no rolling correlation; date: Use only data on or before this date, YYYYMMDD (Taipei date, not after today); default latest.

  • optionPricing (Option theoretical value calculator): Theoretical option values on a stock from its adjusted daily candles using Black-Scholes (with continuous dividend yield), a CRR binomial tree (American early exercise) and Monte Carlo, with Greeks (delta, gamma, vega and rho per 1 percentage point, daily theta), intrinsic and time value, break-even price and probability of expiring in the money (risk-neutral and from the past year's returns). With price (market premium) it also returns implied volatility, the gap to theoretical value, buyer's profit probability, expected return and a Kelly fraction. Defaults: EWMA historical volatility; rate = US 3-month Treasury yield (US) or the central bank discount rate (Taiwan). These are model values from historical volatility, not exchange option quotes. Args: market (required): Market: TWSE, TPEX (Taiwan) or NASDAQ, NYSE, AMEX (US); symbol (required): Underlying symbol (Taiwan 2330, US AAPL; US share classes as BRK.B); type (required): call or put; strike (required): Strike price (same unit as the stock price); expiry: Expiry date, YYYYMMDD, after the latest daily candle and within 5 years; use either expiry or days; days: Calendar days to expiry (1-1825); required when expiry is not given; style: european or american (affects the binomial tree only); default american for US, european for Taiwan; price: Option market price (premium); enables implied volatility, gap and Kelly outputs; volatility: Annualized volatility in percent; default EWMA historical volatility; rate: Risk-free rate in percent; default US 3-month Treasury yield (US) or the discount rate (Taiwan); dividendYield: Continuous dividend yield in percent; default from the US screener snapshot (US) or 0 (Taiwan); steps: Binomial tree steps (10-2000, default 300); paths: Monte Carlo paths (1000-200000, default 50000); date: Use only daily candles on or before this date, YYYYMMDD (Taipei date, not after today); default latest.

Inputs: method (required), args, lang.

get_quotesGet Taiwan stock quotesA
Read-onlyIdempotent
Inspect

Latest quotes for Taiwan stocks, ETFs, emerging-market stocks and TAIFEX futures and options, plus the US-listed ADRs of Taiwan companies with their premium over the Taiwan price. 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:

  • quote (Real-time quote): Latest quote for one instrument: last price, 5-level order book and limit-up/limit-down prices. TAIFEX futures accept continuous codes (TXF1 = front month, TXF2 = next month, TXF3 and up by listed expiry order, e.g. CDF1-CDF5; MXFW1/MXFW2 = nearest/next mini-TAIEX weekly), a specific month (TXF202611 or TX202611, weekly MXF202610W4) or a native contract code (TXFK6); the response field contract is the actual contract. TAIFEX options (TXO incl. weeklies, TEO, TFO) are written as TXO202611C46900 (contract + expiry + C/P + strike; weeklies TXO202610W4P41600) or TXO46900K6 and return best bid/ask, last price, session volume and prior-day open interest (no 5-level book). TWSE/TPEx stocks also carry sides: cumulative outside/inside (buy/sell-initiated) volume and amount for the session. ESB (emerging stocks) quotes refresh about every 5 seconds, have no price limits, referencePrice is the previous day's average price, totalVolume is in shares, and bids/asks hold only the best quote from recommending brokers. Warrants only show the pre-open price limits here; use warrants or warrant for their live bid/ask. Args: market (required): Market: TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market, TAIFEX = futures/options, NASDAQ, NYSE, AMEX = US stocks; symbol (required): Symbol (uppercase letters/digits and . _ -, up to 32 chars). TAIFEX futures: continuous code (TXF1, CDF3, MXFW1), specific month (TXF202611, MXF202610W4) or native code (TXFK6); TAIFEX options: TXO202611C46900, weekly TXO202610W4P41600, or TXO46900K6.

  • quotes (Batch quotes): Latest quotes for multiple symbols in one market. Futures and options codes work as in quote (TXF1, MXFW1, TXF202611, native codes, TXO202611C46900); symbols that cannot be resolved are omitted (query quote for the reason). TWSE/TPEx stocks each carry sides (cumulative outside/inside volume and amount for the session), so use this instead of calling trades per symbol for buy/sell pressure across many stocks. US stocks return the symbols whose snapshot was obtained within 2.5 seconds. ESB quotes: about every 5 seconds, no price limits, totalVolume in shares, best bid/ask from recommending brokers only. Args: market (required): Market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; symbols (required): Comma-separated symbols (duplicates counted once).

  • adrs (Taiwan company ADRs and premium): Taiwan companies whose shares also trade in the US as ADRs (TSMC TSM, UMC, ASE ASX, Chunghwa Telecom CHT): ordinary shares per ADS, latest ADR price, latest Taiwan price, USD/TWD reference rate, and the ADR premium over the Taiwan price converted to USD per ADS. ADR prices follow the quote rules (5-minute delay without sign-in); the reference price is used when there is no trade yet.

Inputs: method (required), args, lang.

get_shareholdersGet shareholding dataA
Read-onlyIdempotent
Inspect

TDCC shareholding distribution by holding size, directors' and supervisors' holdings and pledges, insider transfers and top shareholders of Taiwan companies. 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:

  • shareholding (Weekly TDCC shareholding distribution): Weekly TDCC shareholding distribution in 17 holding-size tiers, with large-holder and retail ratios, for stocks, ETFs and emerging-market companies. Up to 520 weeks. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market; symbol (required): Security symbol, e.g. 2330; weeks: Most recent N weeks (1-520, default 12).

  • insiders (Monthly director and insider holdings and pledges): Monthly shareholdings, pledged shares and ratios of directors and supervisors and of all insiders of a company. Up to 240 months. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; months: Most recent N months (1-240, default 24).

  • insiderDetails (Individual insider holdings and pledges): For one month: each director, supervisor, manager and major shareholder's title, shareholding, pledged shares and holdings of related parties. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; month: Data month, YYYYMM; default latest month.

  • insiderTransfers (Insider share transfer filings): Insiders' advance filings of planned share transfers and filings of transfers not completed within the filing period, for the whole market or one stock. Range up to 3660 days, up to 1000 rows. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol: Security symbol; omit for the whole market; from: Filing date start (inclusive), YYYYMMDD; default 90 days before to; from-to at most 3660 days; to: Filing date end (inclusive), YYYYMMDD; default today (Taipei); kind: transfer = planned transfers, untransferred = not transferred by the deadline; omit for both; limit: Maximum rows (1-1000, default 100).

  • topShareholders (Top 10 shareholders): The ten largest individual shareholders parsed from and checked against the annual report tables, their combined percentage, change from the previous year (percentage points) and history; available is false when the complete list is not yet available, with substitute data listed separately. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), case-insensitive; symbol (required): Stock symbol (case-insensitive).

Inputs: method (required), args, lang.

get_trading_flowsGet institutional and broker flowsA
Read-onlyIdempotent
Inspect

Buying and selling by the three major institutional investors (foreign investors, investment trusts, dealers), margin trading and short selling, securities lending, broker branch activity, day trading, block trades and trading restrictions. 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:

  • chips (Positioning overview): One call for a Taiwan stock's daily net buying/selling by the three major institutional investors (foreign investors, investment trusts, dealers), margin purchases and short sales, the latest day's top broker branches, and securities lending short-sale balance. Up to 400 trading days per series. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; from: Start date (inclusive) for institutional and margin data, YYYYMMDD; to: End date (inclusive) for institutional and margin data, YYYYMMDD; limit: Most recent N trading days per series (1-400, default 30); use from and to to page further back.

  • fundFlow (Market-wide institutional buy/sell amounts): Daily buy, sell and net amounts (TWD) of the three major institutional investors for the whole TWSE or TPEx market. The exchanges may revise published amounts the same evening: each row has the time it was fetched and a status, preliminary figures may still change, and revisions lists the investor types whose values were revised with old and new values. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); limit: About the most recent N trading days (1-400, default 30); returns the latest limit x 8 rows (TWSE has 6 rows per day, TPEx 8).

  • sectorPositions (Sector positioning and institutional flows): For TWSE's 34 sector indices on a trading day: percent change, distance from the 20-day moving average, and from similar historical setups (past 6 years, quintiles of daily change and distance from the 20-day MA) the share of cases that rose 5/10/20 trading days later, average return and excess return over TAIEX, with a 20-day verdict (continuation, rotation only, weak, or no edge). Sector institutional amounts are estimated from each stock's net lots times its average price that day (TWSE and TPEx sectors of the same name combined); margin changes are in lots. These are historical statistics, not forecasts. Four sectors created in 2023 have no historical daily data. Args: market (required): TWSE only (sector indices are TWSE's; TPEx stocks are merged into the sector of the same name); date: Trading day, YYYYMMDD; default is the latest trading day with stock closing data.

  • brokers (Top broker branches over a period): For one Taiwan stock over a period: top net-buying and net-selling broker branches, major-trader net buying and concentration. Broker branch data starts 2025-01-02. At most 250 trading days. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; days: Most recent N trading days with data (1-250, default 1); cannot be combined with from, can be combined with to (counting back from to); from: Start date (inclusive), YYYYMMDD; replaces days; at most 250 trading days with data in the range; to: End date (inclusive), YYYYMMDD; top: Number of branches on each of the buy and sell side (1-50, default 15).

  • brokerSeries (Daily major-trader net buying): Daily major-trader net buying/selling, number of net buying and net selling broker branches, and concentration for one Taiwan stock, suited for charting trends. Broker branch data starts 2025-01-02. At most 250 trading days. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; days: Most recent N trading days with data (1-250, default 20); cannot be combined with from, can be combined with to (counting back from to); from: Start date (inclusive), YYYYMMDD; replaces days; at most 250 trading days with data in the range; to: End date (inclusive), YYYYMMDD; top: Number of branches on each of the buy and sell side (1-50, default 15).

  • brokerPrices (Broker branch trades by price): For one Taiwan stock on one day: shares bought and sold by each broker branch at each price, plus totals per price. Per-price branch data starts 2021-06-30 (aggregated branch rankings start 2025-01-02). Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; date: Trading day, YYYYMMDD; default is the latest day with data; broker: Only one broker branch (4-character branch code, case-sensitive).

  • brokerBranchTrades (Broker branch activity by stock): With market and symbol: one broker branch's daily trading in that stock. Without symbol: the stocks the branch net bought and net sold the most over the period. Broker branch data starts 2025-01-02. Args: code (required): Broker branch code (4 characters; the case of the 4th character distinguishes branches, e.g. 9200, 592a); market: TWSE or TPEX; required with symbol, otherwise limits the reverse lookup to that market; symbol: Security symbol; with it daily rows are returned, without it the top buys and sells; days: Most recent N trading days with data (default 20; max 250 with symbol, 120 for the reverse lookup); cannot be combined with from; from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Number of stocks on each of the buy and sell side in the reverse lookup (1-100, default 20).

  • governmentBanks (Government-linked banks' trading in a stock): Daily shares and amounts bought and sold in one stock by each of Taiwan's eight government-linked banks, with daily totals and per-bank totals over the period. At most 250 trading days. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market (no amounts); symbol (required): Security symbol, e.g. 2330; days: Most recent N trading days with data (1-250, default 20); cannot be combined with from, can be combined with to (counting back from to); from: Start date (inclusive), YYYYMMDD; replaces days; at most 250 trading days with data in the range; to: End date (inclusive), YYYYMMDD.

  • localBrokers (Local broker branch net buying): Net buying/selling over a period by broker branches located in the same city or county as the company's registered address (same district scores higher). Broker branch data starts 2025-01-02. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; days: Most recent N trading days with branch data (1-250, default 20); from: Start date (inclusive), YYYYMMDD; must be given with to, at most 366 days; to: End date (inclusive), YYYYMMDD; must be given with from.

  • foreignHolding (Foreign ownership and investment limit): Daily shares and percentage held by foreign and mainland Chinese investors in one stock, remaining investable room, the foreign ownership limit and reasons for changes. Up to 2500 trading days. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market; symbol (required): Security symbol, e.g. 2330; from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Most recent N trading days (1-2500, default 60).

  • institutionalHolding (Institutional holdings): Daily actual foreign holdings of one stock, plus investment trust and dealer holdings and percentages estimated by accumulating their daily net buying. Up to 2500 trading days. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market; symbol (required): Security symbol, e.g. 2330; from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Most recent N trading days (1-2500, default 60).

  • dayTrade (Day trading): Daily day-trading shares, buy and sell amounts, day-trading ratio, and flags for suspension of sell-first day trading for one stock. Up to 2500 trading days. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Most recent N trading days (1-2500, default 60).

  • marginMaintenance (Estimated margin maintenance ratio): Daily margin purchase balance, estimated margin cost basis, margin financing ratio and estimated maintenance ratio for one stock; the cost and maintenance ratio are estimates. Up to 2500 trading days. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Most recent N trading days (1-2500, default 60).

  • blockTrades (Block trades): Each block trade in one stock with trade type, price, shares, amount and premium/discount rate. Up to 1000 trades. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC); symbol (required): Security symbol, e.g. 2330; from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Most recent N trades (1-1000, default 50).

  • tradingStatus (Trading status and restrictions): Current status of one stock: attention stock and disposition (trading restrictions), short-sale suspension and suspension of sell-first day trading, trading halts, day-trading eligibility, limit-up/limit-down prices and the opening auction reference price. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market; symbol (required): Security symbol, e.g. 2330.

  • brokerBranches (Broker branch directory): Brokerage head offices and broker branches, filterable by code, name, address, or type (foreign, local, proprietary trading desk, government-linked bank). Up to 2000 rows. Args: q: Keyword, up to 64 characters: matches the start of the code (case-insensitive) or is contained in the name, head office name or address; kind: Type (case-insensitive): foreign = foreign brokers, local = domestic brokers, proprietary = proprietary trading desks, government-bank = the eight government-linked banks; omit for all; limit: Maximum rows (1-2000, default 100); out of range returns 400.

  • brokerBranch (Broker branch profile and tags): Profile of one broker branch, tags such as foreign or local, recent trading and its tendency to flip positions the next day. Args: code (required): Broker branch code, 4 letters/digits (^[0-9A-Za-z]{4}$), case-sensitive (592a and 592A are different branches); days: Trading days for recent trading and next-day flipping tendency (1-60, default 20); out of range returns 400.

Inputs: method (required), args, lang.

get_watchlistRead my watchlistA
Read-onlyIdempotent
Inspect

Lists the watchlist groups in the user's CubeLV account and the stocks in each group.

Inputs: lang.

list_alertsList my alerts and saved screensA
Read-onlyIdempotent
Inspect

Lists the price alerts, saved screens and backtested strategies in the user's CubeLV account with their id, name, whether notifications are on and whether they are paused.

Inputs: lang.

remove_from_watchlistRemove a stock from my watchlistA
DestructiveIdempotent
Inspect

Removes one stock from a watchlist group in the user's CubeLV account (the first group when no group is given).

Inputs: market (required), symbol (required), lang, group.

run_backtestBacktest a screening strategyAInspect

Saves a strategy to the user's CubeLV account and backtests it on Taiwan stocks over a date range, waiting up to about 90 seconds for the result. Returns total and annual return, max drawdown, win rate and trade count, or the backtest id when it is still running. The strategy stays in CubeLV (without notifications) and can be deleted there or with delete_alert.

Inputs: strategy (required), from_date (required), lang, sizing, +1 more.

screen_stocksScreen Taiwan stocksA
Read-only
Inspect

Screens TWSE and TPEx stocks with conditions on platform indicators (institutional buying, price, volume, technicals, revenue growth, valuation, dividends) and returns the matching stocks with the requested columns. Without a query it lists the indicators conditions can use. Without signing in it returns the top 5 matches and the total; with full: true it returns every match and needs a CubeLV account.

Inputs: date, full, lang, query.

search_symbolsFind Taiwan stocks and trading daysA
Read-onlyIdempotent
Inspect

Finds Taiwan stocks, ETFs, emerging-market stocks and TAIFEX futures by code, Chinese name, English name or Japanese kanji form of the name, and answers trading calendar questions. 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:

  • symbols (Symbol search): Search Taiwan stocks, US stocks and TAIFEX futures by symbol prefix or name fragment (e.g. 2330 or TSMC's Chinese name). For TAIFEX, each futures product lists the continuous codes of its currently listed months (CDF1-CDF5, TXF1-TXF6, mini-TAIEX weeklies MXFW1, MXFW2) with the contract they currently map to (contract) and its expiry month (expiry); stock and ETF futures also carry the underlying symbol and name. TAIFEX options are not listed here: use optionChainLive for live strike codes and quotes, optionChain or optionIV for end-of-day data. Returns up to 50 results. Args: query (required): Symbol prefix or name fragment (up to 64 characters); market: Restrict to one market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; omit for all markets; limit: Maximum results (1-50, default 50).

  • calendar (Trading calendar): Whether each day in a date range is a trading day. TWSE, TPEX, ESB and TAIFEX share the Taiwan exchange calendar; NASDAQ, NYSE and AMEX share the NYSE calendar. The range is at most 400 days. Args: market (required): Market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; from: Start date, YYYYMMDD; defaults to today in the exchange's local time; to: End date, YYYYMMDD; defaults to from + 30 days; range at most 400 days.

  • tradingDay (Trading day check): Whether a given date (or today in the exchange's local time) is a trading day, plus the previous and next trading days. Args: market (required): Market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; date (required): Date as YYYYMMDD, or today (today in the exchange's local time).

Inputs: method (required), args, lang.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides real-time access to Taiwan Stock Exchange market data, financial reports, and trading analytics. It enables users to query stock prices, market indices, and corporate profitability metrics through natural language.
      22
      7
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides real-time stock quotes, technical analysis, and intelligent trading recommendations specifically for the Taiwan stock market. Supports single and multiple stock queries, comparative analysis, and investment decision support through natural language interactions.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to query Taiwan stock market data from TWSE and TPEx, including realtime quotes, price history, fundamentals, institutional trading, market indices and movers, events, and whole-market screening. It returns agent-friendly JSON with loose symbol input, automatic market detection, and actionable errors.
      16
      527 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables keyless access to Taiwan equities data from TWSE and TPEx, including prices, valuations, monthly revenue, disclosures, margin balances, and dividend dates.
      67 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources