Exemple #1
0
 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;
 }
Exemple #2
0
        public HoldingStocks(TrendsInStockPrices strategics) : base(strategics)
        {
            if (StartProgress(strategics.Code) > 0)
            {
                consecutive.Dispose();
            }

            OrderNumber     = new Dictionary <string, dynamic>();
            this.strategics = strategics;
            consecutive.Connect(this);
        }
Exemple #3
0
 public Holding(TrendsInStockPrices strategics)
 {
     TS          = strategics;
     consecutive = new Consecutive(strategics, this);
 }
Exemple #4
0
 public HoldingStocks(TrendsInStockPrices strategics) : base(strategics)
 {
     OrderNumber     = new Dictionary <string, dynamic>();
     this.strategics = strategics;
 }