Skip to content

Combo Option Quote ​

POST /api/v1.0/quote/combo-option-quote

Get combo option quotes using caller-supplied legs (contract + BUY/SELL + quantity). side is required from the caller; it is not inferred from strategy type. Returns per-combo price / bid_price / ask_price / bid_volume / ask_volume / volume / turnover / last_close_price (prices and turnover are returned as actual amounts), plus echoed legs. Greeks, IV, break-even points, and OHLC data are not returned. Supports US and HK option contracts. US Covered combinations may include one underlying stock leg (e.g. US.AAPL BUY 100). HK does not support stock legs (Covered) and returns -8. Errors for individual combinations are returned in item.rsp_code. Realtime quote; login and realtime permission required.

Parameters ​

NameTypeInRequiredDescription
combo_liststringbodyyesCombo list. Each element is one combo; legs in legs[]. US/HK option contracts; US Covered may add one underlying stock. HK stock legs are not supported. At most one stock leg per combo; all legs in a combo must share the same market.

Example ​

bash
curl -X POST 'https://webapi.moomoo.com/api/v1.0/quote/combo-option-quote' -H 'Content-Type: application/json' -d '{"combo_list":[{"legs":[{"code":"US.AAPL261218C200000","side":"BUY","quantity":1}]}]}' | jq

Response ​

NameTypeDescription
dataobject
data.quote_listobject[]
data.quote_list[].rsp_codeintPer-combo quote result code, 0=success
data.quote_list[].legsstringEchoed request legs (code / side / quantity)
data.quote_list[].pricenumberCombo nominal price
data.quote_list[].bid_pricenumberBid price
data.quote_list[].ask_pricenumberAsk price
data.quote_list[].bid_volumeintBid volume
data.quote_list[].ask_volumeintAsk volume
data.quote_list[].volumeintCombo volume
data.quote_list[].turnovernumberCombo turnover
data.quote_list[].last_close_pricenumberPrevious close
paginationobjectPagination returned by some endpoints

Errors ​

ret_codeerror.codeWhen
0—Success
-3invalid_parameterA parameter is missing or not in the allowed set
-7invalid_symbolSymbol is not in the security master
-8unsupportedMarket or instrument is outside this API
-9permission_deniedAuthenticated, but without quote permission
-10no_dataNothing is returned
-11rate_limitedPer-user rate limit

Response example ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "quote_list": [
      {
        "rsp_code": 0,
        "legs": "example",
        "price": 2.5,
        "bid_price": 2.45,
        "ask_price": 2.55,
        "bid_volume": 10,
        "ask_volume": 12,
        "volume": 500,
        "turnover": 125000,
        "last_close_price": 2.4
      }
    ]
  }
}