using Managing.Application.Abstractions.Services;
using Managing.Application.Workers.Abstractions;
using static Managing.Common.Enums;

namespace Managing.Api.Workers.Workers;

public class PricesFiveMinutesWorker : PricesBaseWorker<PricesFiveMinutesWorker>
{
    public PricesFiveMinutesWorker(
        ILogger<PricesFiveMinutesWorker> logger,
        IPricesService pricesService,
        IStatisticService statisticService,
        IWorkerService workerService) : base(
        logger,
        pricesService,
        workerService,
        statisticService,
        TimeSpan.FromMinutes(1),
        WorkerType.PriceFiveMinutes,
        Timeframe.FiveMinutes
    )
    {
    }
}