using QuantEngine.Application.Interfaces;

namespace QuantEngine.Application.Services;

public class DataCollectionService
{
    private readonly ICollectionOrchestrator _orchestrator;

    public DataCollectionService(ICollectionOrchestrator orchestrator)
    {
        _orchestrator = orchestrator;
    }

    public async Task<CollectionRunResult> RunCollectionAsync(
        string runId,
        string account,
        List<string> tickers)
    {
        return await _orchestrator.RunCollectionAsync(runId, account, tickers);
    }
}
