Add ROI to botPaginated
This commit is contained in:
@@ -365,7 +365,7 @@ public class BotController : BaseController
|
||||
string? name = null,
|
||||
string? ticker = null,
|
||||
string? agentName = null,
|
||||
string sortBy = "CreateDate",
|
||||
BotSortableColumn sortBy = BotSortableColumn.CreateDate,
|
||||
string sortDirection = "Desc")
|
||||
{
|
||||
try
|
||||
@@ -456,6 +456,7 @@ public class BotController : BaseController
|
||||
? item.TradeWins / (item.TradeWins + item.TradeLosses)
|
||||
: 0,
|
||||
ProfitAndLoss = item.Pnl,
|
||||
Roi = item.Roi,
|
||||
Identifier = item.Identifier.ToString(),
|
||||
AgentName = item.User.AgentName,
|
||||
CreateDate = item.CreateDate,
|
||||
|
||||
Reference in New Issue
Block a user