forked from bnufree/Hq
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hqdatadefines.h
37 lines (31 loc) · 895 Bytes
/
hqdatadefines.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef HQDATADEFINES
#define HQDATADEFINES
#include <QString>
#include <QStringList>
#include <QDate>
#include "stockdata.h"
struct BlockBaseData{
int mCode;
int mType; //
QString mName;
QStringList mShareCodesList;
};
struct BlockRealInfo:public BlockBaseData{
double mCurPrice;
double mChange;
double mChangePercent;
double mZjlx;
QDate mDate;
};
class ChinaShareExchange:public StockData
{
public:
QDate mDate;
double mTop10Buy;
double mTop10Sell;
double mTop10Vol;
double mTop10TotalVol;
double mTop10TotalCap;
double mTop10AvgCost;
};
#endif // HQDATADEFINES