Summary
Investors who want to report gains or do their own analysis have no way to export their trade history. A CSV export button on the trade history tab should fetch all trades for the wallet and download them as a formatted CSV file.
Scope
- Add an Export CSV button to the trade history tab header on the portfolio page
- Fetch all trades from GET /users/:wallet/trades without pagination on export click
- Generate a CSV with columns: Date, Key Name, Type, Quantity, Price per Key, Total, Fee
- Trigger a file download with filename trades-[wallet-truncated]-[date].csv
- Show a loading spinner on the Export button while the fetch is in progress
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
Investors who want to report gains or do their own analysis have no way to export their trade history. A CSV export button on the trade history tab should fetch all trades for the wallet and download them as a formatted CSV file.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram