QMT · 内置 Python变量约定与数据结构
PassorderArguments
下单函数参数对象
| 字段名 | 数据类型 | 解释 |
|---|---|---|
| opType | int | passorder的opType参数 |
| orderType | int | passorder的orderType参数 |
| accountID | string | 资金账号 |
| orderCode | string | 交易代码 |
| prType | int | passorder的prType,价格类型 |
| modelPrice | float | 下单价格 |
| modelVolume | int | 下单量(手数或股数) |
| strategyName | string | 策略名 _ &&& _ 投资备注 |
官方来源
QMT 官方文档:下单函数参数对象。网页核对日期:2026-10-11。