diff --git a/src/Managing.Infrastructure.Database/PostgreSql/PostgreSqlBacktestRepository.cs b/src/Managing.Infrastructure.Database/PostgreSql/PostgreSqlBacktestRepository.cs index 85faf24f..c3580e05 100644 --- a/src/Managing.Infrastructure.Database/PostgreSql/PostgreSqlBacktestRepository.cs +++ b/src/Managing.Infrastructure.Database/PostgreSql/PostgreSqlBacktestRepository.cs @@ -193,7 +193,8 @@ public class PostgreSqlBacktestRepository : IBacktestRepository Score = entity.Score, ScoreMessage = entity.ScoreMessage ?? string.Empty, InitialBalance = entity.InitialBalance, - NetPnl = entity.NetPnl + NetPnl = entity.NetPnl, + PositionCount = entity.PositionCount }); return (mappedBacktests, totalCount); @@ -269,7 +270,8 @@ public class PostgreSqlBacktestRepository : IBacktestRepository Score = entity.Score, ScoreMessage = entity.ScoreMessage ?? string.Empty, InitialBalance = entity.InitialBalance, - NetPnl = entity.NetPnl + NetPnl = entity.NetPnl, + PositionCount = entity.PositionCount }); return (mappedBacktests, totalCount); @@ -590,7 +592,8 @@ public class PostgreSqlBacktestRepository : IBacktestRepository Score = entity.Score, ScoreMessage = entity.ScoreMessage ?? string.Empty, InitialBalance = entity.InitialBalance, - NetPnl = entity.NetPnl + NetPnl = entity.NetPnl, + PositionCount = entity.PositionCount }); return (mappedBacktests, totalCount); @@ -732,7 +735,8 @@ public class PostgreSqlBacktestRepository : IBacktestRepository Score = entity.Score, ScoreMessage = entity.ScoreMessage ?? string.Empty, InitialBalance = entity.InitialBalance, - NetPnl = entity.NetPnl + NetPnl = entity.NetPnl, + PositionCount = entity.PositionCount }); return (mappedBacktests, totalCount);