Add backtest light

This commit is contained in:
2025-07-17 05:19:16 +07:00
parent 6a634eafaa
commit 27bed791c3
16 changed files with 181 additions and 270 deletions

View File

@@ -0,0 +1,19 @@
using Managing.Domain.Bots;
namespace Managing.Domain.Backtests;
public class LightBacktest
{
public string Id { get; set; } = string.Empty;
public TradingBotConfig Config { get; set; } = new();
public decimal FinalPnl { get; set; }
public int WinRate { get; set; }
public decimal GrowthPercentage { get; set; }
public decimal HodlPercentage { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public decimal? MaxDrawdown { get; set; }
public decimal Fees { get; set; }
public double? SharpeRatio { get; set; }
public double Score { get; set; }
}