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

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

#include <xlt_trade_struct.h>

Public 属性

uint8_t client_id
 委托源标识,用户登录时自定义
 
uint64_t account_index
 交易账户索引
 
uint64_t xid
 报单标识
 
uint64_t origin_xid
 原始订单标识
 
OrderStatus order_status
 订单状态
 
uint8_t is_cancel_flag
 撤单标识,如果为1, 当前记录为撤单,否则为新订单。
 
char cl_order_id [CONST_CL_ORD_ID_LEN]
 报盘合同号
 
char origin_cl_order_id [CONST_CL_ORD_ID_LEN]
 原委托报盘合同号,如果非空,则代表撤单
 
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
 委托费用
 
int64_t insert_time
 委托时间,格式为YYYYMMDDHHMMSSsss
 
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 trade_time
 最后一笔成交时间,格式为YYYYMMDDHHMMSSsss
 
int64_t cancel_time
 撤单时间,撤单成功才填写,即成剩撤的单也需要填写。格式为 YYYYMMDDHHMMSSsss
 
int64_t update_time
 最后更新时间,格式为 YYYYMMDDHHMMSSsss
 
xlt_error_info_t error_info
 错误信息
 

详细描述

订单信息结构体

类成员变量说明

◆ account_index

uint64_t x1::xlt_order_info_t::account_index

交易账户索引

◆ business_type

BusinessType x1::xlt_order_info_t::business_type

业务类型

◆ cancel_quantity

quantity_t x1::xlt_order_info_t::cancel_quantity

撤单数量

◆ cancel_time

int64_t x1::xlt_order_info_t::cancel_time

撤单时间,撤单成功才填写,即成剩撤的单也需要填写。格式为 YYYYMMDDHHMMSSsss

◆ cl_order_id

char x1::xlt_order_info_t::cl_order_id[CONST_CL_ORD_ID_LEN]

报盘合同号

◆ client_id

uint8_t x1::xlt_order_info_t::client_id

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

◆ error_info

xlt_error_info_t x1::xlt_order_info_t::error_info

错误信息

◆ exchange_index

ExchangeIndex x1::xlt_order_info_t::exchange_index

交易市场

◆ insert_time

int64_t x1::xlt_order_info_t::insert_time

委托时间,格式为YYYYMMDDHHMMSSsss

◆ is_cancel_flag

uint8_t x1::xlt_order_info_t::is_cancel_flag

撤单标识,如果为1, 当前记录为撤单,否则为新订单。

◆ leaves_quantity

quantity_t x1::xlt_order_info_t::leaves_quantity

剩余数量

◆ order_amount

amount_t x1::xlt_order_info_t::order_amount

委托金额

◆ order_fee

amount_t x1::xlt_order_info_t::order_fee

委托费用

◆ order_price

price_t x1::xlt_order_info_t::order_price

委托价格

◆ order_quantity

quantity_t x1::xlt_order_info_t::order_quantity

委托数量

◆ order_status

OrderStatus x1::xlt_order_info_t::order_status

订单状态

◆ order_type

OrderType x1::xlt_order_info_t::order_type

报单价格类型

◆ origin_cl_order_id

char x1::xlt_order_info_t::origin_cl_order_id[CONST_CL_ORD_ID_LEN]

原委托报盘合同号,如果非空,则代表撤单

◆ origin_xid

uint64_t x1::xlt_order_info_t::origin_xid

原始订单标识

◆ security_code

char x1::xlt_order_info_t::security_code[CONST_STR_SECURITY_CODE_LEN]

证券代码

◆ side

Side x1::xlt_order_info_t::side

买卖方向

◆ trade_amount

amount_t x1::xlt_order_info_t::trade_amount

成交金额

◆ trade_count

uint32_t x1::xlt_order_info_t::trade_count

成交笔数

◆ trade_fee

amount_t x1::xlt_order_info_t::trade_fee

成交费用

◆ trade_fix_fee

amount_t x1::xlt_order_info_t::trade_fix_fee

成交固定费用

◆ trade_quantity

quantity_t x1::xlt_order_info_t::trade_quantity

成交数量

◆ trade_time

int64_t x1::xlt_order_info_t::trade_time

最后一笔成交时间,格式为YYYYMMDDHHMMSSsss

◆ update_time

int64_t x1::xlt_order_info_t::update_time

最后更新时间,格式为 YYYYMMDDHHMMSSsss

◆ xid

uint64_t x1::xlt_order_info_t::xid

报单标识


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