![]() |
Xlight API用户手册 v1.6.0.23
Xlight极速柜台接口文档
|
新订单请求数据结构 更多...
#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 |
| 业务类型 | |
新订单请求数据结构
| BusinessType x1::xlt_order_insert_info_t::business_type |
业务类型
| ExchangeIndex x1::xlt_order_insert_info_t::exchange_index |
交易市场
| uint64_t x1::xlt_order_insert_info_t::order_sequence |
订单序号,当API配置中开启自定义模式时,由用户填写,session内不能重复,否则由系统生成,取值范围[0, 2^20-1]。
| OrderType x1::xlt_order_insert_info_t::order_type |
报单价格类型
| price_t x1::xlt_order_insert_info_t::price |
价格放大10000倍
| quantity_t x1::xlt_order_insert_info_t::quantity |
数量
| char x1::xlt_order_insert_info_t::security_code[CONST_STR_SECURITY_CODE_LEN] |
证券代码,不带空格,并以'\0'结尾
| Side x1::xlt_order_insert_info_t::side |
买卖方向