Update balance tracking

This commit is contained in:
2025-10-03 16:43:20 +07:00
parent 6928770da7
commit f72bfc4ab8
11 changed files with 136 additions and 34 deletions

View File

@@ -2,8 +2,10 @@ namespace Managing.Domain.Statistics;
public class AgentBalance
{
public string AgentName { get; set; }
public int UserId { get; set; }
public decimal TotalBalanceValue { get; set; }
public decimal UsdcWalletValue { get; set; }
public decimal UsdcInPositionsValue { get; set; }
public decimal BotsAllocationUsdValue { get; set; }
public decimal PnL { get; set; }
public DateTime Time { get; set; }

View File

@@ -2,6 +2,7 @@ namespace Managing.Domain.Statistics;
public class AgentBalanceHistory
{
public int UserId { get; set; }
public string AgentName { get; set; }
public List<AgentBalance> AgentBalances { get; set; }