Libannhoo_md_sdk  1.6.1
for index, tick(entrust and trade), and snapshot with solar flare
 All Classes Namespaces Files Functions Variables Pages
annhoo::AHIndex Struct Reference

Contains data defined for index. More...

#include <ah_md_common.h>

Public Attributes

AHDataHeader header
 
char MDStreamID [4]
 
union {
   int64_t   OrigTime
 
   int64_t   TradeTime
 
}; 
 
uint16_t ChannelNo
 
char TradingPhaseCode [2]
 
char SecurityID [8]
 
int64_t LastIndex
 
int64_t PreCloseIndex
 
int64_t OpenIndex
 
int64_t HighIndex
 
int64_t LowIndex
 
int64_t CloseIndex
 
int64_t TotalVolumeTrade
 
int64_t TotalValueTrade
 
int64_t NumTrades
 

Detailed Description

Contains data defined for index.

Definition at line 40 of file ah_md_common.h.

Member Data Documentation

uint16_t annhoo::AHIndex::ChannelNo

深市频道代码, 沪市缺失

Definition at line 48 of file ah_md_common.h.

int64_t annhoo::AHIndex::CloseIndex

今收盘, 深市除以10000后为分, 沪市除以1000后为分

Definition at line 57 of file ah_md_common.h.

AHDataHeader annhoo::AHIndex::header

Common header: MsgType: 9011, MsgLength: 106

Definition at line 41 of file ah_md_common.h.

int64_t annhoo::AHIndex::HighIndex

最高价, 深市除以10000后为分, 沪市除以1000后为分

Definition at line 55 of file ah_md_common.h.

int64_t annhoo::AHIndex::LastIndex

最新价, 深市除以10000后为分, 沪市除以1000后为分

Definition at line 52 of file ah_md_common.h.

int64_t annhoo::AHIndex::LowIndex

最低价, 深市除以10000后为分, 沪市除以1000后为分

Definition at line 56 of file ah_md_common.h.

char annhoo::AHIndex::MDStreamID[4]

深市行情类别,沪市缺失

Definition at line 42 of file ah_md_common.h.

int64_t annhoo::AHIndex::NumTrades

深市成交笔数, 沪市缺失

Definition at line 60 of file ah_md_common.h.

int64_t annhoo::AHIndex::OpenIndex

今开盘, 深市除以10000后为分, 沪市除以1000后为分

Definition at line 54 of file ah_md_common.h.

int64_t annhoo::AHIndex::OrigTime

深市数据生成时间

Definition at line 44 of file ah_md_common.h.

int64_t annhoo::AHIndex::PreCloseIndex

前收盘指数, 深市除以10000后为分, 沪市除以1000后为分

Definition at line 53 of file ah_md_common.h.

char annhoo::AHIndex::SecurityID[8]

证券代码, format: 'xxxxxx '(end with two spaces)

Definition at line 51 of file ah_md_common.h.

int64_t annhoo::AHIndex::TotalValueTrade

成交总金额, 深市除以10000后为分, 沪市除以1000后为分

Definition at line 59 of file ah_md_common.h.

int64_t annhoo::AHIndex::TotalVolumeTrade

成交总量

Definition at line 58 of file ah_md_common.h.

int64_t annhoo::AHIndex::TradeTime

沪市成交时间

Definition at line 45 of file ah_md_common.h.

char annhoo::AHIndex::TradingPhaseCode[2]

深市产品所处的交易阶段代码, 沪市缺失

Definition at line 49 of file ah_md_common.h.


The documentation for this struct was generated from the following file: