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