CSV history export (Pro plan)
Download your full closed-trade history as a CSV from /app/trades → Export, or programmatically via the API.
Manual export
Go to /app/trades. Top-right: 'Export CSV' button. Click and the browser downloads a file like `botely-trades-2026-05-16.csv` with all closed trades for your subscription.
Includes: signal_id, strategy, version, coin, direction, entry_timestamp, exit_timestamp, entry_price, exit_price, size, invested_amount, gross_pnl, fees, net_pnl, hold_minutes, close_reason.
Programmatic API
GET /api/app/trades/export?format=csv&since=<ISO-date>&until=<ISO-date>. Authentication: same session cookie as the dashboard, OR an API token from /app/settings → API.
Returns CSV in the response body with Content-Type: text/csv. Pagination via Range header if requesting more than 10000 trades.
Common uses
Tax reporting. Map each trade to your jurisdiction's capital gains schema.
Performance attribution. Pivot by coin / strategy / month to see where the alpha is coming from.
Backtest validation. Compare your live execution against the bot's own logged trades to detect slippage / desync.
Limits
Pro plan only — Paper and Lite tiers don't have CSV export.
History goes back to your subscription start date. Trades that closed before you subscribed are not in your export (the strategy ran before you signed up; those trades are public but attributing them to you doesn't make sense).