HK/US short-selling movers
GET/api/v1.0/quote/rank/short-sellingHK/US short-selling movers. Returns daily short shares/ratio and changes, volume, short position, days to cover, weekly/monthly averages, plus close and 1/5/10-day change ratios. HK/US only; optional plate_code industry filter; count defaults to 10 (max 35). For per-symbol daily short volume use quote.daily_short_volume; for short interest use quote.short_interest.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
market | string | query | yes | Market code, HK / US only |
sort_field | string | query | no | Sort field, default SHORT_NUMBER_CHANGE |
sort_dir | string | query | no | Sort direction, default DESCENDING |
page_flag | string | query | no | Page cursor. Omit or pass empty on the first page; pass back pagination.page_flag. Stop only when pagination.completed is true |
page_size | int | query | no | Page size, default 10, max 35 |
plate_code | string | query | no | Optional industry plate codes, repeat the query key; omit for the whole market |
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/rank/short-selling?market=HK' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse parameters
| Name | Type | Description |
|---|---|---|
data.items | object[] | |
data.items[].code | string | Symbol, e.g. HK.00020 / US.SDST |
data.items[].name | string | Security name |
data.items[].close_price | string | Close price |
data.items[].change_ratio | string | Daily change ratio in percent |
data.items[].change_ratio_5d | number | 5-day change ratio in percent |
data.items[].change_ratio_10d | number | 10-day change ratio in percent |
data.items[].volume | string | Volume |
data.items[].short_number | int | Daily shares short |
data.items[].short_number_change | int | Change in shares short |
data.items[].short_ratio | string | Short ratio in percent |
data.items[].short_ratio_change | string | Short-ratio change in percent |
data.items[].short_position_volume | string | Short-position volume |
data.items[].short_position_ratio | string | Short-position ratio in percent |
data.items[].days_to_cover | number | Days to cover |
data.items[].week_avg_short_number | int | Weekly average shares short |
data.items[].week_avg_short_ratio | string | Weekly average short ratio in percent |
data.items[].month_avg_short_number | int | Monthly average shares short |
data.items[].month_avg_short_ratio | string | Monthly average short ratio in percent |
pagination.total | int | |
pagination.completed | bool | True when this is the last page. Stop paging only when completed is true |
pagination.page_flag | string | Next page cursor. Pass it back as page_flag while completed is false; empty on the last page |
Errors
| ret_code | error.code | Description |
|---|---|---|
| 0 | — | Success |
| -3 | invalid_parameter | Missing or invalid parameter |
| -8 | unsupported | Not supported |
| -10 | no_data | No data |
Response example
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"items": [
{
"code": "US.AAPL",
"name": "example",
"close_price": "example",
"change_ratio": "example",
"change_ratio_5d": 1.2,
"change_ratio_10d": 1.2,
"volume": "example",
"short_number": 0,
"short_number_change": 0,
"short_ratio": "example",
"short_ratio_change": "example",
"short_position_volume": "example",
"short_position_ratio": "example",
"days_to_cover": 1.2,
"week_avg_short_number": 0,
"week_avg_short_ratio": "example",
"month_avg_short_number": 0,
"month_avg_short_ratio": "example"
}
]
},
"pagination": {
"page_flag": "",
"completed": true,
"total": 0
}
}