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

新订单请求数据结构 更多...

#include <xlt_trade_struct.h>

Public 属性

uint64_t order_sequence
 订单序号,当API配置中开启自定义模式时,由用户填写,session内不能重复,否则由系统生成,取值范围[0, 2^20-1]。
 
price_t price
 价格放大10000倍
 
quantity_t quantity
 数量
 
char security_code [CONST_STR_SECURITY_CODE_LEN]
 证券代码,不带空格,并以'\0'结尾
 
ExchangeIndex exchange_index
 交易市场
 
OrderType order_type
 报单价格类型
 
Side side
 买卖方向
 
BusinessType business_type
 业务类型
 

详细描述

新订单请求数据结构

类成员变量说明

◆ business_type

BusinessType x1::xlt_order_insert_info_t::business_type

业务类型

◆ exchange_index

ExchangeIndex x1::xlt_order_insert_info_t::exchange_index

交易市场

◆ order_sequence

uint64_t x1::xlt_order_insert_info_t::order_sequence

订单序号,当API配置中开启自定义模式时,由用户填写,session内不能重复,否则由系统生成,取值范围[0, 2^20-1]。

◆ order_type

OrderType x1::xlt_order_insert_info_t::order_type

报单价格类型

◆ price

price_t x1::xlt_order_insert_info_t::price

价格放大10000倍

◆ quantity

quantity_t x1::xlt_order_insert_info_t::quantity

数量

◆ security_code

char x1::xlt_order_insert_info_t::security_code[CONST_STR_SECURITY_CODE_LEN]

证券代码,不带空格,并以'\0'结尾

◆ side

Side x1::xlt_order_insert_info_t::side

买卖方向


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