18 using System.Collections.Generic;
33 private decimal? _splitFactor;
34 private decimal _referencePrice;
62 _factorFileProvider = factorFileProvider;
63 _mapFile = mapFileProvider.ResolveMapFile(
Config);
78 var factor = _splitFactor;
81 var close = _referencePrice;
84 throw new InvalidOperationException($
"Zero reference price for {Config.Symbol} split at {eventArgs.Date}");
89 yield
return new Split(
98 decimal referencePrice;
99 if (
FactorFile.HasSplitEventOnNextTradingDay(eventArgs.
Date, out splitFactor, out referencePrice))
101 _splitFactor = splitFactor;
102 _referencePrice = referencePrice;
103 yield
return new Split(