期权合约排行
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_market | string | 查询 | 是 | 期权市场。US_SECURITY / US_INDEX / HK_SECURITY / HK_INDEX |
sort_type | string | 查询 | 否 | 排序类型,默认 VOLUME |
is_asc | bool | 查询 | 否 | 是否升序,默认 false |
page_size | int | 查询 | 否 | 条数,默认 50,最大 200 |
page_flag | string | 查询 | 否 | 翻页标记。首页不传或传空串;下一页回传上一页响应 pagination.page_flag。只有 pagination.completed 为 true 时停止 |
trading_date | string | 查询 | 否 | 交易日 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.ranks | object[] | |
data.ranks[].code | string | 期权合约代码 |
data.ranks[].name | string | 期权名称 |
data.ranks[].option_type | int | CALL / PUT |
data.ranks[].volume | string | 成交量 |
data.ranks[].turnover | string | 成交额 |
data.ranks[].open_interest | string | 持仓量 |
data.ranks[].oi_increment | int | 日增仓量(>=0) |
data.ranks[].oi_decrement | int | 日减仓量(>=0) |
data.ranks[].iv | number | 隐含波动率(百分数) |
data.ranks[].option_price | string | 期权最新价 |
data.ranks[].change_rate | number | 涨跌幅(百分数) |
data.ranks[].mid_price | string | 中间价 |
data.ranks[].bid_price | string | 买价 |
data.ranks[].ask_price | string | 卖价 |
data.ranks[].bid_volume | string | 买量 |
data.ranks[].ask_volume | string | 卖量 |
data.ranks[].delta | number | Delta |
data.ranks[].gamma | number | Gamma |
data.ranks[].theta | number | Theta |
data.ranks[].vega | number | Vega |
data.ranks[].rho | number | Rho |
data.trading_date | string | 实际查询交易日 |
pagination.total | int | |
pagination.completed | bool | 是否已到末页。只有 true 时停止翻页 |
pagination.page_flag | string | 下一页标记。completed 为 false 时回传为下一次请求的 page_flag;末页为空串 |
错误码
| ret_code | error.code | 说明 |
|---|---|---|
| 0 | — | 成功 |
| -3 | invalid_parameter | 参数不合法 |
| -8 | unsupported | 不支持 |
| -10 | no_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
}
}