EMT API ver: 2.23.1
|
新订单请求 更多...
#include <eoms_api_struct.h>
成员变量 | |
uint64_t | order_emt_id |
EMT系统订单ID,无需用户填写,在EMT系统中唯一 | |
uint32_t | order_client_id |
报单引用,由客户自定义 | |
char | ticker [EMT_TICKER_LEN] |
合约代码 客户端请求不带空格,以'\0'结尾 | |
EMT_MARKET_TYPE | market |
交易市场 | |
double | price |
价格 | |
double | stop_price |
止损价(保留字段) | |
int64_t | quantity |
数量(股票单位为股,逆回购单位为张) | |
EMT_PRICE_TYPE | price_type |
价格类型 | |
EMT_SIDE_TYPE | side |
买卖方向 | |
EMT_POSITION_EFFECT_TYPE | position_effect |
开平标志 | |
TEMTOrderSourceType | order_source |
委托来源, 无需用户填写 | |
uint8_t | client_id |
客户端id, 无需用户填写 | |
EMT_BUSINESS_TYPE_EXT | business_type |
业务类型 | |
uint8_t | algorithm_type |
算法类型, 无需用户填写 | |
char | reserved [2] |
保留字段 | |
新订单请求
uint8_t algorithm_type |
算法类型, 无需用户填写
EMT_BUSINESS_TYPE_EXT business_type |
业务类型
uint8_t client_id |
客户端id, 无需用户填写
EMT_MARKET_TYPE market |
交易市场
uint32_t order_client_id |
报单引用,由客户自定义
uint64_t order_emt_id |
EMT系统订单ID,无需用户填写,在EMT系统中唯一
TEMTOrderSourceType order_source |
委托来源, 无需用户填写
EMT_POSITION_EFFECT_TYPE position_effect |
开平标志
double price |
价格
EMT_PRICE_TYPE price_type |
价格类型
int64_t quantity |
数量(股票单位为股,逆回购单位为张)
char reserved[2] |
保留字段
EMT_SIDE_TYPE side |
买卖方向
double stop_price |
止损价(保留字段)
char ticker[EMT_TICKER_LEN] |
合约代码 客户端请求不带空格,以'\0'结尾