Skip to content
A/H Share Comparison

Get A/H premium candlesticks

Returns the historical premium series of an A/H dual-listed pair, including prices in both markets, the exchange rate, and the premium rate, for the 1-year and 5-year charts on the A/H comparison details page.

GEThttps://api.lbkrs.com/v1/quote/ahpremium/klines

Parameters

counter_idstringqueryRequired

H-share counter_id, such as ST/HK/939

line_numstringqueryRequired

Number of candlesticks to return. The client passes 250

line_typestringqueryRequired

Candlestick period. The client passes 1000 for the 1-year view and 2000 for the 5-year view

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get A/H premium candlesticks” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
klinesarray<object>

Premium data points in chronological order

Child attributes
apricestring

A-share price

apreclosestring

A-share previous close

hpricestring

H-share price

hpreclosestring

H-share previous close

currency_ratestring

HKD to CNY exchange rate

ahpremium_ratestring

A/H premium rate as a decimal: (H-share price × exchange rate − A-share price) ÷ A-share price

price_spreadstring

Price spread

timestampinteger

Data point time as a Unix timestamp in seconds

Whale Docs