Ejemplo n.º 1
0
 public override void Initialize()
 {
     SetStartDate(_startDate);
     SetEndDate(_endDate);
     _security = AddEquity(Ticker, _resolution);
     _relativeStrengthIndicator = CreateRelativeStrengthIndicator(_security.Symbol, _resolution);
 }
Ejemplo n.º 2
0
 public void Ctor_Throws_With_Invalid_PeriodLength(int invalidPeriodLength)
 {
     Assert.Throws <ArgumentException>(() => _sut = new RelativeStrengthIndicator(invalidPeriodLength));
 }
Ejemplo n.º 3
0
 public void Setup()
 {
     _sut = new RelativeStrengthIndicator(_periodLength);
 }