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

namespace Managing.Api.Workers.Workers;

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