Ejemplo n.º 1
0
        protected override async Task <TimeSpan> GetDelayAsync()
        {
            TimersSettings timersSettings = await _timersSettingsService.GetAsync();

            return(timersSettings.Settlements == TimeSpan.Zero
                ? TimeSpan.FromMinutes(5)
                : timersSettings.Settlements);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 4
0
        protected override async Task <TimeSpan> GetDelayAsync()
        {
            TimersSettings timersSettings = await _timersSettingsService.GetAsync();

            return(timersSettings.InternalTrader);
        }
Ejemplo n.º 5
0
        protected override async Task <TimeSpan> GetDelayAsync()
        {
            TimersSettings timersSettings = await _timersSettingsService.GetAsync();

            return(timersSettings.MarketMaker);
        }
Ejemplo n.º 6
0
        protected override async Task <TimeSpan> GetDelayAsync()
        {
            TimersSettings timersSettings = await _timersSettingsService.GetAsync();

            return(timersSettings.Settlements);
        }