full-stack rust · daily bars · rate-limited

Ask a backtest in plain English. Answered in Rust.

Describe a strategy idea the way you would say it out loud. The backend turns it into a disciplined, reproducible study of the eleven SPDR select sectors and the index: how they move, how they move together, and how they react around events.

Coming online: the paragraph runs against the live engine.

reading live data ...

Run a strategy

Pick a symbol and a strategy. The backtest runs in native Rust over the full daily history, with returns lagged one bar so the result cannot peek at tomorrow.

The universe

The eleven select sectors and the index, on the same daily history the AI Gamma desktop tool uses. Single names are out of scope on purpose: this is about how the sectors move together.

Why this exists

The backend is the point

This is a study in backend dataset structure: lookahead-safe queries, multiple-testing correction, and reproducible findings. The frontend stays thin.

Pure Rust, top to bottom

Leptos on axum, sqlx over Postgres, Qdrant for retrieval, the backtest core compiled native. No interpretation tax on the hot path.

Honest by construction

Daily bars only, hard rate limits, and a backend that refuses a question it cannot answer rather than inventing one.