/// <summary> /// 建立商品資訊 /// </summary> private void CreateProductDdeData() { //讀取股期商品CVS資料;// DataImport DataImport = new DataImport(); m_dicSymbolStock = DataImport.ImportStockCSV("./StockInfo.csv"); //讀取指數商品CVS代號;// m_dicSymbolIndex = DataImport.ImportIndexCSV("./IndexInfo.csv"); //建立股票期貨類的DDE連線;// if (!CreateDdeLink(m_dicSymbolStock, true)) return; //建立指數期貨類的DDE連線;// if (!CreateDdeLink(m_dicSymbolIndex, false)) return; DataImport = null; }