跳到正文
QMT
QMT · 内置 Python变量约定与数据结构

l2quote

Level2行情快照

字段名 数据类型 解释
time int 时间戳
stime string 时间戳字符串形式
lastPrice float 最新价
open float 开盘价
high float 最高价
low float 最低价
amount float 成交额
volume int 成交总量
pvolume int 原始成交总量(未经过股手转换的成交总量)
stockStatus int 证券状态
openInt int 持仓量
transactionNum int 成交笔数(期货没有,单独计算)
lastClose float 前收盘价
lastSettlementPrice float 前结算(股票为0)
settlementPrice float 今结算(股票为0)
askPrice list[float] 多档委卖价
askVol list[int] 多档委卖量
bidPrice list[float] 多档委买价
bidVol list[int] 多档委买量

官方来源

QMT 官方文档:Level2行情快照。网页核对日期:2026-10-11。

本页目录