Interactive candlestick charts for reviewing trades and backtesting signals.
/review?ticker=SYMBOL&date=YYYY-MM-DD
Only ticker and date are required. Everything else is optional.
| Param | Description | Default | Example |
|---|---|---|---|
ticker | Stock symbol | AAPL | ELAB |
date | Trade date | today | 2026-03-30 |
entry | Entry price, optionally with time | — | 4.17 or 4.17@09:31:00 |
exit | Exit price with time (backtest mode — clean chart, just arrows) | — | 3.99@15:52:00 |
sl | Stop loss, optionally with time | — | 3.50 or 3.50@09:35:00 |
tp | Take profit, optionally with time | — | 5.00 or 5.00@10:15:00 |
timeframe | Candle timeframe | 2m | 1m, 2m, 5m, 15m, 1h, 1d |
days | Number of days to show | 1 | 1, 2, 5, 10, 30, 60 |
setup | Strategy name (shown in header) | — | Para, D1H |
result | Trade outcome badge | — | win, loss, be |
markers | Custom markers on chart (see below) | — | See markers section |
Add @HH:MM:SS after any price to place an arrow marker on the chart at that exact time:
# Entry at $4.17 at 9:31 AM, SL at $3.50, TP hit at 10:15
/review?ticker=ELAB&date=2026-03-30&entry=4.17@09:31:00&sl=3.50&tp=5.00@10:15:00
Without @time, only the horizontal price line is drawn. With @time, you also get an arrow marker on that candle.
Use markers to add multiple labeled points on the chart. Format:
markers=HH:MM:SS,price,TAG;HH:MM:SS,price,TAG
| Tag | Color | Arrow |
|---|---|---|
| WATCH | Orange | Down (above bar) |
| ENTRY | Cyan | Up (below bar) |
| EXIT SL SELL | Red | Down (above bar) |
| TP BUY | Green | Up (below bar) |
| ALERT | Orange | Down (above bar) |
| Any other text | Cyan | Down (above bar) |
# WATCH at 9:31, ENTRY at 9:45, EXIT at 10:30
/review?ticker=ELAB&date=2026-03-30&markers=09:31:00,3.90,WATCH;09:45:00,4.17,ENTRY;10:30:00,5.10,EXIT
Direction is auto-detected from entry and SL:
SL < entry → LONG (entry arrow up, SL below)SL > entry → SHORT (entry arrow down, SL above)R:R, risk %, and reward % are calculated correctly for both directions.
# LONG trade
/review?ticker=ELAB&date=2026-03-30&entry=4.17&sl=3.50&tp=5.00
# SHORT trade (SL above entry → auto SHORT)
/review?ticker=ELAB&date=2026-03-30&entry=4.50&sl=5.00&tp=3.80
The levels panel (entry, SL, TP, R:R) appears on the top-right when price levels are set. Click the × on the panel header to hide it, and click "Show Levels" to bring it back.
Charts show all sessions by default (Premarket + RTH + After Hours). All times are in New York (ET).
Use the session buttons (PM / RTH / AH / ALL) to filter. PM and AH zones have a subtle background tint.
python generate_review_urls.py trades.xlsx
# Custom base URL
python generate_review_urls.py trades.csv --base-url http://charts.quantradar.io
Expected columns: ticker, date, entry, sl, tp, setup, result
GET /review/candles?ticker=ELAB&date=2026-03-30&timeframe=2m&days=1&days_before=0
Returns JSON with OHLCV candle data from Polygon. Timestamps are in ET.