feat: Add category performance, update WebUI and OpenRouter integration, fix bugs

This commit is contained in:
Richard
2026-07-05 14:13:16 +02:00
parent d102af2965
commit e9e9ce0d5a
30 changed files with 2302 additions and 54 deletions
@@ -43,5 +43,15 @@ public record TraderDetailDto(
DateTime CreatedAt,
DateTime? LastPolledAt,
string? AiStrategySummary,
IReadOnlyList<TradeDto> RecentTrades
IReadOnlyList<TradeDto> RecentTrades,
IReadOnlyList<TraderCategoryPerformanceDto> CategoryPerformances
);
public record TraderCategoryPerformanceDto(
string Category,
decimal TotalVolume,
decimal TotalPnL,
int TotalTrades,
int WinningTrades,
decimal WinRate
);