Add agent fees
This commit is contained in:
@@ -391,7 +391,7 @@ public class DataController : ControllerBase
|
||||
try
|
||||
{
|
||||
// Get all agent summaries
|
||||
var allAgentSummaries = await _mediator.Send(new GetAllAgentSummariesCommand("Total"));
|
||||
var allAgentSummaries = await _mediator.Send(new GetAllAgentSummariesCommand());
|
||||
|
||||
// Filter agents with valid PnL data and order by PnL
|
||||
var agentsWithPnL = allAgentSummaries
|
||||
@@ -638,6 +638,7 @@ public class DataController : ControllerBase
|
||||
ActiveStrategiesCount = agentSummary.ActiveStrategiesCount,
|
||||
TotalVolume = agentSummary.TotalVolume,
|
||||
TotalBalance = agentSummary.TotalBalance,
|
||||
TotalFees = agentSummary.TotalFees,
|
||||
};
|
||||
|
||||
agentSummaryViewModels.Add(agentSummaryViewModel);
|
||||
|
||||
Reference in New Issue
Block a user