protected CurrencyPairInfo(CurrencyPairDto currencyPair, decimal sampleRate, bool enabled, string comment)
 {
     CurrencyPair = currencyPair;
     SampleRate = sampleRate;
     Enabled = enabled;
     Comment = comment;
 }
        public Task RemoveCurrencyPair(CurrencyPairDto ccyPair)
        {
            var update = new CurrencyPairUpdateDto
            {
                CurrencyPair = ccyPair,
                UpdateType = UpdateTypeDto.Removed
            };

            return Publish(update);
        }
 public RandomWalkCurrencyPairInfo(CurrencyPairDto currencyPair, decimal sampleRate, bool enabled, string comment) 
     : base(currencyPair, sampleRate, enabled, comment)
 {
     _halfSpread = Random.Next(2, 10);
 }
 public CyclicalCurrencyPairInfo(CurrencyPairDto currencyPair, decimal sampleRate, bool enabled, string comment, decimal min, decimal max)
     : base(currencyPair, sampleRate, enabled, comment)
 {
     _min = min;
     _max = max;
 }
 public RandomWalkCurrencyPairInfo(CurrencyPairDto currencyPair, decimal sampleRate, bool enabled, string comment)
     : base(currencyPair, sampleRate, enabled, comment)
 {
 }