Skip to content

Event-contract combo RFQ: submit at least two legs plus MVC and ​

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

Event-contract combo RFQ: submit at least two legs plus MVC and receive YES bid/ask, quote_id, and rfq_id. Each combo_legs item: code (KS contract or .YES/.NO subcontract; the suffix is echoed), side (BUY/SELL/SELL_SHORT/BUY_BACK), qty_ratio (positive integer, every leg must use the same value), pred_side (YES/NO, may differ per leg); optional position_id. side is not sent to RFQ and is only echoed for a later order; RFQ uses pred_side. Returned prices are still the YES bid/ask. Legs must come from different events (at most one contract per event). Do not pair two combo_contracts from the same list row. mvc must come from quote.valid_combo_list and must not be invented. The quote may be cached, not a live exact RFQ. quote_id and rfq_id expire; request a new quote after expiry. Either id is omitted when the server does not send it. No subscribe required.

Parameters ​

NameTypeInRequiredDescription
mvcstringbodyyesMVC ticker; must be passed through from quote.valid_combo_list data.mvc
mvc_exchangestringbodynoOptional MVC exchange; pass through data.mvc_exchange when present
combo_legsstringbodyyesCombo legs, at least 2 and at most 20. Must span different events; at most one leg per event. pred_side may differ per leg; side and qty_ratio must be the same across all legs

Example ​

bash
curl -X POST 'https://webapi.moomoo.com/api/v1.0/quote/combo-quotes' -H 'Content-Type: application/json' -d '{}' \
  -H 'Authorization: Bearer <AccessToken>' | jq

Response parameters ​

NameTypeDescription
data.combo_legsstringEchoed combo legs
data.bid_pricestringYES bid price in (0,1)
data.ask_pricestringYES ask price in (0,1)
data.quote_idstringTime-limited quote id for a subsequent combo order
data.rfq_idstringRFQ id paired with quote_id; omitted when the server does not send it
data.should_retryboolWhether the caller should retry the RFQ
data.bid_sizestringBid size
data.ask_sizestringAsk size

Errors ​

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

Response example ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "combo_legs": "example",
    "bid_price": "example",
    "ask_price": "example",
    "quote_id": "example",
    "rfq_id": "example",
    "should_retry": false,
    "bid_size": "example",
    "ask_size": "example"
  }
}