using Managing.Domain.Trades; using Orleans; namespace Managing.Domain.Bots; [GenerateSerializer] public class TradingBotBackup { /// /// The complete trading bot configuration /// [Id(0)] public TradingBotConfig Config { get; set; } /// /// Runtime state: Active signals for the bot /// [Id(1)] public HashSet Signals { get; set; } /// /// Runtime state: Open and closed positions for the bot /// [Id(2)] public List Positions { get; set; } /// /// Runtime state: Historical wallet balances over time /// [Id(3)] public Dictionary WalletBalances { get; set; } /// /// Runtime state: When the bot was started /// [Id(4)] public DateTime StartupTime { get; set; } /// /// Runtime state: When the bot was created /// [Id(5)] public DateTime CreateDate { get; set; } }