Skip to Content
Lookup TraderAPI Reference

API Reference

All endpoints are served by FastAPI (default http://localhost:8000 ). The Vite client proxies /api to the backend. Interactive OpenAPI is available at /docs when the API is running.

Endpoints

MethodPathDescription
GET/symbolsAvailable symbols
GET/timeframes?symbol=Timeframes for symbol
GET/candles/bounds?symbol&timeframeAvailable candle range (min_ts, max_ts, bar_count)
GET/candles?symbol&timeframe&date_from&date_toCandle window
GET/setupsControlled setup vocabulary
POST/sessionsStart labelling session
PATCH/sessions/{id}End session
POST/tradesSubmit labelled trade
GET/trades?session_id=List occurrences
POST/compareWin rate with sample-size ladder
GET/outcome-model/shadowUnpromoted causal candidate inference
GET/outcome-model/shadow/historyReveal-gated forward-shadow ledger
GET/healthCandle, Capital, feature, model, parity, and worker health

Notes

  • Timestamps are UTC throughout.
  • Trade submit writes an occurrence scored by the triple-barrier labeler with context; result is canonical; observed_result is optional and separate.
  • Invalid setup_id is rejected.
  • /compare returns a Wilson interval + level_used, or no_signal.
  • Meta ops also expose /meta-model/status for worker ledger health (see Meta Shadow Ops).
Last updated on