feat(Analyzer): refactor analyzer and implement auto mode
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user