dcac62165e96367aa4e88bef5538194df8257a52
New RiskMetricsCalculator (pure) derives max drawdown (USD), daily-PnL volatility and longest losing streak from the trader's TraderDailySnapshot equity curve; the PnL engine computes them each recalc and stores them on TraderAnalytics (+ computed ReturnOverMaxDrawdown, Calmar-like). Two traders with identical final PnL but a smoother path are very differently copyable — this captures that. Exposed on TraderDetailDto. Migration AddRiskAdjustedMetrics. +5 unit tests (63 total, 1 skip). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fix WinRate 0% bug: Optimize TradeReconciliationWorker with bulk SQL and reset Trader analytics flag
Description
No description provided
1.5 MiB
Languages
C#
86.5%
HTML
6.2%
JavaScript
4.8%
CSS
2.5%