feat(Analyzer): refactor analyzer and implement auto mode

This commit is contained in:
2026-08-09 21:01:38 +02:00
parent 5475c3ac51
commit b57cc9894c
31 changed files with 3425 additions and 0 deletions
@@ -0,0 +1,28 @@
using System.Threading;
using System.Threading.Tasks;
using FinlyticCore.Models.Analyzer;
namespace FinlyticAnalyzer.Services;
public interface IVixTrackerService
{
/// <summary>
/// Gets the current VIX value.
/// </summary>
decimal GetCurrentVix();
/// <summary>
/// Gets the current market regime based on VIX.
/// </summary>
VixMarketRegime GetCurrentRegime();
/// <summary>
/// Updates the VIX tracker with a new tick value.
/// </summary>
void UpdateVixFromTick(decimal vixValue);
/// <summary>
/// Polls the VIX asynchronously and returns its value.
/// </summary>
Task<decimal> PollVixAsync(CancellationToken cancellationToken = default);
}