using System; using System.ComponentModel.DataAnnotations; namespace FinlyticTechnicalAnalysis.Entities; /// /// Entity representing global indicator and strategy settings for FinlyticTechnicalAnalysis. /// Persisted in PostgreSQL and updated dynamically via Admin Panel MQTT events. /// 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; }