public HistoricalDataManager(IBClient ibClient, Chart chart, DataGridView gridView, IBTradeApp appForm) : base(ibClient, chart) { /* * Chart historicalChart = (Chart)uiControl; * historicalChart.Series[0]["PriceUpColor"] = "Green"; * historicalChart.Series[0]["PriceDownColor"] = "Red"; */ this.gridView = gridView; this.appForm = appForm; AppStrategyManager stgManager = appForm.appStrategyManager; this.appMDManager = stgManager.getAppMDManager(); this.RTBSynchronizer = appMDManager.getAppRTBSynchronizer(); }