admin
2024-07-05 3ef188e6075649f4c72e3e7588d8966e1071f2ff
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#pragma once
#include <wx\string.h>
#include <list>
 
enum MsgTypeEnum {
    MSG_TYPE_ERROR,
    MSG_TYPE_WARNING,
    MSG_TYPE_INFO
};
 
/// <summary>
/// ³Ö²ÖÐÅÏ¢
/// </summary>
 
struct MarketInfo {
    wxString code;
    wxString name;
    wxString rate;// ÕÇ·ù
    wxString price;// ÏÖ¼Û
    wxString lastVolume;// ÏÖÊÖ/˲ʱ³É½»Á¿
    wxString buy1Money;// Âò1½ð¶î
    double preClosePrice;
};
 
 
/// <summary>
/// ³É½»ÐÅÏ¢
/// </summary>
struct DealInfo {
    wxString tradeTime;// ³É½»Ê±¼ä
    wxString price;// ³É½»¼Û
    int volume;//³É½»Á¿
};
 
 
// ´úÂë°å¿éÐÅÏ¢
struct CodeBlockInfo {
    wxString name;// Ãû³Æ
    int totalLimitUpCount;//×ܹ²ÕÇÍ£ÊýÁ¿
    int openLimitUpCount;// Õ¨°åÊýÁ¿
    int rank;// ÅÅÃû
};
 
// ´úÂëÏêÇéÐÅÏ¢
struct CodeDetailInfo {
    wxString limitUpReason; // ÕÇÍ£Ô­Òò
    std::list<wxString> blocks;//°å¿éÃû³Æ
    std::list<CodeBlockInfo> blockInfos;// °å¿éÏêÇé
    wxString limit_up_time; //ÕÇͣʱ¼ä
    wxString highDesc; //¼¸°å
    wxString zyltgb; //×ÔÓÉÁ÷ͨÊÐÖµ
    wxString price; //¹É¼Û
    wxString bigOrderDealMoney; //´óµ¥³É½»½ð¶îÓëÊýÁ¿
    int bigOrderDealCount;// ´óµ¥³É½»ÊýÁ¿
};
 
struct PositionInfo
{
    wxString id;
    wxString  investorID;
    wxString tradingDay;
    wxString securityName;
    wxString securityID;
    int historyPos;
    int historyPosFrozen;
    int todayBSPos;
    int todayBSPosFrozen;
    wxString historyPosPrice;
    wxString totalPosCost;
    int prePosition;
    int availablePosition;
    int currentPosition;
    wxString openPosCost;
    wxString todayCommission;
    wxString todayTotalBuyAmount;
    wxString todayTotalSellAmount;
    wxString updateTime;
    MarketInfo marketInfo;// ÐÐÇéÐÅÏ¢
    MarketInfo underlyingMarketInfo;//Õý¹ÉÐÅÏ¢
    std::list<DealInfo> buyList;// ÂòÈëÁбí
    std::list<DealInfo> sellList;// Âô³öÁбí
    CodeDetailInfo underlyingDetailInfo;// Õý¹ÉÏêÇéÐÅÏ¢
    uint64_t createTime;
};
 
struct MoneyInfo
{
 
 
};