Backtest trading strategies
on your laptop.
A backtesting platform that runs locally as a single binary at around 50,000 bars per second. Write your strategies in Python or Go.
brew install stochastic-sh/tap/stochastic-ctl
brew install --cask stochastic-sh/tap/stochastic
stochastic-ctl infra up What it is
Stochastic is a self-hosted backtesting platform. One cross-platform binary runs the engine, simulator, portfolio accounting, and reporting in a single high-throughput process, working against minute bars stored in a scalable timeseries database. A native desktop app gives you the dashboard.
It's built for researchers who want a serious backtest engine without the operational overhead. Install via Homebrew, load market data from Massive.com, write a strategy in 30 lines, hit play, and watch your NLV history fill in. You iterate locally, and nothing leaves your machine.
Install
- · Docker Desktop (or OrbStack)
- · Homebrew
- · A Massive.com API key (Stocks Developer or above)
- 01 · Install the CLI and dashboard
brew install stochastic-sh/tap/stochastic-ctl brew install --cask stochastic-sh/tap/stochastic - 02 · Bring up local infrastructure (database schema applied automatically)
stochastic-ctl infra up - 03 · Open the dashboard
open -a Stochastic - 04 · Inside the dashboardPaste your Massive.com API key, type
AAPLin the symbol textarea, pick a date range, and click Load. Then open the Backtest tab, pick the bundled demo strategy, and hit Play. The whole loop, frombrew installto your first backtest results on screen, takes about ten minutes.
Under the hood
infra up, so you
never write SQL by hand.