feat(TA): update technical analysis service
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user