using System.Threading;
using System.Threading.Tasks;
using FinlyticCore.Models.Analyzer;
namespace FinlyticAnalyzer.Services;
public interface IVixTrackerService
{
///
/// Gets the current VIX value.
///
decimal GetCurrentVix();
///
/// Gets the current market regime based on VIX.
///
VixMarketRegime GetCurrentRegime();
///
/// Updates the VIX tracker with a new tick value.
///
void UpdateVixFromTick(decimal vixValue);
///
/// Polls the VIX asynchronously and returns its value.
///
Task PollVixAsync(CancellationToken cancellationToken = default);
}