Fix Runtime
This commit is contained in:
@@ -499,6 +499,9 @@ public class DataController : ControllerBase
|
||||
NetPnL = strategy.NetPnL,
|
||||
ROIPercentage = strategy.Roi,
|
||||
Runtime = strategy.Status == BotStatus.Running ? strategy.LastStartTime : null,
|
||||
LastStartTime = strategy.LastStartTime,
|
||||
LastStopTime = strategy.LastStopTime,
|
||||
AccumulatedRunTimeSeconds = strategy.AccumulatedRunTimeSeconds,
|
||||
TotalRuntimeSeconds = strategy.GetTotalRuntimeSeconds(),
|
||||
WinRate = winRate,
|
||||
TotalVolumeTraded = totalVolume,
|
||||
|
||||
Reference in New Issue
Block a user