using System; using FinlyticCore.Models.Analyzer; namespace FinlyticCore.Models.Trades; /// /// Structured closed trade record exported to JSON/Parquet for AI win-rate calibration feedback loops. /// public class TradeFeedbackRecord { public string TradeId { get; set; } = string.Empty; public string AnalysisId { get; set; } = string.Empty; public string Sector { get; set; } = string.Empty; public string Symbol { get; set; } = string.Empty; public string Isin { get; set; } = string.Empty; public decimal EntryPrice { get; set; } public decimal StopLoss { get; set; } public decimal TakeProfit { get; set; } public decimal UserExitPrice { get; set; } public decimal PnlAbsolute { get; set; } public decimal PnlPercent { get; set; } public bool IsWin { get; set; } public string CloseReason { get; set; } = string.Empty; public VixMarketRegime VixRegime { get; set; } public decimal VixValue { get; set; } public double ReactionDelayMinutes { get; set; } public decimal SlippagePercent { get; set; } public DateTime CreatedAt { get; set; } public DateTime ClosedAt { get; set; } }