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

订单信息结构体 更多...

#include <xlt_trade_struct.h>

成员变量

uint8_t client_id
 委托源标识,用户登录时自定义
 
uint8_t is_cancel_flag
 撤单标识,如果为1, 当前记录为撤单,否则为新订单。
 
uint64_t xid
 报单标识
 
uint64_t origin_xid
 原始订单标识
 
char cl_order_id [CONST_CL_ORD_ID_LEN]
 报盘合同号
 
char origin_cl_order_id [CONST_CL_ORD_ID_LEN]
 如果非空,则代表当前为撤单记录,取值为原委托的cl_order_id(不包含字符串终止符\0)
 
OrderStatus order_status
 订单状态
 
char security_code [CONST_STR_SECURITY_CODE_LEN]
 证券代码
 
ExchangeIndex exchange_index
 交易市场
 
OrderType order_type
 报单价格类型
 
Side side
 买卖方向
 
BusinessType business_type
 业务类型
 
price_t order_price
 委托价格
 
quantity_t order_quantity
 委托数量
 
amount_t order_amount
 委托金额
 
amount_t order_fee
 委托费用
 
quantity_t trade_quantity
 成交数量
 
amount_t trade_amount
 成交金额
 
amount_t trade_fee
 成交费用
 
amount_t trade_fix_fee
 成交固定费用
 
uint32_t trade_count
 成交笔数
 
quantity_t leaves_quantity
 剩余数量
 
quantity_t cancel_quantity
 撤单数量
 
int64_t insert_time
 委托时间,格式为YYYYMMDDHHMMSSsss
 
int64_t trade_time
 最后一笔成交时间,格式为YYYYMMDDHHMMSSsss
 
int64_t cancel_time
 撤单时间,撤单成功才填写,即成剩撤的单也需要填写。格式为 YYYYMMDDHHMMSSsss
 
int64_t update_time
 最后更新时间,格式为 YYYYMMDDHHMMSSsss
 
xlt_error_info_t error_info
 错误信息
 

详细描述

订单信息结构体


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