protected override async Task <TimeSpan> GetDelayAsync() { TimersSettings timersSettings = await _timersSettingsService.GetAsync(); return(timersSettings.Settlements == TimeSpan.Zero ? TimeSpan.FromMinutes(5) : timersSettings.Settlements); }
public async Task <TimersSettingsModel> GetTimersSettingsAsync() { TimersSettings timersSettings = await _timersSettingsService.GetAsync(); return(Mapper.Map <TimersSettingsModel>(timersSettings)); }
protected override async Task <TimeSpan> GetDelayAsync() { TimersSettings timersSettings = await _timersSettingsService.GetAsync(); return(timersSettings.ExternalBalances); }
protected override async Task <TimeSpan> GetDelayAsync() { TimersSettings timersSettings = await _timersSettingsService.GetAsync(); return(timersSettings.InternalTrader); }
protected override async Task <TimeSpan> GetDelayAsync() { TimersSettings timersSettings = await _timersSettingsService.GetAsync(); return(timersSettings.MarketMaker); }
protected override async Task <TimeSpan> GetDelayAsync() { TimersSettings timersSettings = await _timersSettingsService.GetAsync(); return(timersSettings.Settlements); }