internal Consecutive(TrendsInStockPrices strategics, Holding ho) { Short = new Stack <double>(); Long = new Stack <double>(); Trend = new Stack <double>(); ts = strategics; this.strategics = strategics; this.ho = ho; ho.Send += OnReceiveDrawChart; }
public HoldingStocks(TrendsInStockPrices strategics) : base(strategics) { if (StartProgress(strategics.Code) > 0) { consecutive.Dispose(); } OrderNumber = new Dictionary <string, dynamic>(); this.strategics = strategics; consecutive.Connect(this); }
public Holding(TrendsInStockPrices strategics) { TS = strategics; consecutive = new Consecutive(strategics, this); }
public HoldingStocks(TrendsInStockPrices strategics) : base(strategics) { OrderNumber = new Dictionary <string, dynamic>(); this.strategics = strategics; }