Fix second half of the CA1051 warnings (#8140)

* Fix second half of the CA1051 warnings

* Address requested changes
This commit is contained in:
Ricardo Andrés Marino Rojas
2024-07-05 11:54:03 -05:00
committed by GitHub
parent 574eafd00d
commit 0a0c012ae9
97 changed files with 406 additions and 408 deletions
@@ -39,9 +39,9 @@ namespace QuantConnect.Algorithm.CSharp
private ExponentialMovingAverage SPY_Close_EMA50;
// track last year of close and EMA10/EMA50
public readonly RollingWindow<IndicatorDataPoint> SPY_Close_History = new RollingWindow<IndicatorDataPoint>(252);
public readonly RollingWindow<IndicatorDataPoint> SPY_Close_EMA10_History = new RollingWindow<IndicatorDataPoint>(252);
public readonly RollingWindow<IndicatorDataPoint> SPY_Close_EMA50_History = new RollingWindow<IndicatorDataPoint>(252);
private readonly RollingWindow<IndicatorDataPoint> SPY_Close_History = new RollingWindow<IndicatorDataPoint>(252);
private readonly RollingWindow<IndicatorDataPoint> SPY_Close_EMA10_History = new RollingWindow<IndicatorDataPoint>(252);
private readonly RollingWindow<IndicatorDataPoint> SPY_Close_EMA50_History = new RollingWindow<IndicatorDataPoint>(252);
public override void Initialize()
{