Fix Runtime by adding TotalRuntimeInSeconds
This commit is contained in:
@@ -21,6 +21,12 @@ public class BotEntity
|
||||
public DateTime CreateDate { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
public DateTime StartupTime { get; set; }
|
||||
|
||||
// Runtime tracking fields
|
||||
public DateTime? LastStartTime { get; set; }
|
||||
public DateTime? LastStopTime { get; set; }
|
||||
public long AccumulatedRunTimeSeconds { get; set; }
|
||||
|
||||
public int TradeWins { get; set; }
|
||||
public int TradeLosses { get; set; }
|
||||
public decimal Pnl { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user