29 lines
808 B
C#
29 lines
808 B
C#
using System.Text.Json.Serialization;
|
|
using FinlyticCore.Models.Trades;
|
|
|
|
namespace FinlyticCore.Models.Analyzer;
|
|
|
|
/// <summary>
|
|
/// Response payload for manual AI analysis trigger RPC.
|
|
/// </summary>
|
|
public class ManualAnalysisResponseDto
|
|
{
|
|
[JsonPropertyName("analysisId")]
|
|
public string AnalysisId { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("isTradeProposed")]
|
|
public bool IsTradeProposed { get; set; }
|
|
|
|
[JsonPropertyName("status")]
|
|
public string Status { get; set; } = "Success";
|
|
|
|
[JsonPropertyName("recommendation")]
|
|
public string Recommendation { get; set; } = "RECOMMENDED";
|
|
|
|
[JsonPropertyName("n8nResponse")]
|
|
public N8nAnalysisResponseDto? N8nResponse { get; set; }
|
|
|
|
[JsonPropertyName("proposal")]
|
|
public TradeProposalDto? Proposal { get; set; }
|
|
}
|