feat(technicals): add technical analysis microservice with indicator engines, pattern detectors, and strategies

This commit is contained in:
2026-08-24 21:36:05 +02:00
parent 12e7b57b16
commit f43ce2b7e9
36 changed files with 6792 additions and 0 deletions
@@ -0,0 +1,24 @@
using System.Collections.Generic;
using FinlyticCore.Dtos.TechnicalAnalysis;
namespace FinlyticTechnicals.Strategies;
/// <summary>
/// Strategy contract for evaluating technical context, indicators, and detected patterns to produce structured trading setups with an ExitPlan.
/// </summary>
public interface ITechnicalStrategy
{
string StrategyKey { get; }
string StrategyName { get; }
int Priority { get; }
/// <summary>
/// Checks if this strategy is applicable in the current market regime.
/// </summary>
bool IsApplicable(MarketRegime regime);
/// <summary>
/// Evaluates technical context and active patterns to generate a StrategyResultDto or null.
/// </summary>
StrategyResultDto? Evaluate(TechnicalContext context, IReadOnlyList<PatternResultDto> activePatterns);
}