Xlight API用户手册 v1.6.0.23
Xlight极速柜台接口文档
载入中...
搜索中...
未找到
xlt_quote_struct.h
浏览该文件的文档.
1
8#pragma once
9
10#include "xlt_quote_data_type.h"
11#include "xlt_struct.h"
12
13namespace x1{
14
15#pragma pack(push, 1)
16
53
77
78
82 typedef struct xlt_sse_l1_snapshot_t{
83 uint8_t security_type;
84 uint64_t sending_time;
85 uint8_t trad_ses_mode;
86 uint32_t trade_date;
88 char md_stream_id[6];
90 uint64_t prev_close_px;
92 uint64_t num_trades;
95
96 uint64_t last_px;
97 uint64_t open_px;
98 uint64_t close_px;
99 uint64_t settle_px;
100 uint64_t high_px;
101 uint64_t low_px;
102 uint64_t iopv;
103 uint64_t pre_iopv;
104 uint64_t option_ref_px;
106 uint64_t pre_settle_px;
108 uint64_t bid_px[5];
109 uint64_t bid_volume[5];
110 uint64_t offer_px[5];
111 uint64_t offer_volume[5];
113
114
138
139
185
227
238
246
278
311
327
344
345
355
365#pragma pack(pop)
366}
定义 xlt_data_type.h:13
QuoteMsgType
xlight 行情消息类型
定义 xlt_quote_data_type.h:17
struct x1::xlt_szse_l1_index_t xlt_szse_l1_index_t
深交所level1指数快照行情数据结构体
ExchangeIndex
交易所编号定义
定义 xlt_data_type.h:57
constexpr uint8_t CONST_STR_SECURITY_CODE_LEN
证券代码长度,含字符串终止符
定义 xlt_data_type.h:15
union x1::xlt_tick_quote_union_t xlt_tick_quote_union_t
xlight逐笔行情数据
struct x1::xlt_static_quote_full_info_t xlt_static_quote_full_info_t
股票行情全量静态信息
struct x1::xlt_szse_l1_snapshot_t xlt_szse_l1_snapshot_t
深交所level1快照行情数据结构体
struct x1::xlt_rebuild_tick_quote_req_t xlt_rebuild_tick_quote_req_t
重建逐笔数据请求结构体
struct x1::xlt_sse_l2_bond_tick_t xlt_sse_l2_bond_tick_t
上交所 Level-2 债券逐笔消息
struct x1::xlt_szse_l2_trade_t xlt_szse_l2_trade_t
深交所Level2逐笔成交
struct x1::xlt_sse_l1_index_t xlt_sse_l1_index_t
上交所level1指数行情快照
constexpr uint8_t CONST_SECURITY_NAME_LEN
证券名称长度
定义 xlt_data_type.h:17
struct x1::xlt_szse_l2_order_t xlt_szse_l2_order_t
深交所Level2逐笔委托
struct x1::xlt_sse_l1_snapshot_t xlt_sse_l1_snapshot_t
上交所level1快照行情
union x1::xlt_l1_quote_union_t xlt_l1_quote_union_t
L1行情联合体结构体
struct x1::xlt_szse_l1_snapshot_bond_t xlt_szse_l1_snapshot_bond_t
深交所level1债券快照行情数据结构体
struct x1::xlt_level1_quote_t xlt_level1_quote_t
L1行情数据结构体,包含行情类型和对应的行情数据
QuoteSecurityType
证券类型
定义 xlt_data_type.h:74
struct x1::xlt_sse_l2_tick_t xlt_sse_l2_tick_t
上交所 Level-2 竞价逐笔消息
L1行情数据结构体,包含行情类型和对应的行情数据
定义 xlt_quote_struct.h:242
xlt_l1_quote_union_t l1_quote
L1快照行情,如果失败将通过MessageBody<ServiceCode::API_ERR_RSP>消息返回
定义 xlt_quote_struct.h:244
QuoteMsgType quoteMsgType
行情消息类型:SSE_L1_INDEX、SSE_L1_STOCK、SZSE_L1_INDEX、SZSE_L1_STOCK、SZSE_L1_BOND
定义 xlt_quote_struct.h:243
重建逐笔数据请求结构体
定义 xlt_quote_struct.h:349
ExchangeIndex exchange_index
交易所代码
定义 xlt_quote_struct.h:350
int64_t begin_sequence
起始消息记录号
定义 xlt_quote_struct.h:352
int64_t end_sequence
结束消息记录号
定义 xlt_quote_struct.h:353
int16_t channel_no
频道代码
定义 xlt_quote_struct.h:351
上交所level1指数行情快照
定义 xlt_quote_struct.h:57
uint64_t open_px
今开盘指数,放大100000倍
定义 xlt_quote_struct.h:72
char md_stream_id[6]
行情类别,如 MD001,字符串,带'\0'
定义 xlt_quote_struct.h:63
uint64_t total_value_traded
成交金额,放大100倍
定义 xlt_quote_struct.h:68
uint32_t trade_date
交易日期 (YYYYMMDD)
定义 xlt_quote_struct.h:61
uint64_t total_volume_traded
成交数量
定义 xlt_quote_struct.h:66
uint64_t high_px
最高指数,放大100000倍
定义 xlt_quote_struct.h:74
uint32_t last_update_time
最后更新时间 (HHMMSSsss)
定义 xlt_quote_struct.h:62
uint64_t num_trades
成交笔数
定义 xlt_quote_struct.h:67
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:64
uint64_t low_px
最低指数,放大100000倍
定义 xlt_quote_struct.h:75
uint64_t sending_time
交易所发送时间,格式:YYYYMMDDHHmmSSsss
定义 xlt_quote_struct.h:59
uint8_t trad_ses_mode
交易盘交易模式,1 = 系统测试,2 = 模拟交易,3 = 产品(正常交易)
定义 xlt_quote_struct.h:60
uint8_t security_type
证券类型,1 = 股票、基金、指数及债券分销;2 = 衍生品;3 = 综合业务;12 = 债券
定义 xlt_quote_struct.h:58
uint64_t last_px
最新指数,放大100000倍
定义 xlt_quote_struct.h:71
char trading_phase_code[9]
实时阶段及标志,字符串,带'\0'
定义 xlt_quote_struct.h:69
uint64_t prev_close_px
昨收盘,放大100000倍
定义 xlt_quote_struct.h:65
uint64_t close_px
今收盘指数,放大100000倍
定义 xlt_quote_struct.h:73
上交所level1快照行情
定义 xlt_quote_struct.h:82
uint64_t option_notional_amount
期权虚拟匹配数量
定义 xlt_quote_struct.h:105
uint32_t last_update_time
最后更新时间 (HHMMSSsss)
定义 xlt_quote_struct.h:87
uint64_t low_px
当日最低成交价,放大100000倍
定义 xlt_quote_struct.h:101
uint64_t last_px
最新成交价,放大100000倍
定义 xlt_quote_struct.h:96
uint64_t option_ref_px
期权动态参考价,放大100000倍
定义 xlt_quote_struct.h:104
uint8_t security_type
证券类型:(1=股票、基金、指数及债券分销;2=衍生品;3=综合业务;12=债券;14=外部行情源)
定义 xlt_quote_struct.h:83
uint64_t open_px
今开盘价,放大100000倍
定义 xlt_quote_struct.h:97
uint64_t offer_volume[5]
卖出委托量
定义 xlt_quote_struct.h:111
uint64_t option_open_qty
期权总持仓量
定义 xlt_quote_struct.h:107
uint64_t sending_time
交易所发送时间,格式:YYYYMMDDHHmmSSsss
定义 xlt_quote_struct.h:84
uint64_t close_px
今收盘价,放大100000倍
定义 xlt_quote_struct.h:98
char md_stream_id[6]
行情类别,字符串,带'\0'(当md_stream_id=MDE01时,仅iopv字段有意义)
定义 xlt_quote_struct.h:88
uint64_t prev_close_px
昨收盘,放大100000倍
定义 xlt_quote_struct.h:90
uint64_t total_value_traded
成交金额,放大100倍
定义 xlt_quote_struct.h:93
uint64_t num_trades
成交笔数
定义 xlt_quote_struct.h:92
uint64_t bid_px[5]
买入委托价,放大100000倍
定义 xlt_quote_struct.h:108
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:89
uint64_t offer_px[5]
卖出委托价,放大100000倍
定义 xlt_quote_struct.h:110
uint64_t pre_iopv
前一日IOPV,放大100000倍(仅当md_stream_id=MD004时有意义)
定义 xlt_quote_struct.h:103
uint32_t trade_date
交易日期 (YYYYMMDD)
定义 xlt_quote_struct.h:86
uint8_t trad_ses_mode
交易盘交易模式
定义 xlt_quote_struct.h:85
uint64_t iopv
IOPV,放大100000倍(仅当md_stream_id=MDE01时有意义)
定义 xlt_quote_struct.h:102
uint64_t bid_volume[5]
买入委托量
定义 xlt_quote_struct.h:109
uint64_t total_volume_traded
成交数量
定义 xlt_quote_struct.h:91
char trading_phase_code[9]
实时阶段及标志,字符串,带'\0'
定义 xlt_quote_struct.h:94
uint64_t high_px
当日最高成交价,放大100000倍
定义 xlt_quote_struct.h:100
uint64_t settle_px
今结算价,放大100000倍
定义 xlt_quote_struct.h:99
uint64_t pre_settle_px
昨日结算价,放大100000倍
定义 xlt_quote_struct.h:106
上交所 Level-2 债券逐笔消息
定义 xlt_quote_struct.h:282
int64_t buy_order_no
买方订单,若为产品状态订单或卖方订单无意义
定义 xlt_quote_struct.h:288
char tick_bs_flag[8]
定义 xlt_quote_struct.h:293
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:285
int64_t trade_money
成交金额(元)仅适用于 type=T 放大100000倍
定义 xlt_quote_struct.h:292
int64_t tick_index
逐笔序号,从 1 开始,按 channel 连续
定义 xlt_quote_struct.h:283
int64_t qty
数量(千元面额) 若为产品状态订单无意义 放大1000倍
定义 xlt_quote_struct.h:291
int32_t channel
通道
定义 xlt_quote_struct.h:284
int32_t price
价格(元)若为产品状态订单、删除订单无意义 放大1000倍
定义 xlt_quote_struct.h:290
char tick_type
类型 A – 新增委托订单;D – 删除委托订单;S – 产品状态订单;T – 成交.
定义 xlt_quote_struct.h:287
int32_t tick_time
订单或成交时间(毫秒)143025006 表示 14:30:25.006
定义 xlt_quote_struct.h:286
int64_t sell_order_no
卖方订单,若为产品状态订单或买方订单无意义
定义 xlt_quote_struct.h:289
上交所 Level-2 竞价逐笔消息
定义 xlt_quote_struct.h:250
int64_t trade_money
对于新增委托:已成交的委托数量(精度为三位)对于成交:成交金额(单位为元,精度为五位)其他无意义 放大100000倍
定义 xlt_quote_struct.h:260
int64_t qty
数量 若为产品状态订单无意义 放大1000倍
定义 xlt_quote_struct.h:259
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:253
int64_t biz_index
逐笔序号,从 1 开始,按 channel 连续
定义 xlt_quote_struct.h:251
int32_t price
价格(元)若为产品状态订单、删除订单无意义 放大1000倍
定义 xlt_quote_struct.h:258
char tick_bs_flag[8]
定义 xlt_quote_struct.h:261
char tick_type
类型 A – 新增委托订单;D – 删除委托订单;S – 产品状态订单;T – 成交.
定义 xlt_quote_struct.h:255
int32_t tick_time
订单或成交时间(百分之一秒)14302506 表示 14:30:25.06
定义 xlt_quote_struct.h:254
int64_t buy_order_no
买方订单,若为产品状态订单或卖方订单无意义
定义 xlt_quote_struct.h:256
int32_t channel
通道
定义 xlt_quote_struct.h:252
int64_t sell_order_no
卖方订单,若为产品状态订单或买方订单无意义
定义 xlt_quote_struct.h:257
股票行情全量静态信息
定义 xlt_quote_struct.h:20
int32_t market_ask_qty_upper_limit
市价卖委托数量上限
定义 xlt_quote_struct.h:44
ExchangeIndex exchange_index
交易所代码
定义 xlt_quote_struct.h:22
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:23
int64_t pre_close_price
昨收价
定义 xlt_quote_struct.h:33
int32_t bid_qty_lower_limit
限价买委托数量下限
定义 xlt_quote_struct.h:36
int32_t market_bid_qty_upper_limit
市价买委托数量上限
定义 xlt_quote_struct.h:41
bool is_noprofit
是否尚未盈利(仅适用创业板股票,创新企业股票及存托凭证)
定义 xlt_quote_struct.h:28
char underlying_code[CONST_STR_SECURITY_CODE_LEN]
基础证券代码,字符串,带'\0'(债券专属)
定义 xlt_quote_struct.h:48
bool is_have_price_limit
是否有涨跌幅限制(注:不提供具体幅度,可通过涨跌停价和昨收价来计算幅度)
定义 xlt_quote_struct.h:30
bool is_vie
是否具有协议控制架构(仅适用创业板股票,创新企业股票及存托凭证)
定义 xlt_quote_struct.h:27
int64_t lower_limit_price
跌停价(仅在有涨跌幅限制时有效)
定义 xlt_quote_struct.h:32
int32_t market_bid_qty_unit
市价买数量单位
定义 xlt_quote_struct.h:43
int64_t price_tick
价格最小变动价位
定义 xlt_quote_struct.h:34
uint8_t swap_flag
是否转股期,0-否,1-是(债券专属)
定义 xlt_quote_struct.h:49
int32_t ask_qty_lower_limit
限价卖委托数量下限
定义 xlt_quote_struct.h:39
char security_name[CONST_SECURITY_NAME_LEN]
证券名称,字符串,带'\0'
定义 xlt_quote_struct.h:24
bool is_registration
是否注册制(仅适用创业板股票,创新企业股票及存托凭证)
定义 xlt_quote_struct.h:26
bool is_weighted_voting_rights
是否存在投票权差异(仅适用创业板股票,创新企业股票及存托凭证)
定义 xlt_quote_struct.h:29
int32_t bid_qty_unit
限价买数量单位
定义 xlt_quote_struct.h:37
int32_t bid_qty_upper_limit
限价买委托数量上限
定义 xlt_quote_struct.h:35
int32_t ask_qty_unit
限价卖数量单位
定义 xlt_quote_struct.h:40
int32_t ask_qty_upper_limit
限价卖委托数量上限
定义 xlt_quote_struct.h:38
int32_t market_bid_qty_lower_limit
市价买委托数量下限
定义 xlt_quote_struct.h:42
QuoteSecurityType security_type
合约类型
定义 xlt_quote_struct.h:25
uint32_t list_date
上市日期, 格式:YYYYMMDD
定义 xlt_quote_struct.h:21
char security_status[9]
证券状态,字符串,带'\0'
定义 xlt_quote_struct.h:47
int32_t market_ask_qty_lower_limit
市价卖委托数量下限
定义 xlt_quote_struct.h:45
int64_t swap_price
可转债转股价格,放大100000倍(债券专属)
定义 xlt_quote_struct.h:50
int32_t market_ask_qty_unit
市价卖数量单位
定义 xlt_quote_struct.h:46
int64_t upper_limit_price
涨停价(仅在有涨跌幅限制时有效)
定义 xlt_quote_struct.h:31
uint32_t maturity_date
兑付日/到期日,格式:YYYYMMDD(债券专属)
定义 xlt_quote_struct.h:51
深交所level1指数快照行情数据结构体
定义 xlt_quote_struct.h:118
int64_t num_trades
成交笔数
定义 xlt_quote_struct.h:126
char trading_phase_code[9]
产品所处的交易阶段代码,字符串,带'\0'
定义 xlt_quote_struct.h:124
int64_t open_index
开盘指数,放大1000000倍
定义 xlt_quote_struct.h:132
int64_t orig_time
数据生成时间 (YYYYMMDDHHMMSSsss)
定义 xlt_quote_struct.h:120
char security_id_source[5]
证券代码源(例如 "102" 表示深交所),字符串,带'\0'
定义 xlt_quote_struct.h:123
char md_stream_id[4]
行情类别代码(例如"900"指数等),字符串,带'\0'
定义 xlt_quote_struct.h:121
int64_t high_index
最高指数,放大1000000倍
定义 xlt_quote_struct.h:133
uint16_t channel_no
频道代码
定义 xlt_quote_struct.h:119
int64_t close_index
收盘指数,放大1000000倍
定义 xlt_quote_struct.h:135
int64_t prev_close_index
昨日收盘指数,放大1000000倍
定义 xlt_quote_struct.h:131
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:122
int64_t total_value_trade
成交总金额,放大10000倍
定义 xlt_quote_struct.h:128
int64_t low_index
最低指数,放大1000000倍
定义 xlt_quote_struct.h:134
int64_t last_index
当前指数,放大1000000倍
定义 xlt_quote_struct.h:130
int64_t total_volume_trade
成交总量,放大100倍
定义 xlt_quote_struct.h:127
int64_t prev_close_px
昨收价,放大10000倍
定义 xlt_quote_struct.h:125
深交所level1债券快照行情数据结构体
定义 xlt_quote_struct.h:189
int64_t auction_volume_trade
匹配成交成交量,放大100倍
定义 xlt_quote_struct.h:218
int64_t offer_volume[5]
卖出委托量,放大100倍
定义 xlt_quote_struct.h:225
int64_t total_bid_qty
买入委托总量,放大100倍
定义 xlt_quote_struct.h:212
char trading_phase_code[9]
产品所处的交易阶段代码,字符串,带'\0'
定义 xlt_quote_struct.h:195
int64_t prev_close_px
昨收价,放大10000倍
定义 xlt_quote_struct.h:196
int64_t weighted_avg_prev_ir
质押式回购的昨收盘成交量加权平均利率,放大1000000倍
定义 xlt_quote_struct.h:216
int64_t weighted_avg_px
加权平均价,放大1000000倍, 质押式回购的实时成交量加权平均利率及债券现券交易成交量加权平均价,质押式回购的实时成交量加权平均利率,精确到 5 位小数。
定义 xlt_quote_struct.h:208
int64_t open_px
开盘价,放大1000000倍
定义 xlt_quote_struct.h:202
int64_t orig_time
数据生成时间 (YYYYMMDDHHMMSSsss)
定义 xlt_quote_struct.h:191
int64_t total_volume_trade
成交总量,放大100倍
定义 xlt_quote_struct.h:198
int64_t close_px
收盘价,放大1000000倍, 如证券未收市,则不发布此条目;如证券已收市且当天有成交,则发布当日收盘价;如证券已收市且当天无成交,则发布前收盘价。
定义 xlt_quote_struct.h:203
int64_t px_gain
涨跌1(最新价减昨收价),放大1000000倍
定义 xlt_quote_struct.h:209
char md_stream_id[4]
行情类别代码(例如 "020"债券通用质押式回购匹配交易快照行情等),字符串,带'\0'
定义 xlt_quote_struct.h:192
int64_t px_gain_2
涨跌2(最新价减最近价),放大1000000倍
定义 xlt_quote_struct.h:210
char security_id_source[5]
证券代码源(例如 "102" 表示深交所),字符串,带'\0'
定义 xlt_quote_struct.h:194
char sub_trading_phase_code[6][9]
交易方式所处的交易阶段代码, 交易方式取值 1=匹配成交 2=协商成交 3=点击成交 4=询价成交 5=竞买成交
定义 xlt_quote_struct.h:220
int64_t bid_volume[5]
买入委托量,放大100倍
定义 xlt_quote_struct.h:223
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:193
int64_t weighted_avg_ir_gain
加权平均利率涨跌BP,放大1000000倍
定义 xlt_quote_struct.h:215
int64_t total_offer_qty
卖出委托总量,放大100倍
定义 xlt_quote_struct.h:214
int64_t num_trades
成交笔数
定义 xlt_quote_struct.h:197
int64_t bid_px[5]
买入委托价,放大1000000倍
定义 xlt_quote_struct.h:222
int64_t auction_value_trade
匹配成交成交金额,放大10000倍
定义 xlt_quote_struct.h:219
int64_t total_value_trade
成交总金额,放大10000倍
定义 xlt_quote_struct.h:199
int64_t match_last_px
匹配成交最近成交价,放大1000000倍
定义 xlt_quote_struct.h:217
uint16_t channel_no
频道代码
定义 xlt_quote_struct.h:190
int64_t weighted_avg_bid_px
买入委托数量加权平均价,放大1000000倍
定义 xlt_quote_struct.h:211
int64_t weighted_avg_offer_px
卖出委托数量加权平均价,放大1000000倍
定义 xlt_quote_struct.h:213
int64_t low_px
最低价,放大1000000倍
定义 xlt_quote_struct.h:205
int64_t last_px_type
最近价的成交方式,放大100倍,当行情类别为“410=债券现券交易快照行情”或“020=债券通用质押式回购匹配交易快照行情”时,0.01=匹配成交 0.02=协商成交 0....
定义 xlt_quote_struct.h:207
int64_t last_px
最新价,放大1000000倍
定义 xlt_quote_struct.h:201
int64_t offer_px[5]
卖出委托价,放大1000000倍
定义 xlt_quote_struct.h:224
int64_t high_px
最高价,放大1000000倍
定义 xlt_quote_struct.h:204
深交所level1快照行情数据结构体
定义 xlt_quote_struct.h:143
int64_t warrant_premium
权证溢价率,放大1000000倍
定义 xlt_quote_struct.h:169
int64_t limit_up_px
涨停价,放大1000000倍,取值为 999999999.9999 表示无涨停
定义 xlt_quote_struct.h:170
int64_t low_px
最低价,放大1000000倍
定义 xlt_quote_struct.h:158
int64_t total_offer_qty
卖出委托总量,放大100倍
定义 xlt_quote_struct.h:164
int64_t total_value_trade
成交总金额,放大10000倍
定义 xlt_quote_struct.h:153
int64_t total_volume_trade
成交总量,放大100倍
定义 xlt_quote_struct.h:152
int64_t px_gain
涨跌1(最新价减昨收价),放大1000000倍
定义 xlt_quote_struct.h:159
int64_t limit_down_px
跌停价,放大1000000倍,对于价格可以为负数的证券,取值为-999999999.9999 表示无跌停价格限制;对于价格不可以为负数的证券,取值为证券的价格档位表示无跌停价格限制,比如对于股票填写 0...
定义 xlt_quote_struct.h:171
int64_t open_px
开盘价,放大1000000倍
定义 xlt_quote_struct.h:156
int64_t orig_time
数据生成时间 (YYYYMMDDHHMMSSsss)
定义 xlt_quote_struct.h:145
int64_t nav
T-1日基金净值,放大1000000倍,基金净值一般都为 T-1日净值;对于部分基金(如果投资境外市场基金),可能存放 T-x 日净值(x>=1,例如对于投资美股的基金,x=2)。该条目仅限于基金类产品...
定义 xlt_quote_struct.h:167
int64_t iopv
基金实时参考净值(包括ETF的IOPV),放大1000000倍,该条目仅限于基金类产品发布。
定义 xlt_quote_struct.h:168
int64_t last_px
最新价,放大1000000倍
定义 xlt_quote_struct.h:155
int64_t pe_ratio_1
股票市盈率1,放大1000000倍
定义 xlt_quote_struct.h:165
int64_t option_break_px
期权集中竞价交易熔断参考价,放大1000000倍
定义 xlt_quote_struct.h:173
int64_t etf_buy_amount
ETF 申购数量, 放大100倍
定义 xlt_quote_struct.h:175
int64_t px_gain_2
涨跌2(最新价减最近价),放大1000000倍
定义 xlt_quote_struct.h:160
int64_t weighted_avg_offer_px
卖出委托数量加权平均价,放大1000000倍
定义 xlt_quote_struct.h:163
char security_id_source[5]
证券代码源(例如 "102" 表示深交所),字符串,带'\0'
定义 xlt_quote_struct.h:148
int64_t bid_px[5]
买入委托价,放大1000000倍
定义 xlt_quote_struct.h:180
int64_t etf_sell_amount
ETF 赎回数量, 放大100倍
定义 xlt_quote_struct.h:177
int64_t prev_close_px
昨收价,放大10000倍
定义 xlt_quote_struct.h:150
int64_t etf_sell_number
ETF 赎回笔数
定义 xlt_quote_struct.h:178
int64_t high_px
最高价,放大1000000倍
定义 xlt_quote_struct.h:157
int64_t option_open_qty
期权合约持仓量,放大100倍
定义 xlt_quote_struct.h:172
int64_t weighted_avg_bid_px
买入委托数量加权平均价,放大1000000倍
定义 xlt_quote_struct.h:161
int64_t num_trades
成交笔数
定义 xlt_quote_struct.h:151
int64_t offer_volume[5]
卖出委托量,放大100倍
定义 xlt_quote_struct.h:183
uint16_t channel_no
频道代码
定义 xlt_quote_struct.h:144
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:147
int64_t etf_buy_number
ETF 申购笔数
定义 xlt_quote_struct.h:176
int64_t total_bid_qty
买入委托总量,放大100倍
定义 xlt_quote_struct.h:162
int64_t offer_px[5]
卖出委托价,放大1000000倍
定义 xlt_quote_struct.h:182
char md_stream_id[4]
行情类别代码(例如 "010"股票, "040"期权等),字符串,带'\0'
定义 xlt_quote_struct.h:146
char trading_phase_code[9]
产品所处的交易阶段代码,字符串,带'\0'
定义 xlt_quote_struct.h:149
int64_t bid_volume[5]
买入委托量,放大100倍
定义 xlt_quote_struct.h:181
int64_t pe_ratio_2
股票市盈率2,放大1000000倍
定义 xlt_quote_struct.h:166
深交所Level2逐笔委托
定义 xlt_quote_struct.h:315
int16_t channel_no
频道代码
定义 xlt_quote_struct.h:316
int64_t appl_seq_num
消息记录号 从 1 开始计数
定义 xlt_quote_struct.h:317
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:319
char side
买卖方向,1=买,2=卖,G=借入,F=出借
定义 xlt_quote_struct.h:323
char md_stream_id[4]
行情类别代码(例如 "010"股票, "040"期权等),字符串,带'\0'
定义 xlt_quote_struct.h:318
char ord_type
订单类别,1=市价,2=限价,U=本方最优
定义 xlt_quote_struct.h:325
int64_t transact_time
委托时间,YYYYMMDDHHMMSSsss(毫秒)
定义 xlt_quote_struct.h:324
char security_source[5]
证券代码源(例如 "102" 表示深交所),字符串,带'\0'
定义 xlt_quote_struct.h:320
int64_t qty
数量,放大100倍
定义 xlt_quote_struct.h:322
int64_t price
价格,放大10000倍
定义 xlt_quote_struct.h:321
深交所Level2逐笔成交
定义 xlt_quote_struct.h:331
int64_t offer_appl_seq_num
卖方委托索引 从 1 开始计数
定义 xlt_quote_struct.h:336
int64_t transact_time
成交时间,YYYYMMDDHHMMSSsss(毫秒)
定义 xlt_quote_struct.h:342
int64_t bid_appl_seq_num
买方委托索引 从 1 开始计数
定义 xlt_quote_struct.h:335
char md_stream_id[4]
行情类别代码(例如 "010"股票, "040"期权等),字符串,带'\0'
定义 xlt_quote_struct.h:334
char security_code[CONST_STR_SECURITY_CODE_LEN]
证券代码,字符串,带'\0'
定义 xlt_quote_struct.h:337
int64_t appl_seq_num
消息记录号 从 1 开始计数
定义 xlt_quote_struct.h:333
char exec_type
成交类别, 4=撤销, F=成交
定义 xlt_quote_struct.h:341
char security_source[5]
证券代码源(例如 "102" 表示深交所),字符串,带'\0'
定义 xlt_quote_struct.h:338
int64_t price
成交价格,放大10000倍
定义 xlt_quote_struct.h:339
int64_t qty
成交数量,放大100倍
定义 xlt_quote_struct.h:340
int16_t channel_no
频道代码
定义 xlt_quote_struct.h:332
L1行情联合体结构体
定义 xlt_quote_struct.h:231
xlt_sse_l1_snapshot_t sse_l1_snapshot
上交所L1快照行情
定义 xlt_quote_struct.h:233
xlt_szse_l1_snapshot_t szse_l1_snapshot
深交所L1快照行情
定义 xlt_quote_struct.h:235
xlt_szse_l1_index_t szse_l1_index
深交所L1指数行情快照
定义 xlt_quote_struct.h:234
xlt_szse_l1_snapshot_bond_t szse_l1_snapshot_bond
深交所L1债券快照行情
定义 xlt_quote_struct.h:236
xlt_sse_l1_index_t sse_l1_index
上交所L1指数行情快照
定义 xlt_quote_struct.h:232
xlight逐笔行情数据
定义 xlt_quote_struct.h:359
xlt_sse_l2_bond_tick_t sse_l2_bond_tick
上交所 Level-2 债券逐笔消息
定义 xlt_quote_struct.h:361
xlt_szse_l2_trade_t szse_l2_trade
深交所 Level-2 逐笔成交
定义 xlt_quote_struct.h:363
xlt_szse_l2_order_t szse_l2_order
深交所 Level-2 逐笔委托
定义 xlt_quote_struct.h:362
xlt_sse_l2_tick_t sse_l2_tick
上交所 Level-2 竞价逐笔消息
定义 xlt_quote_struct.h:360
本文件定义XLT 行情API中使用的基本数据类型和常量
本文件定义XLT行情数据结构体