示例#1
0
        protected override async Task <TimeSpan> GetDelayAsync()
        {
            TimersSettings timersSettings = await _timersSettingsService.GetAsync();

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

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

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

            return(timersSettings.Settlements);
        }