![]() |
Xlight API用户手册 v1.6.0.23
Xlight极速柜台接口文档
|
订单信息结构体 更多...
#include <xlt_trade_struct.h>
订单信息结构体
| uint64_t x1::xlt_order_info_t::account_index |
交易账户索引
| BusinessType x1::xlt_order_info_t::business_type |
业务类型
| quantity_t x1::xlt_order_info_t::cancel_quantity |
撤单数量
| int64_t x1::xlt_order_info_t::cancel_time |
撤单时间,撤单成功才填写,即成剩撤的单也需要填写。格式为 YYYYMMDDHHMMSSsss
| char x1::xlt_order_info_t::cl_order_id[CONST_CL_ORD_ID_LEN] |
报盘合同号
| uint8_t x1::xlt_order_info_t::client_id |
委托源标识,用户登录时自定义
| xlt_error_info_t x1::xlt_order_info_t::error_info |
错误信息
| ExchangeIndex x1::xlt_order_info_t::exchange_index |
交易市场
| int64_t x1::xlt_order_info_t::insert_time |
委托时间,格式为YYYYMMDDHHMMSSsss
| uint8_t x1::xlt_order_info_t::is_cancel_flag |
撤单标识,如果为1, 当前记录为撤单,否则为新订单。
| quantity_t x1::xlt_order_info_t::leaves_quantity |
剩余数量
| amount_t x1::xlt_order_info_t::order_amount |
委托金额
| amount_t x1::xlt_order_info_t::order_fee |
委托费用
| price_t x1::xlt_order_info_t::order_price |
委托价格
| quantity_t x1::xlt_order_info_t::order_quantity |
委托数量
| OrderStatus x1::xlt_order_info_t::order_status |
订单状态
| OrderType x1::xlt_order_info_t::order_type |
报单价格类型
| char x1::xlt_order_info_t::origin_cl_order_id[CONST_CL_ORD_ID_LEN] |
原委托报盘合同号,如果非空,则代表撤单
| uint64_t x1::xlt_order_info_t::origin_xid |
原始订单标识
| char x1::xlt_order_info_t::security_code[CONST_STR_SECURITY_CODE_LEN] |
证券代码
| Side x1::xlt_order_info_t::side |
买卖方向
| amount_t x1::xlt_order_info_t::trade_amount |
成交金额
| uint32_t x1::xlt_order_info_t::trade_count |
成交笔数
| amount_t x1::xlt_order_info_t::trade_fee |
成交费用
| amount_t x1::xlt_order_info_t::trade_fix_fee |
成交固定费用
| quantity_t x1::xlt_order_info_t::trade_quantity |
成交数量
| int64_t x1::xlt_order_info_t::trade_time |
最后一笔成交时间,格式为YYYYMMDDHHMMSSsss
| int64_t x1::xlt_order_info_t::update_time |
最后更新时间,格式为 YYYYMMDDHHMMSSsss
| uint64_t x1::xlt_order_info_t::xid |
报单标识