</>

期权T型报价通达信扩展行情

用期权合约列表和实时快照拼出 T 型报价,按行权价组织认购、认沽两侧行情。

用期权合约列表和实时快照拼出 T 型报价,按行权价组织认购、认沽两侧行情。

输入参数

参数类型必填说明默认值
product_codestring期权品种代码过滤,例如 AP;不传则按其它参数筛选。
contract_monthstring合约月份过滤,YYYYMM。
exchangestring交易所过滤;不传表示全部。
limitinteger拼 T 型报价前最多请求多少个期权合约,默认 100。100
tdx_rootstring本机通达信目录(可选,高级)
参数说明

默认不用传 tdx_root;只有 API 服务器上的通达信安装目录不是常见位置,或想指定某个 hq_cache 目录时才需要传。

参数示例
# 苹果期权T型报价
client.call("option_chain_tdx", product_code="AP", contract_month="202610", limit=3)

返回字段

字段类型说明
product_codestring期权品种代码。
product_namestring期权品种名称。
exchangestring交易所。
contract_monthstring合约月份,YYYYMM。
strike_pricenumber行权价。
call_instrument_idstring认购合约代码。
call_symbolstring认购源端代码。
call_last_pricenumber认购最新价。
call_volumeinteger认购成交量。
call_open_interestinteger认购持仓量。
put_instrument_idstring认沽合约代码。
put_symbolstring认沽源端代码。
put_last_pricenumber认沽最新价。
put_volumeinteger认沽成交量。
put_open_interestinteger认沽持仓量。
call_bid1_pricenumber认购买一价。
call_bid1_volumeinteger认购买一量。
call_ask1_pricenumber认购卖一价。
call_ask1_volumeinteger认购卖一量。
call_bid2_pricenumber认购买二价。
call_bid2_volumeinteger认购买二量。
call_ask2_pricenumber认购卖二价。
call_ask2_volumeinteger认购卖二量。
call_bid3_pricenumber认购买三价。
call_bid3_volumeinteger认购买三量。
call_ask3_pricenumber认购卖三价。
call_ask3_volumeinteger认购卖三量。
call_bid4_pricenumber认购买四价。
call_bid4_volumeinteger认购买四量。
call_ask4_pricenumber认购卖四价。
call_ask4_volumeinteger认购卖四量。
call_bid5_pricenumber认购买五价。
call_bid5_volumeinteger认购买五量。
call_ask5_pricenumber认购卖五价。
call_ask5_volumeinteger认购卖五量。
put_bid1_pricenumber认沽买一价。
put_bid1_volumeinteger认沽买一量。
put_ask1_pricenumber认沽卖一价。
put_ask1_volumeinteger认沽卖一量。
put_bid2_pricenumber认沽买二价。
put_bid2_volumeinteger认沽买二量。
put_ask2_pricenumber认沽卖二价。
put_ask2_volumeinteger认沽卖二量。
put_bid3_pricenumber认沽买三价。
put_bid3_volumeinteger认沽买三量。
put_ask3_pricenumber认沽卖三价。
put_ask3_volumeinteger认沽卖三量。
put_bid4_pricenumber认沽买四价。
put_bid4_volumeinteger认沽买四量。
put_ask4_pricenumber认沽卖四价。
put_ask4_volumeinteger认沽卖四量。
put_bid5_pricenumber认沽买五价。
put_bid5_volumeinteger认沽买五量。
put_ask5_pricenumber认沽卖五价。
put_ask5_volumeinteger认沽卖五量。

调用示例

Python SDK

import axdata as ax

client = ax.AxDataClient()
rows = client.call(
    "option_chain_tdx",
    contract_month='202610',
    limit=3,
    product_code='AP',
)

HTTP API

POST /v1/request/option_chain_tdx
Content-Type: application/json

{
  "params": {
    "product_code": "AP",
    "contract_month": "202610",
    "limit": 3
  }
}

真实样例快照

展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。

请求参数

{
  "product_code": "AP",
  "contract_month": "202610",
  "limit": 3
}

响应样例

product_codeproduct_nameexchangecontract_monthstrike_pricecall_instrument_idcall_symbolcall_last_pricecall_bid1_pricecall_ask1_pricecall_volumecall_open_interestput_instrument_idput_symbolput_last_priceput_bid1_priceput_ask1_priceput_volumeput_open_interest
AP苹果CZCE2026106400.0AP2610-C-6400.CZCEAP2610-C-6400832.51301.507AP2610-P-6400.CZCEAP2610-P-640022.519.024.065201

生成时间:2026-07-06T16:54:55+00:00