Ejemplo n.º 1
0
 public Transmitter(TradeeBotModel model, string sym, TransmitterSettings settings)
 {
     Settings             = settings;
     Model                = model;
     Data                 = new Dictionary <TimeFrame, MarketSeriesData>();
     HistoricDataRequests = new List <HistoricDataRequest>();
     SymbolCode           = sym;
     Enabled              = true;
     StatusMsg            = "Active";
     AverageSpread        = new ExpMovingAvr(50);
 }
Ejemplo n.º 2
0
 public Settings()
 {
     Transmitters      = new TransmitterSettings[0];
     DefaultTimeFrames = new [] { ETimeFrame.Min1, ETimeFrame.Hour1, ETimeFrame.Hour12 };
 }