feat(TA): update technical analysis service

This commit is contained in:
2026-08-09 21:01:42 +02:00
parent 05d55a324c
commit c74a4456af
18 changed files with 2288 additions and 0 deletions
@@ -0,0 +1,22 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace FinlyticTechnicalAnalysis.Entities;
/// <summary>
/// Entity representing global indicator and strategy settings for FinlyticTechnicalAnalysis.
/// Persisted in PostgreSQL and updated dynamically via Admin Panel MQTT events.
/// </summary>
public class TaSettingsEntity
{
[Key]
public Guid Id { get; set; }
public int EmaShortPeriod { get; set; } = 20;
public int SmaMediumPeriod { get; set; } = 50;
public int SmaLongPeriod { get; set; } = 200;
public double RsiOverboughtLimit { get; set; } = 70.0;
public double RsiOversoldLimit { get; set; } = 30.0;
public double SupertrendMultiplier { get; set; } = 3.0;
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}