예제 #1
0
 public ExchangeExtPriceSettings(TimeSpan orderbookOutdatingThreshold, ExchangeDisabledSettings disabled,
                                 ExchangeHedgingSettings hedging, ExchangeOrderGenerationSettings orderGeneration)
 {
     OrderbookOutdatingThreshold = orderbookOutdatingThreshold;
     Disabled        = disabled ?? throw new ArgumentNullException(nameof(disabled));
     Hedging         = hedging ?? throw new ArgumentNullException(nameof(hedging));
     OrderGeneration = orderGeneration ?? throw new ArgumentNullException(nameof(orderGeneration));
 }
 public ExchangeExtPriceSettings(TimeSpan orderbookOutdatingThreshold, ExchangeDisabledSettings disabled,
                                 ExchangeHedgingSettings hedging, ExchangeOrderGenerationSettings orderGeneration)
 {
     OrderbookOutdatingThreshold = orderbookOutdatingThreshold;
     Disabled        = disabled;
     Hedging         = hedging;
     OrderGeneration = orderGeneration;
 }