using System.ComponentModel.DataAnnotations; using Managing.Domain.Bots; using Managing.Domain.Candles; using Managing.Domain.Trades; namespace Managing.Api.Models.Responses { public class TradingBotResponse { /// /// Current status of the bot (Up, Down, etc.) /// [Required] public string Status { get; internal set; } /// /// List of signals generated by the bot /// [Required] public List Signals { get; internal set; } /// /// List of positions opened by the bot /// [Required] public List Positions { get; internal set; } /// /// Candles used by the bot for analysis /// [Required] public List Candles { get; internal set; } /// /// Current win rate percentage /// [Required] public int WinRate { get; internal set; } /// /// Current profit and loss /// [Required] public decimal ProfitAndLoss { get; internal set; } /// /// Unique identifier for the bot /// [Required] public string Identifier { get; set; } /// /// Agent name associated with the bot /// [Required] public string AgentName { get; set; } /// /// The full trading bot configuration /// [Required] public TradingBotConfig Config { get; internal set; } /// /// The time when the bot was created /// [Required] public DateTime CreateDate { get; internal set; } /// /// The time when the bot was started /// [Required] public DateTime StartupTime { get; internal set; } } }