EMT API ver: 2.23.1
载入中...
搜索中...
未找到
EMTOrderInsertInfo结构体 参考

新订单请求 更多...

#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]
 保留字段
 

详细描述

新订单请求

结构体成员变量说明

◆ algorithm_type

uint8_t algorithm_type

算法类型, 无需用户填写

◆ business_type

EMT_BUSINESS_TYPE_EXT business_type

业务类型

◆ client_id

uint8_t client_id

客户端id, 无需用户填写

◆ market

交易市场

◆ order_client_id

uint32_t order_client_id

报单引用,由客户自定义

◆ order_emt_id

uint64_t order_emt_id

EMT系统订单ID,无需用户填写,在EMT系统中唯一

◆ order_source

TEMTOrderSourceType order_source

委托来源, 无需用户填写

◆ position_effect

EMT_POSITION_EFFECT_TYPE position_effect

开平标志

◆ price

double price

价格

◆ price_type

EMT_PRICE_TYPE price_type

价格类型

◆ quantity

int64_t quantity

数量(股票单位为股,逆回购单位为张)

◆ reserved

char reserved[2]

保留字段

◆ side

买卖方向

◆ stop_price

double stop_price

止损价(保留字段)

◆ ticker

char ticker[EMT_TICKER_LEN]

合约代码 客户端请求不带空格,以'\0'结尾


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