Finance · since 2026
stratlab
Researching trading strategies and tracking them live: backtests in Python, the same calculations on demand in a Rust server that evaluates every new trading day and reports signals.
- Status
- In development
- Period
- since 2026
- Area
- Finance
- Role
- Design, development
Features
All numbers in the images are blacked out and the charts blurred, because the prices are licensed; click an image to enlarge it. The app's interface is in German.
Strategies
Every setup has its own page: on the left the stocks with the most trades and their result in R, in the middle the chart with every entry, below it the trades as a table. On the right the rules are sliders; moving one recalculates the trades at once — with an explicit reminder that tuning the sliders to the result will always find something.

Live signals
On every new trading day the server runs the pipeline across the whole market: candidates in the evening, entries from minute candles in the morning, then shadow trades with the lab's exit rule. The signals are information — nothing is traded.

Account simulation
What the entries would have produced in a real account: starting capital, risk per trade, position limits and fees, calculated to the cent with orders, fills and a journal. Several variants run side by side; each shows its final balance, largest drawdown, equity curve and every single round trip.

Research
Every question put to the strategy is listed with its result, verdict and the evidence in the documentation. Choices are made on the years up to 2023 and tested on the years after; a finding that only holds in the years it was chosen on does not count.

Notifications
New matches of a saved screen or failed tasks land in the inbox and, if wanted, go out through your own channels to ntfy, Telegram, email or a webhook. Subscriptions decide what goes where; keys and tokens can only be set, never read.

Tasks
Scripts from the repo and maintenance jobs run as tasks: by hand, on a schedule or after another task. That is how the server fetches candles in the evening, extends the data set and refreshes the exports for the app; heavy runs wait for each other.

Architecture
- Research in Python: backtests on NautilusTrader and a “lab” that evaluates every entry since 2010.
- Server in Rust (connect-rust, SQLite): offers the same calculations on demand, tracks the strategy on every new trading day and sends notifications, plus sign-in, roles and tasks.
- Interface first: Connect/Protobuf as the source for Rust and TypeScript.
- App in SvelteKit 3 with shadcn-svelte, talking only to the server.
- Data — candles, index members, SEC filings — comes from my market_server; indicators are computed by zeigerwerk, so Python research and the live server produce bit-identical results.