Skip to Content
Lookup TraderOverview

Lookup Trader

Lookup Trader is a local bar-replay and manual trade-labelling tool for building a pattern-based probability database. You ingest HistData candles, replay them with a cursor-gated chart, mark setups, and let a triple-barrier labeler score outcomes into DuckDB.

The hosted read-only Live signals dashboard is at lookup.nishimweprince.dev  (research shadow — no order path).

Capital.com is used only for post-HistData XAUUSD H1 bid candles on Demo credentials. The application has no order, position, confirmation, or working-order operation. Meta shadow supervision asserts orders_enabled is False on every artifact load — there is no execution path in the codebase.

What it does

  1. Ingest — HistData minute/tick CSV → Hive-partitioned Parquet under data/candles/.
  2. Replay & label — step through bars; mark entry/stop/target; the backend scores with triple-barrier; compare win rates against stored occurrences.
  3. Feature store — one row per closed candle (context, forward outcome, chart shape, pattern tags) for /base-rate and the chart.
  4. Shadow models — train unpromoted outcome candidates; run a Capital Demo forward shadow worker; optionally supervise meta-shadow alerts (still no orders).

Architecture at a glance

HistData CSV ──▶ scripts/ingest ──▶ data/candles/*.parquet ./scripts/dev.sh ──▶ FastAPI + DuckDB ◀────┘ │ │ │ build_bar_features ──▶ data/features/ │ │ └─▶ React + Vite client (localhost:5173 → /api)

Explore the docs

Out of scope

LLM/Claude tagging and model distillation are retired — pattern identity stays deterministic and rebuildable. Trading, WebSockets, native Capital H4, production authentication, and multi-user operation remain out of scope.

Last updated on