public BasicTestHandler() { m_mainForm = null; m_iYuantaAPI = null; m_strJongCode = ""; }
public StockAccountHandler() { m_mainForm = null; m_iYuantaAPI = null; m_mapRequestTR = new Dictionary <int, string>(); m_mapAutoTR = new Dictionary <string, string>(); }
public StockSiseHandler() { m_mainForm = null; m_iYuantaAPI = null; m_mapRequestTR = new Dictionary <int, string>(); m_mapAutoTR = new Dictionary <int, string>(); m_nPrevLastPrice = 0; m_nReqID_301004 = 0; }
public StockOrderHandler() { m_mainForm = null; m_iYuantaAPI = null; m_mapRequestTR = new Dictionary <int, string>(); m_mapAutoTR = new Dictionary <int, string>(); m_mapAcctInfos = new Dictionary <string, string>(); m_nPrevLastPrice = 0; m_nOrderMesuMedo = ORDER_TYPE_MESU; m_nReqID_mesu = 0; m_nReqID_medo = 0; m_strJongCode = ""; }
public MainForm() { InitializeComponent(); // 유안타 오픈 API 기본 설정 /////////////////////////////// IConnectionPoint icp; IConnectionPointContainer icpc; int dwCookie = 0; m_iYuantaAPI = new YuantaAPI(); icpc = (IConnectionPointContainer)m_iYuantaAPI; Guid IID_QueryEvents = typeof(IYuantaAPIEvents).GUID; icpc.FindConnectionPoint(ref IID_QueryEvents, out icp); icp.Advise(this, out dwCookie); //////////////////////////////////////////////////////////// m_basicTestHandler = new BasicTestHandler(); m_basicTestHandler.m_mainForm = this; m_basicTestHandler.m_iYuantaAPI = m_iYuantaAPI; m_stockSiseHandler = new StockSiseHandler(); m_stockSiseHandler.m_mainForm = this; m_stockSiseHandler.m_iYuantaAPI = m_iYuantaAPI; m_stockSiseHandler.InitControl(); ImageList imgList = new ImageList(); imgList.ImageSize = new Size(1, 18); lvAcctList.SmallImageList = imgList; // 추가 Initial(); Login(); //19.05.20 igg added }