Skip to content

期權合約排行 ​

GET /api/v1.0/quote/option-rank

期權合約排行。option_market 同上;sort_type 默認 VOLUME。count 默認 50、最大 200。 返回合約代碼/名稱、CALL/PUT、成交量額、持倉、IV、價格漲跌、希臘值(部分字段)。 自由篩選請用 quote.option_screen;標的排行請用 quote.option_underlying_rank。

請求參數 ​

參數類型位置必填說明
option_marketstring查詢是期權市場。US_SECURITY / US_INDEX / HK_SECURITY / HK_INDEX
sort_typestring查詢否排序類型,默認 VOLUME
is_ascbool查詢否是否升序,默認 false
page_sizeint查詢否條數,默認 50,最大 200
page_flagstring查詢否翻頁標記。首頁不傳或傳空串;下一頁回傳上一頁響應 pagination.page_flag。只有 pagination.completed 為 true 時停止
trading_datestring查詢否交易日 YYYY-MM-DD;不傳為最新榜。日期格式 YYYY-MM-DD,時區隨標的市場

請求示例 ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/option-rank?option_market=US_SECURITY' \
  -H 'Authorization: Bearer <AccessToken>' | jq

響應參數 ​

參數類型說明
data.ranksobject[]
data.ranks[].codestring期權合約代碼
data.ranks[].namestring期權名稱
data.ranks[].option_typeintCALL / PUT
data.ranks[].volumestring成交量
data.ranks[].turnoverstring成交額
data.ranks[].open_intereststring持倉量
data.ranks[].oi_incrementint日增倉量(>=0)
data.ranks[].oi_decrementint日減倉量(>=0)
data.ranks[].ivnumber隱含波動率(百分數)
data.ranks[].option_pricestring期權最新價
data.ranks[].change_ratenumber漲跌幅(百分數)
data.ranks[].mid_pricestring中間價
data.ranks[].bid_pricestring買價
data.ranks[].ask_pricestring賣價
data.ranks[].bid_volumestring買量
data.ranks[].ask_volumestring賣量
data.ranks[].deltanumberDelta
data.ranks[].gammanumberGamma
data.ranks[].thetanumberTheta
data.ranks[].veganumberVega
data.ranks[].rhonumberRho
data.trading_datestring實際查詢交易日
pagination.totalint
pagination.completedbool是否已到末頁。只有 true 時停止翻頁
pagination.page_flagstring下一頁標記。completed 為 false 時回傳為下一次請求的 page_flag;末頁為空串

錯誤碼 ​

ret_codeerror.code說明
0—成功
-3invalid_parameter參數不合法
-8unsupported不支持
-10no_data沒有數據

響應示例 ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "ranks": [
      {
        "code": "US.AAPL",
        "name": "example",
        "option_type": 0,
        "volume": "example",
        "turnover": "example",
        "open_interest": "example",
        "oi_increment": 0,
        "oi_decrement": 0,
        "iv": 1.2,
        "option_price": "example",
        "change_rate": 1.2,
        "mid_price": "example",
        "bid_price": "example",
        "ask_price": "example",
        "bid_volume": "example",
        "ask_volume": "example",
        "delta": 1.2,
        "gamma": 1.2,
        "theta": 1.2,
        "vega": 1.2,
        "rho": 1.2
      }
    ],
    "trading_date": "2026-10-16"
  },
  "pagination": {
    "page_flag": "",
    "completed": true,
    "total": 0
  }
}