public IObservable<Unit> SetPriceFeedThroughput(double throughput)
        {
            var dto = new FeedThroughputDto
            {
                Throughput = throughput
            };

            return _controlServiceClient.SetPriceFeedThroughput(dto)
                .Select(_ => Unit.Default);
        }
Example #2
0
 public UnitDto SetPriceFeedThroughput(FeedThroughputDto throughputDto)
 {
     Log.InfoFormat("Received set price feed throughput command to {0} from {1}.", throughputDto.Throughput, ContextUtil.GetUserName(Context));
     _priceFeed.SetUpdateFrequency(throughputDto.Throughput);
     return new UnitDto();
 }