Projects

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
RustPythonNautilusTraderSvelteKitSQLite

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.

Strategy page with stock list, chart, trades and rule sliders (numbers blacked out, chart blurred)

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.

Live signals with candidates, setup and entry rule per stock (numbers blacked out)

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.

Result of an account simulation with equity curve and round trips (numbers blacked out, curve blurred)

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.

Research overview: topic, question, result, verdict and evidence (numbers blacked out)

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.

Notifications with inbox, channels and subscriptions

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.

Tasks with trigger, next and last run (times blacked out)

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.