Update strategy details models reponse

This commit is contained in:
2025-08-06 17:03:19 +07:00
parent 93502ca7cc
commit a0bd2e2100
2 changed files with 5 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
using Managing.Common;
using Managing.Domain.Trades;
namespace Managing.Api.Models.Responses
@@ -15,7 +16,7 @@ namespace Managing.Api.Models.Responses
/// <summary>
/// Current state of the strategy (RUNNING, STOPPED, UNUSED)
/// </summary>
public string State { get; set; }
public Enums.BotStatus State { get; set; }
/// <summary>
/// Total profit or loss generated by the strategy in USD
@@ -67,7 +68,7 @@ namespace Managing.Api.Models.Responses
/// </summary>
public Dictionary<Guid, Position> Positions { get; set; } = new Dictionary<Guid, Position>();
public string Identifier { get; set; }
public Guid Identifier { get; set; }
public Dictionary<DateTime, decimal> WalletBalances { get; set; } = new Dictionary<DateTime, decimal>();
}