feat(Core): update DTOs and shared models
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace FinlyticCore.Dtos.TechnicalAnalysis;
|
||||
|
||||
public record TechnicalAnalysisDto(
|
||||
[property: JsonPropertyName("isin")] string Isin,
|
||||
[property: JsonPropertyName("ticker")] string Ticker,
|
||||
[property: JsonPropertyName("companyName")] string CompanyName,
|
||||
[property: JsonPropertyName("lastUpdated")] DateTime LastUpdated,
|
||||
[property: JsonPropertyName("candles")] List<CandleDto> Candles,
|
||||
[property: JsonPropertyName("indicators")] List<IndicatorValuesDto> Indicators,
|
||||
[property: JsonPropertyName("patterns")] List<ChartPatternDto> Patterns,
|
||||
[property: JsonPropertyName("signals")] List<StrategySignalDto> Signals,
|
||||
[property: JsonPropertyName("marketRegime")] MarketRegimeDto MarketRegime,
|
||||
[property: JsonPropertyName("currency")] string Currency = "EUR"
|
||||
);
|
||||
Reference in New Issue
Block a user