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,24 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace FinlyticTechnicalAnalysis.Entities;
[Table("MacroData")]
public class MacroDataEntity
{
[Key]
[MaxLength(20)]
public string Symbol { get; set; } = string.Empty; // "^VIX", "^GSPC", "DX-Y.NY"
[Column(TypeName = "decimal(18, 6)")]
public decimal Value { get; set; }
[Column(TypeName = "decimal(18, 6)")]
public decimal PreviousClose { get; set; }
[MaxLength(50)]
public string TrendState { get; set; } = "Neutral";
public DateTime LastUpdatedAt { get; set; } = DateTime.UtcNow;
}