Add backtest trade overlay to chart #11

Open
opened 2026-03-17 16:13:40 +00:00 by grenade · 0 comments
Owner

Current state

The backtest detail chart shows price/equity but has no trade markers.

Work required

  • Fetch trade events from GET /api/v1/paper-runs/:id/positions (already implemented)
  • Render buy/sell markers on the Lightweight Charts price pane at the correct timestamps
  • Use distinct up/down triangle markers with entry/exit prices
  • Tooltip on hover showing trade P&L, quantity, side
## Current state The backtest detail chart shows price/equity but has no trade markers. ## Work required - Fetch trade events from `GET /api/v1/paper-runs/:id/positions` (already implemented) - Render buy/sell markers on the Lightweight Charts price pane at the correct timestamps - Use distinct up/down triangle markers with entry/exit prices - Tooltip on hover showing trade P&L, quantity, side
grenade added this to the Frontend Polish milestone 2026-03-17 16:13:40 +00:00
grenade added this to the strategies gamified project 2026-03-17 16:25:10 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: swym/swym#11