Backtest Export Payload Trim: Remove Candles from Main JSON
Change
Updated regular backtest export endpoint to exclude candle data from the main export JSON.
GET /api/backtests/:id/exportnow returns only the core bundle:- overview
- orders
- parameters
- code/snapshot metadata
- raw payload
- Candle data remains available exclusively through the separate candles endpoint/button:
GET /api/backtests/:id/candles
Why
Main export became too large when candles were embedded. This duplicates the dedicated candle export path and hurts usability.
File Updated
services/backend/src/routes/backtests/backtests-handlers.ts
Validation
pnpm typecheckpassed.pnpm lintpassed with existing warning-only baseline.
Deployments
- Dev backend version:
88fd4a7e-f637-4c86-b89b-bc208d5f8fee - Production backend version:
6fb3156f-f0b6-488c-8369-bd7a61b367a8