Building an AI agent? Start with /llms.txt for the full site index.

Capital Flows

Margin short cover date

Margin short cover date

VerifiedSource: TWSE·Plan: pro·Cost: 2 credits·GET /v2/datasets/margin-short-cover-date

Margin short cover date is a Taiwan market dataset sourced from TWSE, served by TW Market Data as GET /v2/datasets/margin-short-cover-date.

Overview

Margin short cover date — grain: ticker / cover_date.

FieldTypeDescription
cover_datestringCover date (a future event)
tickerstring
namestring
suspension_end_datestringSuspension end date
reasonstringReason
marketstring

Example response

A real response from this endpoint. Rows are returned under "data", and provenance is carried in the shape shown below — it is not identical across datasets, so read this page's rather than assuming another's.

{  "dataset_id": "margin_short_cover_date",  "request_context": {    "scope": "twse_margin_short_cover_date_only",    "coverage_type": "forward_snapshot_rolling_capture",    "filters": {      "cover_date": null,      "date_from": null,      "date_to": null,      "ticker": "2885",      "market": null,      "source_family": null,      "limit": 50    },    "min_cover_date": "2026-07-15",    "max_cover_date": "2026-08-12"  },  "quality": {    "row_count": 2,    "ticker_count": 1,    "sensitive_fields_exposed": false  },  "lineage": {    "source_families": [      "TWSE_BFI84U"    ],    "semantics": "<Chinese value - see the zh page>"  },  "error": null,  "data": [    {      "cover_date": "2026-08-12",      "ticker": "2885",      "name": "<Chinese value - see the zh page>",      "suspension_end_date": "2026-08-17",      "reason": "<Chinese value - see the zh page>",      "market": "TWSE",      "source_family": "TWSE_BFI84U",      "lineage": {        "source": "TWSE_BFI84U",        "endpoint": "exchangeReport/BFI84U",        "semantics": "<Chinese value - see the zh page>"      }    },    {      "cover_date": "2026-07-15",      "ticker": "2885",      "name": "<Chinese value - see the zh page>",      "suspension_end_date": "2026-07-20",      "reason": "<Chinese value - see the zh page>",      "market": "TWSE",      "source_family": "TWSE_BFI84U",      "lineage": {        "source": "TWSE_BFI84U",        "endpoint": "exchangeReport/BFI84U",        "semantics": "<Chinese value - see the zh page>"      }    }  ],  "data_count": 2,  "known_gaps": [    "twse_only",    "forward_snapshot_no_dated_history",    "rolled_off_windows_not_re_verifiable"  ],  "warnings": [    "not_investment_advice"  ],  "envelope": {    "dataset_id": "margin_short_cover_date",    "scope": "twse_margin_short_cover_date_only",    "row_count": 2  }}

Captured from the live API on 2026-07-20.

Chinese data values are shown as a marker here so this page stays in English; the /zh page shows them verbatim.

Provenance

These columns are returned alongside the data and record where the row came from. They are provenance, not the dataset's subject matter, so they are listed here rather than in the field table.

source_familylineage

Datasets that join with this one. The key each pair aligns on is shown, so you can plan a multi-table query without guessing.

Getting started

  1. Put your key in the X-API-Key header.
  2. Add query parameters (symbol, date range, limit).
  3. Send the request and read the data array.
curl "https://api.twmarketdata.com/v2/datasets/margin-short-cover-date?symbol=2330" \  -H "X-API-Key: sk_live_..."

Filtering

ParameterRequiredTypeDescription
symbolYesstringTicker, e.g. 2330.
start_dateNostring (YYYY-MM-DD)Start of the query range.
end_dateNostring (YYYY-MM-DD)End of the query range.
limitNointegerMaximum rows to return.

Python

A first call:

import requests resp = requests.get(    "https://api.twmarketdata.com/v2/datasets/margin-short-cover-date",    params={"symbol": "2330"},    headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()print(resp.json()["data"])

With a date-range filter:

import requests # The full verified example — the same call with every supported filter set.resp = requests.get(    "https://api.twmarketdata.com/v2/datasets/margin-short-cover-date",    params={"symbol": "2330"},    headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()for row in resp.json()["data"]:    print(row)

OpenAPI

This endpoint is GET /v2/datasets/margin-short-cover-date. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.

Notes & limitations

  • cover_date is a future forced-cover date, not the moment you knew about it. The dataset carries no announcement-date column, so as_of cannot hold; align a backtest to the official announcement date instead. max(cover_date) lies in the future and must not be read as freshness.