diff --git a/src/frontend/src/routes/bot/[id]/backtest/+page.svelte b/src/frontend/src/routes/bot/[id]/backtest/+page.svelte index 1261016..5cd6df7 100644 --- a/src/frontend/src/routes/bot/[id]/backtest/+page.svelte +++ b/src/frontend/src/routes/bot/[id]/backtest/+page.svelte @@ -280,44 +280,14 @@
Loading trades...
- {:else if selectedTrades.length === 0} -No trades recorded.
+Loading trades...
{:else} -| Type | -Price | -Amount | -Exit Reason | -Time | -
|---|---|---|---|---|
| - - {trade.type.toUpperCase()} - - | -${trade.price?.toFixed(6)} | -${trade.amount?.toFixed(2)} | -{trade.exit_reason || '-'} | -{new Date(trade.timestamp * 1000).toLocaleString()} | -
Debug: {JSON.stringify(selectedTrades)}
+ {/if}
+
-
- {/if}
+ {/if}