|
EMT API ver: 2.25.0
|
定义行情业务数据结构 更多...
#include <cstdint>#include <cinttypes>#include "emt_quote_data_type.h"#include "sse_hpf_define.h"#include "sze_hpf_define.h"结构体 | |
| struct | _EMTSpecificTickerStruct |
| 指定的合约 更多... | |
| struct | _EMTIndexDataStruct |
| 指数行情结构体 更多... | |
| struct | _EMTMarketDataFundExData |
| 基金额外数据结构体 更多... | |
| struct | _EMTMarketDataBondExData |
| 债券额外数据结构体 更多... | |
| struct | _EMTMarketDataWarrantExData |
| 权证额外数据 更多... | |
| struct | _EMTMarketDataOptionExData |
| 期权额外数据 更多... | |
| struct | _EMTMarketDataHkExData |
| 港股通额外扩展数据 更多... | |
| struct | _EMTMarketDataBJGZExData |
| 北交所股转额外扩展数据 更多... | |
| struct | _EMTMarketDataStruct |
| 快照行情结构体 更多... | |
| struct | _EMTQuoteStaticInfo |
| 股票行情静态信息 更多... | |
| struct | _EMTTickerPriceInfo |
| 最新价 更多... | |
| struct | _EMTHKStaticInfo |
| 港股静态信息数据 更多... | |
| struct | _EMTBJGZStaticInfo |
| 股转静态信息数据 更多... | |
| struct | _EMTRebuildData |
| 逐笔重建数据 更多... | |
| struct | _EMTRebuildRespData |
| struct | _EMTRspInfoStruct |
| 响应错误结构体 更多... | |
宏定义 | |
| #define | __EMT_MARKETDATA_H__ extern "C" _declspec(dllimport) |
| #define | MAX_LEVEL_NUM 10 |
| #define | MAX_LEVEL_ORDERS_NUM 50 |
| #define | EMQ_ERR_MSG_LEN 124 |
类型定义 | |
| using | EMTSpecificTickerStruct = _EMTSpecificTickerStruct |
| using | EMTIndexDataStruct = _EMTIndexDataStruct |
| using | EMTMarketDataFundExData = _EMTMarketDataFundExData |
| using | EMTMarketDataBondExData = _EMTMarketDataBondExData |
| using | EMTMarketDataWarrantExData = _EMTMarketDataWarrantExData |
| using | EMTMarketDataOptionExData = _EMTMarketDataOptionExData |
| using | EMTMarketDataHkExData = _EMTMarketDataHkExData |
| using | EMTMarketDataBJGZExData = _EMTMarketDataBJGZExData |
| using | EMTMarketDataStruct = _EMTMarketDataStruct |
| using | EMTQuoteStaticInfo = _EMTQuoteStaticInfo |
| using | EMTQuoteFullInfo = _EMTQuoteFullInfo { EMQ_EXCHANGE_TYPE exchange_id |
| 股票行情全量静态信息 | |
| using | EMTTickerPriceInfo = _EMTTickerPriceInfo |
| using | EMTHKStaticInfo = _EMTHKStaticInfo |
| using | EMTBJGZStaticInfo = _EMTBJGZStaticInfo |
| using | EMTRebuildData = _EMTRebuildData |
| using | EMTRebuildRespData = _EMTRebuildRespData |
| using | EMTRspInfoStruct = _EMTRspInfoStruct |
变量 | |
| char | ticker [EMQ_TICKER_LEN] |
| 证券代码 | |
| char | ticker_name [EMQ_TICKER_NAME_LEN] |
| 证券名称 | |
| EMQ_SECURITY_TYPE | security_type |
| 合约详细类型 | |
| EMQ_QUALIFICATION_TYPE | ticker_qualification_class |
| 合约适当性类别 | |
| bool | is_registration |
| 是否注册制(仅适用创业板股票,创新企业股票及存托凭证) | |
| bool | is_VIE |
| 是否具有协议控制架构(仅适用创业板股票,创新企业股票及存托凭证) | |
| bool | is_noprofit |
| 是否尚未盈利(仅适用创业板股票,创新企业股票及存托凭证) | |
| bool | is_weighted_voting_rights |
| 是否存在投票权差异(仅适用创业板股票,创新企业股票及存托凭证) | |
| bool | is_have_price_limit |
| 是否有涨跌幅限制(注:不提供具体幅度,可通过涨跌停价和昨收价来计算幅度) | |
| double | upper_limit_price |
| 涨停价(仅在有涨跌幅限制时有效) | |
| double | lower_limit_price |
| 跌停价(仅在有涨跌幅限制时有效) | |
| double | pre_close_price |
| 昨收价 | |
| double | price_tick |
| 价格最小变动价位 | |
| int32_t | bid_qty_upper_limit |
| 限价买委托数量上限 | |
| int32_t | bid_qty_lower_limit |
| 限价买委托数量下限 | |
| int32_t | bid_qty_unit |
| 限价买数量单位 | |
| int32_t | ask_qty_upper_limit |
| 限价卖委托数量上限 | |
| int32_t | ask_qty_lower_limit |
| 限价卖委托数量下限 | |
| int32_t | ask_qty_unit |
| 限价卖数量单位 | |
| int32_t | market_bid_qty_upper_limit |
| 市价买委托数量上限 | |
| int32_t | market_bid_qty_lower_limit |
| 市价买委托数量下限 | |
| int32_t | market_bid_qty_unit |
| 市价买数量单位 | |
| int32_t | market_ask_qty_upper_limit |
| 市价卖委托数量上限 | |
| int32_t | market_ask_qty_lower_limit |
| 市价卖委托数量下限 | |
| int32_t | market_ask_qty_unit |
| 市价卖数量单位 | |
| uint64_t | unknown [4] |
| 保留字段 | |
定义行情业务数据结构
| #define __EMT_MARKETDATA_H__ extern "C" _declspec(dllimport) |
| #define EMQ_ERR_MSG_LEN 124 |
| #define MAX_LEVEL_NUM 10 |
| #define MAX_LEVEL_ORDERS_NUM 50 |
| using EMTBJGZStaticInfo = _EMTBJGZStaticInfo |
| using EMTHKStaticInfo = _EMTHKStaticInfo |
| using EMTQuoteFullInfo = _EMTQuoteFullInfo { EMQ_EXCHANGE_TYPE exchange_id |
股票行情全量静态信息
| using EMTRebuildData = _EMTRebuildData |
| using EMTRspInfoStruct = _EMTRspInfoStruct |
| int32_t ask_qty_lower_limit |
限价卖委托数量下限
| int32_t ask_qty_unit |
限价卖数量单位
| int32_t ask_qty_upper_limit |
限价卖委托数量上限
| int32_t bid_qty_lower_limit |
限价买委托数量下限
| int32_t bid_qty_unit |
限价买数量单位
| int32_t bid_qty_upper_limit |
限价买委托数量上限
| bool is_have_price_limit |
是否有涨跌幅限制(注:不提供具体幅度,可通过涨跌停价和昨收价来计算幅度)
| bool is_noprofit |
是否尚未盈利(仅适用创业板股票,创新企业股票及存托凭证)
| bool is_registration |
是否注册制(仅适用创业板股票,创新企业股票及存托凭证)
| bool is_VIE |
是否具有协议控制架构(仅适用创业板股票,创新企业股票及存托凭证)
| bool is_weighted_voting_rights |
是否存在投票权差异(仅适用创业板股票,创新企业股票及存托凭证)
| double lower_limit_price |
跌停价(仅在有涨跌幅限制时有效)
| int32_t market_ask_qty_lower_limit |
市价卖委托数量下限
| int32_t market_ask_qty_unit |
市价卖数量单位
| int32_t market_ask_qty_upper_limit |
市价卖委托数量上限
| int32_t market_bid_qty_lower_limit |
市价买委托数量下限
| int32_t market_bid_qty_unit |
市价买数量单位
| int32_t market_bid_qty_upper_limit |
市价买委托数量上限
| double pre_close_price |
昨收价
| double price_tick |
价格最小变动价位
| EMQ_SECURITY_TYPE security_type |
合约详细类型
| char ticker[EMQ_TICKER_LEN] |
证券代码
| char ticker_name[EMQ_TICKER_NAME_LEN] |
证券名称
| EMQ_QUALIFICATION_TYPE ticker_qualification_class |
合约适当性类别
| uint64_t unknown[4] |
保留字段
| double upper_limit_price |
涨停价(仅在有涨跌幅限制时有效)