Add Agent tracking balance

This commit is contained in:
2025-05-16 22:30:18 +07:00
parent b34e3aa886
commit 1cfb83f0b1
34 changed files with 764 additions and 115 deletions

View File

@@ -0,0 +1,16 @@
public class AgentBalance
{
public string AgentName { get; set; }
public decimal TotalValue { get; set; }
public decimal TotalAccountUsdValue { get; set; }
public decimal BotsAllocationUsdValue { get; set; }
public decimal PnL { get; set; }
public DateTime Time { get; set; }
public IList<PnLPoint> PnLHistory { get; set; }
}
public class PnLPoint
{
public DateTime Time { get; set; }
public decimal Value { get; set; }
}

View File

@@ -0,0 +1,18 @@
namespace Managing.Domain.Statistics;
public class AgentBalanceHistory
{
public string AgentName { get; set; }
public decimal TotalValue { get; set; }
public decimal TotalAccountUsdValue { get; set; }
public decimal BotsAllocationUsdValue { get; set; }
public decimal PnL { get; set; }
public DateTime Time { get; set; }
public IList<PnLPoint> PnLHistory { get; set; }
}
public class PnLPoint
{
public DateTime Time { get; set; }
public decimal Value { get; set; }
}