public BaseAnalysisData(string stockCode, AppTypes.TimeScale timeScale, AppTypes.TimeRanges timeRange, int dataMaxCount) { this.DataStockCode = stockCode; this.DataTimeScale = timeScale; this.DataTimeRange = timeRange; this.DataMaxCount = dataMaxCount; ClearCache(); LoadData(); }
public TradeAlert(string stockCode, string strategy, AppTypes.TimeScale timeScale, DateTime onDateTime, double price, double volume, TradePointInfo tradePoint) { this.StockCode = stockCode; this.TimeScale = timeScale; this.Strategy = strategy; this.OnDateTime = onDateTime; this.Price = price; this.Volume = volume; this.TradePoint = tradePoint; }