Building an AI agent? Start with /llms.txt for the full site index.
Derivatives & Convertibles
Convertible bonds traded on TPEx — daily price, volume and conversion terms for listed convertible-bond issues.
GET /v2/datasets/convertible-bondsconvertible-bonds returns one row per convertible-bond issue per trading day from the official TPEx feed, with the traded price alongside the current conversion terms. Each row carries its source role so a value can be traced back to the TPEx publication rather than taken on trust.
| Field | Type | Description |
|---|---|---|
bond_code | string | Convertible-bond code. |
date | string | Trading date. |
close | number | Closing price of the bond. |
volume | number | Trading volume. |
conversion_price | number | Current conversion price (TWD). |
source_role | string | official_tpex. |
| Rows | 609,220 |
| Window | 2017-01-17 – 2026-07-16 |
| Grade | Verified |
TODO — no real response has been captured for this dataset yet. It needs an entitled API key, or its required parameters are not yet known. Rather than show an example nobody has observed, this section stays empty.
curl "https://api.twmarketdata.com/v2/datasets/convertible-bonds?symbol=2330" \ -H "X-API-Key: sk_live_..."| 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. |
A first call:
import requests resp = requests.get( "https://api.twmarketdata.com/v2/datasets/convertible-bonds", params={"symbol": "2330"}, headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()print(resp.json())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/convertible-bonds", params={"symbol": "2330"}, headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()print(resp.json())This endpoint is GET /v2/datasets/convertible-bonds. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.