Add netpnl and initialBalance to backtests
This commit is contained in:
@@ -55,6 +55,8 @@ public class Backtest
|
||||
public Guid RequestId { get; set; }
|
||||
public object? Metadata { get; set; }
|
||||
public string ScoreMessage { get; set; } = string.Empty;
|
||||
[Required] public decimal InitialBalance { get; set; }
|
||||
[Required] public decimal NetPnl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new TradingBotConfig based on this backtest's configuration for starting a live bot.
|
||||
|
||||
Reference in New Issue
Block a user