using Managing.Application.Abstractions.Services;
using Microsoft.Extensions.Logging;
using static Managing.Common.Enums;

namespace Managing.Application.Workers;

public class PricesFourHoursWorker : PricesBaseWorker<PricesFourHoursWorker>
{
    public PricesFourHoursWorker(
        ILogger<PricesFourHoursWorker> logger,
        IPricesService pricesService,
        IServiceProvider serviceProvider,
        IStatisticService statisticService) : base(
        logger,
        pricesService,
        serviceProvider,
        statisticService,
        TimeSpan.FromHours(2),
        WorkerType.PriceFourHour,
        Timeframe.FourHour
    )
    {
    }
}