I recently joined the QuantJourney team as an ML & data engineer, working on the data pipelines and feature layer. I’m extending the engine’s metrics and building a feature engine and feature store with consistent behaviour on historical batch data and live streams. The aim is to make the same reliable, reusable features available to trading strategies and machine-learning models.
What’s being built
QuantJourney is an open-source backtesting engine written in Python for reproducible portfolio and order-based research. A managed data layer and hosted team workspace extend the engine. I share the team’s emphasis on making research auditable. A strategy produces target weights or explicit orders; orders become simulated fills; and positions and NAV reconcile against one self-financing ledger. The resulting research packet records the assumptions needed to review and reproduce the run.

What’s possible
The engine supports two complementary research modes through a common interface:
- Weight mode — portfolio research: factor portfolios, rotation models, long/cash and long/short books, risk overlays, volatility targeting and scheduled rebalancing.
- Order mode — execution-aware research: market, limit, stop, stop-limit, trailing-stop, bracket and OCO orders, with commissions, slippage, volume participation, fills, positions, cash, NAV and trade blotters.
It includes 45 runnable example strategies (22 weight-based, 18 order-based, 5 walk-forward / optimization) across equities, ETFs, FX and futures, from daily rebalancing to 1-minute bars. To assess parameter robustness, it supports rolling, expanding and anchored walk-forward validation with purge/embargo, plus grid-search and Optuna optimization. These tools help assess the selection process rather than relying on one favourable backtest. Runs execute locally: strategy code, signals, accounting and reports stay on your machine.

How to run it
Install from PyPI, then run the first strategy against deterministic bundled sample data — no account, no credentials:
pip install quantjourney-bt
git clone https://github.com/datasound-projects/quantjourney-bt.git
cd quantjourney-bt
./strategy.sh example_weights_01_sma_daily --sample-data --output /tmp/qj-sampleList the full catalog with ./strategy.sh --list, and validate any strategy without a data call using --check. For real market data, set your QuantJourney API key and drop the --sample-data flag:
export QJ_API_KEY="..."
./strategy.sh example_weights_01_sma_daily --output /tmp/qj-reportsAdd the [wf] extra (pip install "quantjourney-bt[wf]") for the Optuna walk-forward examples. There’s also a set of AI Co-Pilot skill packs in skills/ — point an AI coding assistant at the relevant SKILL.md and it follows the engine’s conventions when drafting, reviewing or interpreting a strategy.

Why open source
Open source makes the research assumptions inspectable. You can read, audit and adapt how signals become trades, how fills and costs are modelled, and how NAV is reconstructed. The project is developed under Apache 2.0, and the team responds to every pull request.
How it stands out
VectorBT, Zipline and Backtrader are capable open-source engines. QuantJourney’s emphasis is an integrated review layer: walk-forward validation, overfitting statistics, crisis analysis and reproducibility are included by default. The combination of that research workflow with an open feature store designed for batch and streaming on your own hardware is what drew me to the project.
Where to go from here
To try it, clone the repository and run the sample above. Then open an example strategy, change the universe or costs, and compare the report. Contributions are welcome through the usual fork, branch and pull-request process, including example strategies, fixes and documentation improvements.
Repo: github.com/datasound-projects/quantjourney-bt · Strategies: backtester.quantjourney.cloud