public AssetPairExtPriceSettings(string presetDefaultExchange, decimal outlierThreshold,
                                  TimeSpan minOrderbooksSendingPeriod, AssetPairMarkupsParams markups,
                                  RepeatedOutliersParams repeatedOutliers,
                                  ImmutableSortedDictionary <OrderbookGeneratorStepDomainEnum, bool> steps,
                                  ImmutableSortedDictionary <string, ExchangeExtPriceSettings> exchanges)
 {
     PresetDefaultExchange      = presetDefaultExchange;
     OutlierThreshold           = outlierThreshold;
     MinOrderbooksSendingPeriod = minOrderbooksSendingPeriod;
     Exchanges        = exchanges;
     Markups          = markups;
     RepeatedOutliers = repeatedOutliers;
     Steps            = steps;
 }
 public AssetPairExtPriceSettings(string presetDefaultExchange, decimal outlierThreshold,
                                  TimeSpan minOrderbooksSendingPeriod, AssetPairMarkupsParams markups, RepeatedOutliersParams repeatedOutliers,
                                  ImmutableDictionary <OrderbookGeneratorStepDomainEnum, bool> steps,
                                  ImmutableDictionary <string, ExchangeExtPriceSettings> exchanges)
 {
     PresetDefaultExchange =
         presetDefaultExchange ?? throw new ArgumentNullException(nameof(presetDefaultExchange));
     OutlierThreshold           = outlierThreshold;
     MinOrderbooksSendingPeriod = minOrderbooksSendingPeriod;
     Exchanges        = exchanges ?? throw new ArgumentNullException(nameof(exchanges));
     Markups          = markups ?? throw new ArgumentNullException(nameof(markups));
     RepeatedOutliers = repeatedOutliers ?? throw new ArgumentNullException(nameof(repeatedOutliers));
     Steps            = steps ?? throw new ArgumentNullException(nameof(steps));
 }