<?php

require_once __DIR__ . '/NewsRiskService.php';

class NewsService
{
    public static function getForexNews($symbol)
    {
        $risk = NewsRiskService::headlineRisk($symbol);
        return $risk['events'] ?? [];
    }

    public static function checkHighImpactNews($symbol, $minutesAhead = 90)
    {
        return NewsRiskService::check($symbol, $minutesAhead);
    }
}
