CBBC Outstanding Distribution
GET/api/v1.0/quote/{symbol}/cbbc/distributionCBBC outstanding histogram for an HK underlying. Omitting date / interval uses the latest trading day and default interval from basic-info. count is the number of bins nearest to the close, default 10. Prices unscaled.
Request
| Parameter | Type | In | Required | Description |
|---|---|---|---|---|
symbol | string | path | yes | Underlying symbol (path param), e.g. HK.00700 |
date | string | query | no | Trading day yyyy-MM-dd; omit for the latest day |
interval | int | query | no | Recovery-price interval unscaled (e.g. 5 means 5 HKD). Omit for default |
count | int | query | no | Number of bins nearest to the close, default 10, max 50 |
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/cbbc/distribution?date=1&interval=1&count=1' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse
| Field | Type | Description |
|---|---|---|
data.currency | string | Quote currency, e.g. HKD |
data.bulls | object | Bull bins, recovery-price range high to low |
data.bulls[].lower | string | Range lower bound |
data.bulls[].upper | string | Range upper bound |
data.bulls[].shares | integer | Outstanding shares in this bin |
data.bulls[].variation | integer | Change in outstanding shares |
data.bulls[].index_pages | integer | Index-futures equivalent (index underlyings only) |
data.bulls[].index_page_variation | integer | Change in index-futures equivalent |
data.bulls[].heavy_cargo | integer | Whether this is a global heavy-cargo bin |
data.bulls[].largest_increase | integer | Whether this is the global largest-increase bin |
data.bears | object | Bear bins, recovery-price range low to high |
data.bears[].lower | string | Range lower bound |
data.bears[].upper | string | Range upper bound |
data.bears[].shares | integer | Outstanding shares in this bin |
data.bears[].variation | integer | Change in outstanding shares |
data.bears[].index_pages | integer | Index-futures equivalent (index underlyings only) |
data.bears[].index_page_variation | integer | Change in index-futures equivalent |
data.bears[].heavy_cargo | integer | Whether this is a global heavy-cargo bin |
data.bears[].largest_increase | integer | Whether this is the global largest-increase bin |
Errors
| ret_code | error.code | Description |
|---|---|---|
| 0 | — | Success |
| -3 | invalid_parameter | Missing or invalid parameter |
| -7 | invalid_symbol | Unknown symbol |
| -8 | unsupported | Market or product is not supported |
| -9 | permission_denied | Missing permission |
| -10 | no_data | No data |
| -11 | rate_limited | Too many requests |
Sample
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"currency": "example",
"bulls": "example",
"bears": "example"
}
}