QMT · 内置 Python变量约定与数据结构
l2quoteaux
Level2行情快照补充
| 字段名 | 数据类型 | 解释 |
|---|---|---|
| time | int | 时间戳 |
| stime | string | 时间戳字符串形式 |
| avgBidPrice | float | 委买均价 |
| totalBidQuantity | int | 委买总量 |
| avgOffPrice | float | 委卖均价 |
| totalOffQuantity | int | 委卖总量 |
| withdrawBidQuantity | int | 买入撤单总量 |
| withdrawBidAmount | float | 买入撤单总额 |
| withdrawOffQuantity | int | 卖出撤单总量 |
| withdrawOffAmount | float | 卖出撤单总额 |
官方来源
QMT 官方文档:Level2行情快照补充。网页核对日期:2026-10-11。