diff --git a/src/frontend/src/routes/bot/[id]/backtest/+page.svelte b/src/frontend/src/routes/bot/[id]/backtest/+page.svelte index 83d1fb2..bf7f2db 100644 --- a/src/frontend/src/routes/bot/[id]/backtest/+page.svelte +++ b/src/frontend/src/routes/bot/[id]/backtest/+page.svelte @@ -225,10 +225,27 @@
Max Drawdown - {backtest.result.max_drawdown.toFixed(2)}% + {backtest.result.max_drawdown.toFixed(2)}% +
+ + + {#if backtest.result.trades && backtest.result.trades.length > 0} +
+

Trade History

+
+ {#each backtest.result.trades as trade} +
+ + {trade.type.toUpperCase()} + + ${trade.price?.toFixed(6)} + ${trade.amount?.toFixed(2)} + {trade.exit_reason || 'entry'}
-
- {/if} + {/each} +
+ + {/if} {#if backtest.status === 'running'}