13 lines
564 B
C#
13 lines
564 B
C#
using System;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace FinlyticCore.Dtos.TechnicalAnalysis;
|
|
|
|
public record StrategySignalDto(
|
|
[property: JsonPropertyName("type")] string Type, // "GoldenCross", "DeathCross", "RsiDivergenceBullish", "RsiDivergenceBearish", "Breakout"
|
|
[property: JsonPropertyName("timestamp")] DateTime Timestamp,
|
|
[property: JsonPropertyName("direction")] string Direction, // "BUY", "SELL", "NEUTRAL"
|
|
[property: JsonPropertyName("price")] decimal Price,
|
|
[property: JsonPropertyName("description")] string Description
|
|
);
|