struct x1::xlt_basket_algo_create_request_t xlt_basket_algo_create_request_t
算法篮子母单创建请求
struct x1::xlt_algo_state_t xlt_algo_state_t
算法母单状态信息
AlgoStatus
算法母单状态
定义 xlt_algo_struct.h:20
@ ALGO_STATUS_STARTED
已启动/运行中
@ ALGO_STATUS_ABORTED
异常中止
@ ALGO_STATUS_CANCELED
已撤单
@ ALGO_STATUS_REJECTED
废单/拒单
@ ALGO_STATUS_CREATING
创建中
@ ALGO_STATUS_FINISHED
已完成
@ ALGO_STATUS_CANCELING
撤单中
struct x1::xlt_algo_create_request_t xlt_algo_create_request_t
算法母单创建请求
struct x1::xlt_algo_state_ex_t xlt_algo_state_ex_t
算法母单状态(含创建参数)信息
int64_t amount_t
金额 类型
定义 xlt_data_type.h:25
struct x1::xlt_algo_control_info_t xlt_algo_control_info_t
算法母单操作信息
constexpr uint8_t ALGO_TIME_LEN
算法母单时间类型
定义 xlt_algo_struct.h:15
struct x1::xlt_basket_algo_control_request_t xlt_basket_algo_control_request_t
算法篮子母单操作请求
ExchangeIndex
交易所编号定义
定义 xlt_data_type.h:57
struct x1::xlt_algo_info_t xlt_algo_info_t
算法母单信息
constexpr uint8_t CONST_STR_SECURITY_CODE_LEN
证券代码长度,含字符串终止符
定义 xlt_data_type.h:15
struct x1::xlt_basket_algo_create_report_t xlt_basket_algo_create_report_t
算法篮子母单创建响应
int64_t quantity_t
数量 类型
定义 xlt_data_type.h:27
AlgoExecType
算法厂商母单执行类别
定义 xlt_algo_struct.h:42
@ ALGO_EXEC_NEW_REJECT
新算法⺟单拒单
@ ALGO_EXEC_ABORT
算法⺟单异常终止
@ ALGO_EXEC_CONTROL_REJECT
算法⺟单操作拒绝
@ ALGO_EXEC_CONTROL
算法⺟单操作成功
struct x1::xlt_basket_algo_create_params_t xlt_basket_algo_create_params_t
算法篮子母单创建参数
struct x1::xlt_basket_algo_info_t xlt_basket_algo_info_t
算法篮子母单信息
AlgoControlType
算法母单操作类别
定义 xlt_algo_struct.h:35
@ ALGO_CONTROL_CANCEL
撤单:提前结束仍在运⾏的⺟单。对于算法单,会尝试将所有在途⼦单撤单后结束;对于T0单,会尝试平敞⼝后结束
struct x1::xlt_algo_exec_report_t xlt_algo_exec_report_t
算法厂商母单执行报告
constexpr uint16_t CONST_ERROR_MSG_LEN
错误信息长度
定义 xlt_data_type.h:16
struct x1::xlt_algo_insert_report_t xlt_algo_insert_report_t
算法母单新订单响应
struct x1::xlt_algo_create_params_t xlt_algo_create_params_t
算法母单创建参数
struct x1::xlt_basket_algo_control_info_t xlt_basket_algo_control_info_t
算法篮子母单操作信息
struct x1::xlt_algo_control_report_t xlt_algo_control_report_t
算法母单操作报告
struct x1::xlt_algo_control_request_t xlt_algo_control_request_t
算法母单操作请求
算法母单操作信息
定义 xlt_algo_struct.h:93
uint8_t reserved[47]
预留
定义 xlt_algo_struct.h:97
AlgoControlType control_type
操作类别
定义 xlt_algo_struct.h:96
uint64_t xlt_control_id
操作ID
定义 xlt_algo_struct.h:94
uint64_t client_control_id
客户自定义算法操作ID
定义 xlt_algo_struct.h:95
算法母单操作报告
定义 xlt_algo_struct.h:120
xlt_algo_info_t algo_info
算法母单信息
定义 xlt_algo_struct.h:121
xlt_algo_control_info_t control
算法母单操作信息
定义 xlt_algo_struct.h:122
xlt_error_info_t error_info
错误信息
定义 xlt_algo_struct.h:123
算法母单操作请求
定义 xlt_algo_struct.h:103
xlt_algo_info_t algo_info
算法母单信息
定义 xlt_algo_struct.h:104
xlt_algo_control_info_t control_info
算法母单操作信息
定义 xlt_algo_struct.h:105
char params[1024]
参数,json字符串格式
定义 xlt_algo_struct.h:106
算法母单创建参数
定义 xlt_algo_struct.h:69
char end_time[ALGO_TIME_LEN]
算法母单结束时间,格式为HH:MM:SS,算法母单在该时间之后会停止运行
定义 xlt_algo_struct.h:71
char start_time[ALGO_TIME_LEN]
算法母单开始时间,格式为HH:MM:SS,算法母单在该时间之后才会开始运行
定义 xlt_algo_struct.h:70
char params[4096]
算法参数,json字符串格式;不同算法类型参数列表由厂商定义。
定义 xlt_algo_struct.h:79
amount_t amount
金额,放大10000倍。若设置>0,则限制算法母单的最大可用金额;若设置<=0,则不限制最大可用金额。若为T0算法,表示T0可用资金
定义 xlt_algo_struct.h:74
bool frozen_position
是否冻结持仓,true表示冻结quantity数量持仓,false表示不冻结;冻结持仓专供算法母单交易,若不需要冻结则填false
定义 xlt_algo_struct.h:76
ExchangeIndex exchange_index
交易市场
定义 xlt_algo_struct.h:72
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,需要交易的证券代码
定义 xlt_algo_struct.h:73
quantity_t pre_expo
盘前敞口,T0类算法所用
定义 xlt_algo_struct.h:77
quantity_t quantity
数量
定义 xlt_algo_struct.h:75
uint8_t reserved[51]
预留
定义 xlt_algo_struct.h:78
算法母单创建请求
定义 xlt_algo_struct.h:85
xlt_algo_info_t algo_info
算法母单信息
定义 xlt_algo_struct.h:86
xlt_algo_create_params_t create_params
创建参数
定义 xlt_algo_struct.h:87
算法厂商母单执行报告
定义 xlt_algo_struct.h:152
uint8_t reserved[64]
预留
定义 xlt_algo_struct.h:159
uint64_t error_code
错误代码,厂商自定义,0为没有错
定义 xlt_algo_struct.h:157
uint64_t xlt_algo_id
算法母单标识
定义 xlt_algo_struct.h:153
AlgoExecType exec_type
执行类型
定义 xlt_algo_struct.h:154
char error_msg[CONST_ERROR_MSG_LEN]
错误信息
定义 xlt_algo_struct.h:158
AlgoControlType control_type
操作类别,仅当执行类型为ALGO_EXEC_CONTROL/ALGO_EXEC_CONTROL_REJECT时有意义
定义 xlt_algo_struct.h:156
xlt_algo_exec_report_t()
定义 xlt_algo_struct.h:160
uint64_t xlt_control_id
操作ID,仅当执行类型为ALGO_EXEC_CONTROL/ALGO_EXEC_CONTROL_REJECT时有意义
定义 xlt_algo_struct.h:155
算法母单信息
定义 xlt_algo_struct.h:55
uint64_t basket_id
所属篮子ID,无所属篮子为0
定义 xlt_algo_struct.h:62
uint64_t algo_xid
算法母单xid,区分母单委托来源,无业务含义
定义 xlt_algo_struct.h:63
uint64_t fund_account_index
资金账户索引
定义 xlt_algo_struct.h:56
uint64_t xlt_algo_id
算法母单标识
定义 xlt_algo_struct.h:58
uint64_t trade_account_index
交易账户索引
定义 xlt_algo_struct.h:57
uint64_t vendor_account_index
厂商登录账户索引
定义 xlt_algo_struct.h:61
uint64_t client_algo_id
客户自定义算法母单标识,若为篮子单则此值为client_basket_id,客户自定义篮子单ID
定义 xlt_algo_struct.h:59
uint64_t algo_type
算法类别
定义 xlt_algo_struct.h:60
算法母单新订单响应
定义 xlt_algo_struct.h:112
xlt_algo_info_t algo_info
算法母单信息
定义 xlt_algo_struct.h:113
xlt_error_info_t error_info
错误信息
定义 xlt_algo_struct.h:114
算法母单状态(含创建参数)信息
定义 xlt_algo_struct.h:140
int64_t update_time
最后更新时间,格式为 YYYYMMDDHHMMSSsss
定义 xlt_algo_struct.h:145
xlt_algo_create_params_t create_params
创建参数
定义 xlt_algo_struct.h:142
AlgoStatus status
算法母单状态
定义 xlt_algo_struct.h:143
int64_t insert_time
委托时间,格式为YYYYMMDDHHMMSSsss
定义 xlt_algo_struct.h:144
xlt_algo_info_t algo_info
算法母单信息
定义 xlt_algo_struct.h:141
xlt_error_info_t error_info
错误信息
定义 xlt_algo_struct.h:146
算法母单状态信息
定义 xlt_algo_struct.h:129
AlgoStatus status
算法母单状态
定义 xlt_algo_struct.h:131
int64_t update_time
最后更新时间,格式为 YYYYMMDDHHMMSSsss
定义 xlt_algo_struct.h:133
xlt_algo_info_t algo_info
算法母单信息
定义 xlt_algo_struct.h:130
xlt_error_info_t error_info
错误信息
定义 xlt_algo_struct.h:134
int64_t insert_time
委托时间,格式为YYYYMMDDHHMMSSsss
定义 xlt_algo_struct.h:132
算法篮子母单操作信息
定义 xlt_algo_struct.h:209
uint64_t xlt_basket_control_id
算法篮子母单操作ID
定义 xlt_algo_struct.h:210
uint8_t reserved[47]
预留
定义 xlt_algo_struct.h:213
char params[1024]
参数,json字符串格式
定义 xlt_algo_struct.h:214
AlgoControlType control_type
操作类别
定义 xlt_algo_struct.h:212
uint64_t client_basket_control_id
客户自定义算法篮子母单操作ID
定义 xlt_algo_struct.h:211
算法篮子母单操作请求
定义 xlt_algo_struct.h:220
uint64_t xlt_algo_ids[]
算法母单标识,数量由algo_count决定
定义 xlt_algo_struct.h:223
xlt_basket_algo_info_t basket_algo_info
算法篮子母单信息
定义 xlt_algo_struct.h:221
xlt_basket_algo_control_info_t basket_control_info
算法篮子母单操作信息
定义 xlt_algo_struct.h:222
算法篮子母单创建参数
定义 xlt_algo_struct.h:182
uint8_t reserved[230]
预留
定义 xlt_algo_struct.h:186
amount_t amount
金额,放大10000倍。若设置>0,则限制算法母单的最大可用金额;若设置<=0,则不限制最大可用金额。若为T0算法,表示T0可用资金。在篮子单中,表示篮子中每个母单的amount都取此值!如篮子有10个...
定义 xlt_algo_struct.h:185
char end_time[ALGO_TIME_LEN]
算法母单结束时间,格式为HH:MM:SS,算法母单在该时间之后会停止运行
定义 xlt_algo_struct.h:184
char start_time[ALGO_TIME_LEN]
算法母单开始时间,格式为HH:MM:SS,算法母单在该时间之后才会开始运行
定义 xlt_algo_struct.h:183
算法篮子母单创建响应
定义 xlt_algo_struct.h:201
xlt_basket_algo_info_t basket_algo_info
算法篮子母单信息
定义 xlt_algo_struct.h:202
xlt_error_info_t error_info
错误信息
定义 xlt_algo_struct.h:203
算法篮子母单创建请求
定义 xlt_algo_struct.h:192
xlt_basket_algo_create_params_t create_params
创建参数
定义 xlt_algo_struct.h:194
xlt_basket_algo_info_t basket_algo_info
算法母单信息
定义 xlt_algo_struct.h:193
uint64_t xlt_algo_ids[]
算法母单标识,数量由algo_count决定
定义 xlt_algo_struct.h:195
算法篮子母单信息
定义 xlt_algo_struct.h:168
uint64_t algo_type
算法类别
定义 xlt_algo_struct.h:173
uint32_t algo_count
母单数量,最多3000个
定义 xlt_algo_struct.h:175
uint64_t trade_account_index
交易账户索引
定义 xlt_algo_struct.h:172
uint8_t reserved[44]
预留
定义 xlt_algo_struct.h:176
uint64_t fund_account_index
资金账户索引
定义 xlt_algo_struct.h:171
uint64_t vendor_account_index
厂商登录账户索引
定义 xlt_algo_struct.h:174
uint64_t basket_id
篮子单ID
定义 xlt_algo_struct.h:169
uint64_t client_basket_id
客户自定义篮子单ID
定义 xlt_algo_struct.h:170