Building an AI agent? Start with /llms.txt for the full site index.
Capital Flows
Margin short cover date
Margin short cover date
GET /v2/datasets/margin-short-cover-dateMargin 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.
| Field | Type | Description |
|---|---|---|
cover_date | string | Cover date (a future event) |
ticker | string | |
name | string | |
suspension_end_date | string | Suspension end date |
reason | string | Reason |
market | string |
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_familylineageRelated datasets
Datasets that join with this one. The key each pair aligns on is shown, so you can plan a multi-table query without guessing.
- Day-trading suspension
Joins on market + ticker
- Foreign holding
Joins on market + ticker
- Institutional flow
Joins on market + ticker
- Securities-Lending Utilization
Joins on market + ticker
- Margin & short
Joins on market + ticker
Getting started
- Put your key in the X-API-Key header.
- Add query parameters (symbol, date range, limit).
- 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
| Parameter | Required | Type | Description |
|---|---|---|---|
symbol | Yes | string | Ticker, e.g. 2330. |
start_date | No | string (YYYY-MM-DD) | Start of the query range. |
end_date | No | string (YYYY-MM-DD) | End of the query range. |
limit | No | integer | Maximum 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.