Пример #1
0
 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();
 }
Пример #2
0
 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;
 }