26 lines
827 B
C#
26 lines
827 B
C#
using FinlyticCore.Models.Analyzer;
|
|
|
|
namespace FinlyticAnalyzer.Services;
|
|
|
|
public interface IWinRateCalculator
|
|
{
|
|
/// <summary>
|
|
/// Calculates the win rate for a given sector and symbol under the specified market regime.
|
|
/// </summary>
|
|
double CalculateWinRate(string sector, string symbol, VixMarketRegime regime);
|
|
|
|
/// <summary>
|
|
/// Calculates a multi-factor dynamic AI Win-Rate / Confidence Score using technicals, sentiment, fundamentals, AI eval score, and market regime.
|
|
/// </summary>
|
|
double CalculateDynamicWinRate(
|
|
string sector,
|
|
string symbol,
|
|
VixMarketRegime regime,
|
|
double? n8nEvalScore = null,
|
|
double? technicalScore = null,
|
|
double? sentimentScore = null,
|
|
double? fundamentalScore = null,
|
|
string signalType = "BUY");
|
|
}
|
|
|