Update scoring
This commit is contained in:
@@ -302,7 +302,6 @@ namespace Managing.Application.Backtesting
|
||||
var fees = bot.GetTotalFees();
|
||||
var scoringParams = new BacktestScoringParams(
|
||||
sharpeRatio: (double)stats.SharpeRatio,
|
||||
maxDrawdownPc: (double)stats.MaxDrawdownPc,
|
||||
growthPercentage: (double)growthPercentage,
|
||||
hodlPercentage: (double)hodlPercentage,
|
||||
winRate: winRate,
|
||||
@@ -311,7 +310,8 @@ namespace Managing.Application.Backtesting
|
||||
tradeCount: bot.Positions.Count,
|
||||
maxDrawdownRecoveryTime: stats.MaxDrawdownRecoveryTime,
|
||||
maxDrawdown: stats.MaxDrawdown,
|
||||
initialBalance: config.BotTradingBalance,
|
||||
initialBalance: bot.WalletBalances.FirstOrDefault().Value,
|
||||
tradingBalance: config.BotTradingBalance,
|
||||
startDate: candles[0].Date,
|
||||
endDate: candles.Last().Date,
|
||||
timeframe: config.Timeframe
|
||||
|
||||
Reference in New Issue
Block a user