Skip to content
Short Selling

Get HK Short Positions

Returns paged short position data for an HK security by reporting date, including short shares, short value, short position ratio, and short cost. The Short positions 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_positions

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 Positions” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
dataarray<object>

Short position records in ascending time order

Child attributes
timestampstring

Unix timestamp of the reporting date, in seconds

amountstring

Short position shares

balancestring

Short position value, as a decimal string

ratestring

Short position ratio, as a decimal (for example, 0.1523 means 15.23%)

coststring

Short position cost price, as a decimal string

sourcesinteger

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

Whale Docs