Files
Finlytic/FinlyticCore/Models/Trades/TradeAcceptanceDto.cs
T

32 lines
1.1 KiB
C#

using System;
namespace FinlyticCore.Models.Trades;
public class TradeAcceptanceDto
{
public string TradeId { get; set; } = string.Empty;
public string AnalysisId { get; set; } = string.Empty;
public string Isin { get; set; } = string.Empty;
public string? UserId { get; set; } = "default_user";
public decimal? ActualEntryPrice { get; set; }
public decimal? PositionSize { get; set; }
public decimal? LeverageUsed { get; set; } = 1;
public decimal? EntryFee { get; set; } = 0;
public decimal? ExitFee { get; set; } = 0;
public string? Symbol { get; set; }
public string? SignalType { get; set; }
public decimal? EntryPrice { get; set; }
public decimal? StopLoss { get; set; }
public decimal? TakeProfit { get; set; }
public string? InstrumentType { get; set; }
public string? Timeframe { get; set; }
public string? Reasoning { get; set; }
public DateTime? ExecutionTimestamp { get; set; }
public decimal? Quantity { get; set; }
public decimal? KnockoutThreshold { get; set; }
public bool IsRecurring { get; set; } = false;
}