feat(TA): update technical analysis service
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace FinlyticTechnicalAnalysis.Entities;
|
||||
|
||||
[Table("CachedAnalyses")]
|
||||
public class CachedAnalysisEntity
|
||||
{
|
||||
[Key]
|
||||
[MaxLength(20)]
|
||||
public string Isin { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(20)]
|
||||
public string Ticker { get; set; } = string.Empty;
|
||||
|
||||
[Column(TypeName = "jsonb")]
|
||||
public string AnalysisJson { get; set; } = "{}";
|
||||
|
||||
public DateTime CalculatedAt { get; set; } = DateTime.UtcNow;
|
||||
}
|
||||
Reference in New Issue
Block a user