19 using System.Collections.Generic;
32 : base(permtick, data, factorFileMinimumDate)
56 if (factorDate.Date < searchDate.Date)
62 switch (dataNormalizationMode)
66 var row = factorFileRow.FirstOrDefault(row => row.DataMappingMode == dataMappingMode);
67 if (row !=
null && row.BackwardsRatioScale.Count > contractOffset)
69 factor = row.BackwardsRatioScale[(int)contractOffset];
75 var row = factorFileRow.FirstOrDefault(row => row.DataMappingMode == dataMappingMode);
76 if (row !=
null && row.BackwardsPanamaCanalScale.Count > contractOffset)
78 factor = row.BackwardsPanamaCanalScale[(int)contractOffset];
84 var row = factorFileRow.FirstOrDefault(row => row.DataMappingMode == dataMappingMode);
85 if (row !=
null && row.ForwardPanamaCanalScale.Count > contractOffset)
87 factor = row.ForwardPanamaCanalScale[(int)contractOffset];
92 throw new ArgumentOutOfRangeException(nameof(dataNormalizationMode));