Xlight API用户手册 v1.6.0.23
Xlight极速柜台接口文档
载入中...
搜索中...
未找到
x1::xlt_trade_report_t结构体 参考

成交回报 更多...

#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

amount_t x1::xlt_trade_report_t::amount

成交金额,该笔成交回报的成交金额,放大10000倍

◆ client_id

uint8_t x1::xlt_trade_report_t::client_id

委托源标识,用户登录时自定义

◆ exec_id

char x1::xlt_trade_report_t::exec_id[CONST_TRD_EXEC_ID_LEN]

交易所成交编号,对应上交所TrdCnfmID,深交所ExecID。上交所成交编号不唯一,需要配合xid使用,深交所成交编号全天唯一。

◆ exec_type

ExExecType x1::xlt_trade_report_t::exec_type

交易所执行类型

◆ leaves_quantity

quantity_t x1::xlt_trade_report_t::leaves_quantity

剩余数量

◆ ord_status

ExOrdStatus x1::xlt_trade_report_t::ord_status

交易所订单状态

◆ order_quantity

quantity_t x1::xlt_trade_report_t::order_quantity

委托数量

◆ price

price_t x1::xlt_trade_report_t::price

成交价格,该笔成交回报的成交价格,放大10000倍

◆ quantity

quantity_t x1::xlt_trade_report_t::quantity

成交数量,该笔成交回报的成交数量

◆ report_id

char x1::xlt_trade_report_t::report_id[CONST_REPORT_ID_LEN]

回报标识,32字节,非字符串

◆ transact_time

int64_t x1::xlt_trade_report_t::transact_time

回报时间,格式为YYYYMMDDHHMMSSsss

◆ xid

uint64_t x1::xlt_trade_report_t::xid

报单标识


该结构体的文档由以下文件生成: