private RmdManager() { Stock = new StockBoard(); Elw = new ElwBoard(); BondSpot = new BondSpotBoard(); KtbSpot = new KtbSpotBoard(); KospiFuture = new KospiFutureBoard(); Call = new KospiOptionBoard(); Put = new KospiOptionBoard(); Future = new FutureBoard(); UsdSpot = new UsdSpotBoard(); _boardDict.Add(Detail.ProductType.Stock, Stock); _boardDict.Add(Detail.ProductType.ELW, Elw); _boardDict.Add(Detail.ProductType.BondSpot, BondSpot); _boardDict.Add(Detail.ProductType.KtbSpot, KtbSpot); _boardDict.Add(Detail.ProductType.KospiFuture, KospiFuture); _boardDict.Add(Detail.ProductType.CallOption, Call); _boardDict.Add(Detail.ProductType.PutOption, Put); _boardDict.Add(Detail.ProductType.UsdFuture, Future); _boardDict.Add(Detail.ProductType.KtbFuture, Future); _boardDict.Add(Detail.ProductType.UsdSpot, UsdSpot); }
public PacketHandlerBond(BondSpotBoard bondBoard, Boolean bSave) { _bondBoard = bondBoard; _bSave = bSave; _data = new MarketDataSaveCollection(); }