![]() |
Xlight API用户手册 v1.6.0.23
Xlight极速柜台接口文档
|
成交回报 更多...
#include <xlt_trade_struct.h>
Public 属性 | |
| uint8_t | client_id |
| 委托源标识,用户登录时自定义 | |
| char | report_id [CONST_REPORT_ID_LEN] |
| 回报标识,32字节,非字符串 | |
| uint64_t | xid |
| 报单标识 | |
| ExOrdStatus | ord_status |
| 交易所订单状态 | |
| ExExecType | exec_type |
| 交易所执行类型 | |
| char | exec_id [CONST_TRD_EXEC_ID_LEN] |
| 交易所成交编号,对应上交所TrdCnfmID,深交所ExecID。上交所成交编号不唯一,需要配合xid使用,深交所成交编号全天唯一。 | |
| price_t | price |
| 成交价格,该笔成交回报的成交价格,放大10000倍 | |
| quantity_t | quantity |
| 成交数量,该笔成交回报的成交数量 | |
| quantity_t | leaves_quantity |
| 剩余数量 | |
| quantity_t | order_quantity |
| 委托数量 | |
| int64_t | transact_time |
| 回报时间,格式为YYYYMMDDHHMMSSsss | |
| amount_t | amount |
| 成交金额,该笔成交回报的成交金额,放大10000倍 | |
成交回报
| amount_t x1::xlt_trade_report_t::amount |
成交金额,该笔成交回报的成交金额,放大10000倍
| uint8_t x1::xlt_trade_report_t::client_id |
委托源标识,用户登录时自定义
| char x1::xlt_trade_report_t::exec_id[CONST_TRD_EXEC_ID_LEN] |
交易所成交编号,对应上交所TrdCnfmID,深交所ExecID。上交所成交编号不唯一,需要配合xid使用,深交所成交编号全天唯一。
| ExExecType x1::xlt_trade_report_t::exec_type |
交易所执行类型
| quantity_t x1::xlt_trade_report_t::leaves_quantity |
剩余数量
| ExOrdStatus x1::xlt_trade_report_t::ord_status |
交易所订单状态
| quantity_t x1::xlt_trade_report_t::order_quantity |
委托数量
| price_t x1::xlt_trade_report_t::price |
成交价格,该笔成交回报的成交价格,放大10000倍
| quantity_t x1::xlt_trade_report_t::quantity |
成交数量,该笔成交回报的成交数量
| char x1::xlt_trade_report_t::report_id[CONST_REPORT_ID_LEN] |
回报标识,32字节,非字符串
| int64_t x1::xlt_trade_report_t::transact_time |
回报时间,格式为YYYYMMDDHHMMSSsss
| uint64_t x1::xlt_trade_report_t::xid |
报单标识