feat(technicals): add technical analysis microservice with indicator engines, pattern detectors, and strategies

This commit is contained in:
2026-08-24 21:36:05 +02:00
parent 12e7b57b16
commit f43ce2b7e9
36 changed files with 6792 additions and 0 deletions
@@ -0,0 +1,47 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace FinlyticTechnicals.Entities;
[Table("fta_candles")]
public class FtaCandleEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
[Required]
[MaxLength(20)]
public string Isin { get; set; } = string.Empty;
[MaxLength(30)]
public string Symbol { get; set; } = string.Empty;
[Required]
[MaxLength(10)]
public string Timeframe { get; set; } = "15m";
[Required]
public DateTime TimestampUtc { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal Open { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal High { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal Low { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal Close { get; set; }
public long Volume { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal? Bid { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal? Ask { get; set; }
}