Fix Runtime by adding TotalRuntimeInSeconds
This commit is contained in:
@@ -498,7 +498,8 @@ public class DataController : ControllerBase
|
||||
PnL = strategy.Pnl,
|
||||
NetPnL = strategy.NetPnL,
|
||||
ROIPercentage = strategy.Roi,
|
||||
Runtime = strategy.StartupTime,
|
||||
Runtime = strategy.Status == BotStatus.Running ? strategy.LastStartTime : null,
|
||||
TotalRuntimeSeconds = strategy.GetTotalRuntimeSeconds(),
|
||||
WinRate = winRate,
|
||||
TotalVolumeTraded = totalVolume,
|
||||
VolumeLast24H = volumeLast24h,
|
||||
|
||||
Reference in New Issue
Block a user