This commit is contained in:
26
CPRobotDlg.h
26
CPRobotDlg.h
@@ -4,9 +4,21 @@
|
||||
#pragma once
|
||||
#include "DataMgr.h"
|
||||
#include "afxwin.h"
|
||||
#include "EventHandler.h"
|
||||
#include "OptionEventHandler.h"
|
||||
#include "Trader.h"
|
||||
|
||||
struct OPTION_DATA
|
||||
{
|
||||
std::string m_Code;
|
||||
float m_afOfferPrice[5];
|
||||
int m_aiOfferCnt[5];
|
||||
float m_afBidPrice[5];
|
||||
int m_aiBidCnt[5];
|
||||
};
|
||||
|
||||
// CCPRobotDlg 대화 상자
|
||||
class CCPRobotDlg : public CDialog
|
||||
class CCPRobotDlg : public CDialog, public IEventHandler
|
||||
{
|
||||
// 생성입니다.
|
||||
public:
|
||||
@@ -26,6 +38,8 @@ public:
|
||||
afx_msg void OnBnClickedRadioAsk();
|
||||
afx_msg void OnEnChangeEditOrderingprice();
|
||||
|
||||
virtual void Received();
|
||||
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
|
||||
virtual BOOL DestroyWindow();
|
||||
@@ -45,5 +59,13 @@ private:
|
||||
|
||||
CDataMgr* m_pDataMgr;
|
||||
ICpOptionCodePtr m_pOpCode;
|
||||
IDibPtr m_pOpMst;
|
||||
ISysDibPtr m_pOpCurOnly;
|
||||
ISysDibPtr m_pOpJpBid;
|
||||
CEventHandler m_EventHandler;
|
||||
|
||||
std::vector<OPTION_DATA> m_PutDataList;
|
||||
//ISysDibPtr m_pOpMst;
|
||||
|
||||
CTrader* m_pTrader;
|
||||
std::vector<COptionEventHandler*> m_HandlerList;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user