Skip to content
Short Selling

Get HK Short Selling Turnover

Returns paged daily short selling turnover for an HK security, including short shares, short amount, short ratio, and close price. The short selling chart and detail list on the HK security detail page use it. Records return in ascending time order. The Broker App puts each earlier page before the data already loaded.

GEThttps://api.lbkrs.com/v1/quote/short_trades

Parameters

counter_idstringqueryRequired

Security ID in the format ST/<market>/<code>, such as ST/HK/700

last_timestampintegerqueryRequired

Pagination cursor as a Unix timestamp in seconds. Send the current time on the first request. To load earlier data, send the timestamp of the earliest loaded record

page_sizeintegerqueryRequired

Records per page. The Broker App sends 100

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get HK Short Selling Turnover” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
dataarray<object>

Short selling records in ascending time order

Child attributes
timestampstring

Unix timestamp of the trading day, in seconds

amountstring

Short shares

balancestring

Short amount, as a decimal string

closestring

Close price, as a decimal string

ratestring

Short ratio (short shares as a share of total volume), as a decimal (for example, 0.1523 means 15.23%)

total_amountstring

Total volume, in shares

sourcesinteger

Data source flag. Always 0 (all) for HK stocks

Whale Docs