documentation

Chart

Fair-price candlesticks in cents with the live Yes book mid overlaid as a blue line — built for probability trading, not spot candles.

75¢ 60¢ 45¢ 30¢ TP 72¢ +$42.0 SL 33¢ Fair Yes candles Book mid
Candles track the model fair price (one value per bucket, no wicks), while the blue line overlays the live order book mid.

Fair candles & book mid line

The chart displays two complementary series in cents (0¢–100¢):

GET /markets/:id/chart returns points as { ts, open, high, low, close, price } (with price = close, source = BOOK_MID), plus current, the fair close series, and current_fair.

Candle intervals vs. market timeframes

Chart controls select candle resolution: 5m (native), 15m, 1h, and 1d (larger candles are folded from the 5m series). The chart always spans the market’s full lifetime (open → now or resolution) rather than a sliding lookback window. Market tenors are separate — see Timeframes (the shortest market is daily).

Yes / No views & reopened strikes

Every chart series is keyed by the full market ID (which includes start time), so a reopened Hit strike starts a clean chart of its own. Prior resolved instances for the same kind, barrier, and expiry remain browsable directly from the chart. Switching to the No side on the order book automatically inverts the chart using 100 − price.

Interactive overlays & drag-to-replace

Overlay Visual style Meaning
Entry Solid blue line + PnL badge Average position entry price; badge text turns green/red with unrealized PnL.
Open orders Dashed BUY / SEL lines Resting limit orders on the current market.
TP / SL Dotted green TP · Dash-dot red SL Armed take-profit and stop-loss exit triggers.
Stops & Fills Purple STOP line · Buy/Sell dots Armed conditional stop triggers and historical fill markers.
Drag to modify prices When your wallet is connected, every open order and exit badge displays a drag handle. Drag it vertically along the price axis and release to atomically replace the limit price or condition trigger.