Skip to content

Option volume and open-interest distribution ​

GET /api/v1.0/quote/{code}/option-trade-interest-distribution

Volume or open-interest distribution by strike. Markets: HK / US / JP.

Parameters ​

ParameterTypeInRequiredDescription
codestringpathyesUnderlying, e.g. US.AAPL
data_typestringquerynoVOLUME / OPEN_INTEREST
expire_timestringquerynoExpiry yyyy-MM-dd
index_option_typeintquerynoIndex option type
filter_standardstringquerynoALL / STANDARD / NON_STANDARD
sort_typestringquerynoSTRIKE_PRICE / CALL_VOLUME / PUT_VOLUME / TOTAL_VOLUME
is_ascboolquerynoAscending, default true

Example ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/option-trade-interest-distribution' \
  -H 'Authorization: Bearer <AccessToken>' | jq

Response parameters ​

FieldTypeDescription
data.data_typestringVOLUME / OPEN_INTEREST
data.summary.call_totalstringCall total
data.summary.put_totalstringPut total
data.summary.totalstringTotal
data.items[].strike_pricestringStrike
data.items[].call_valuestringCall amount
data.items[].call_in_the_moneyboolCall in the money
data.items[].put_valuestringPut amount
data.items[].put_in_the_moneyboolPut in the money
data.items[].total_valuestringStrike total

Errors ​

ret_codeerror.codeDescription
0—Success
-3invalid_parameterMissing or invalid parameter
-8unsupportedNot supported
-10no_dataNo data

Sample ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "data_type": "VOLUME",
    "summary": {
      "total": "18"
    },
    "items": [
      {
        "strike_price": "175",
        "call_value": "6",
        "put_value": "4",
        "total_value": "10"
      }
    ]
  }
}