Quantstrip is a local execution platform that manages your trading clients, connects to your broker, and handles the full trade lifecycle — so you can focus on strategy.
Quantstrip runs your strategies as long-lived background clients on your local machine. A lightweight background service starts on boot, manages all your clients, and keeps them running — no cloud subscription required.
Strategies are just Python classes that inherit from ClientBase. Add a scheduler, connect to your broker, and you have a fully automated strategy in under 50 lines of code.
When the background service starts, it spins up a local web server at 127.0.0.1:8051. From there, a suite of dashboard apps lets you monitor running clients, edit code, query your trade database, and manage configuration — all without touching the command line.
| Client | Status | Last run |
|---|---|---|
| Rebalancing Flow | Running | 15:45 today |
| EOD Report | Running | 16:30 today |
| Risk Monitor | Stopped | Yesterday |
Quantstrip ships with a structured SQLite database and a db_handler API that abstracts all the common post-trade operations. Record position opens and closes, query your trade history, and build performance reports — all from Python.
The data model tracks strategy events end-to-end: from the moment a position is opened on day 16 to the close on the last business day of the month, every state transition is recorded with a timestamp and a full audit trail.
event_type = "OPEN"event_type = "CLOSE"The quantstrip Python package is the single import that gives your client access to the full platform. It exposes ClientBase — the base class that registers your strategy with the background service — plus a set of focused utility modules for the most common operational tasks.
The API is intentionally minimal. Each module has a single responsibility, making it easy to learn and straightforward to extend.
Browse the full API referenceThe fastest path to a running strategy is a working example. Quantstrip ships with a growing library of fully documented client templates — covering broker connections, strategy patterns, and operational utilities.
The monthly rebalancing strategy is a complete, production-ready example: it connects to Interactive Brokers, retrieves historical data, sizes positions dynamically, and records every trade in the database — fully annotated and ready to adapt.
Quantstrip provides a broker connectivity layer that abstracts the low-level details of broker APIs behind a clean Python interface. The Interactive Brokers adapter is included and production-tested, covering order placement, historical data retrieval, and position management.
The connection is managed via a context manager, so connections are opened and closed cleanly around each trading job — no lingering sessions, no resource leaks.
ib_orderRegister for free and download the platform installer from your dashboard.
Get started for free