Skip to content
QuantForge
v0.3 · In developmentReleased · v0.2.0

QuantForge 0.3 — Coming soon

QuantForge is a CLI-first engineering and research toolkit for developers and technical traders who want trading infrastructure they can inspect. Version 0.3 is planned as a Rust-powered engine with Python-authored strategies: develop locally, run remotely, reproduce what you ran, and work across Binance and Bybit.

In development, with no release date yet. The version you can install today is 0.2.0.

Start Here: run QuantForge in 5 minutes
$ cargo install quantforge

Installs 0.2.0, the current release.

Not investment advice. QuantForge is tooling for builders, researchers, and contributors who want inspectable infrastructure — not opaque signals or performance promises.

QuantForge 0.3

Planned

Python strategy

Spot · long or flat

TradingView alert

Perpetual futures · LONG and SHORT

Rust core

Validation, risk, and execution

Exchanges

Binance Bybit

Storage

SQLite PostgreSQL

Develop locally, run remotely

Illustrative: a planned flow, not part of the released 0.2.0 CLI.

The direction

Python explores; Rust verifies and executes

Python is for research and iteration. Rust remains the core verification and execution foundation.

Rust is chosen for the layer that must be correct while unattended. Its cost is iteration speed, which is why research is planned in Python.

In 0.3, strategies are planned to move to Python, while the Rust core keeps sole authority over validation, risk, and execution. The same release is planned to take that core further: to a server you run, to Bybit alongside Binance, to PostgreSQL alongside SQLite, and to automation from your own TradingView alerts.

Planned for 0.3

What 0.3 is planned to add

None of this is in the released 0.2.0 CLI. Each item becomes available only when 0.3 ships.

  • Planned

    Python-authored strategies

    Write a strategy in Python and run it through the Rust core: in backtests, in dry-run, and live on Spot. Use NumPy and pandas for the research around it.

  • Planned

    Develop locally, run remotely

    Backtest on your machine, then submit the same strategy as a job to a QuantForge server you run, from the CLI or from Python. Remote results have to match the local run exactly.

  • Planned

    Reproducibility records

    Each job records its code hash, data hashes and configuration, so a result can be re-run and checked. That makes results auditable, not predictive.

  • Planned

    Remote market data

    One QuantForge server collects market data and serves it to your other instances: history over HTTP, closed bars over WebSocket. Dry-run sessions can then run on another machine with no local ingestion.

  • Planned

    Binance and Bybit

    Spot on both exchanges, plus USDT-settled linear and coin-settled inverse perpetual futures, with the same operations on each.

  • Planned

    SQLite or PostgreSQL

    SQLite stays the default. PostgreSQL joins it as a second backend on every surface, with a verified migration path and identical results from identical inputs.

  • Planned

    TradingView automation

    Your own TradingView alerts become risk-sized perpetual futures trades, with a stop loss held by the exchange, position monitoring and Telegram updates.

    1. Alert
    2. Validate and size
    3. Execute
    4. Protect
    5. Monitor and report
    See the workflow

Workflows · Planned

Two workflows, kept apart

Python strategies and TradingView alerts share the same foundations: exchange connectors, decimal math and storage. They stay separate workflows. A strategy runs on closed bars and can be backtested. An alert comes from you, and it never becomes a strategy call.

Planned

Research and Spot trading

Python strategies on Spot markets, long or flat.

  1. 01

    Write

    A Python strategy that sees only closed bars.

  2. 02

    Backtest

    Locally, from the CLI or from Python, on stored Spot candles.

  3. 03

    Run remotely

    The same strategy as a job on a QuantForge server you run.

  4. 04

    Check

    Re-run a job from its record and compare the results.

  5. 05

    Dry-run

    The real strategy loop on live-updating candles, without submitting an order.

  6. 06

    Go live

    Only when you explicitly enable it, with your credentials.

Planned

Automation from TradingView alerts

USDT-settled linear and coin-settled inverse perpetual futures, LONG and SHORT.

  1. 01

    Alert

    Your TradingView alert reaches your QuantForge service, which authenticates it, validates it and stores it before answering.

  2. 02

    Validate and size

    The alert is checked against the asset's settings, and the trade is sized from your configured risk and the signal price.

  3. 03

    Execute

    A market order on the Binance or Bybit futures profile you selected, confirmed with the exchange.

  4. 04

    Protect

    A stop loss held by the exchange, read back before the position counts as protected.

  5. 05

    Monitor and report

    Private streams and REST keep the position current, with updates in the CLI and on Telegram.

Illustrative: a planned flow, not part of the released 0.2.0 CLI.

Three separate events

Receiving an alert is not a trade, and an order is not a protected position. Each step is reported only once it is confirmed.

  1. 1
    Signal received

    The alert passed authentication and validation, and it was stored. Nothing has traded yet.

  2. 2
    Position opened and protected

    The exchange confirmed the fill, and the stop loss was read back from the exchange. Only then is the position announced.

  3. 3
    Position closed

    The exchange confirmed the close, whether an exit alert, the stop loss or a manual close ended it. The result comes from the exchange's own records.

What you set, and what the exchange reports

Sizing uses your settings and the alert. Results come from the exchange.

You set
  • Risk capital for each profile and settlement asset
  • Each asset's risk percentage
  • Each asset's default stop percentage
  • Each asset's leverage
The alert brings
  • The asset and direction
  • The signal price
  • A stop price, if it has one
The exchange reports
  • The actual fill price and size
  • Margin
  • The liquidation price, or N/A with the reason
  • Fees, funding and realized PnL
Illustrative
Illustrative arithmetic from the project's sizing test cases, not a result or a recommendation: 1% of 10,000 USDT is a 100 USDT risk budget. A SHORT signal at 84,123.45 with a 3% stop puts the stop at 86,647.20, rounded up to the exchange's tick. That sizes the trade at 0.039 BTC, rounded down to the exchange's step.

Configured per asset

Each asset keeps its own pair, risk percentage, default stop percentage, leverage and enabled setting. A stop price in the alert takes precedence over the percentage, and with neither the entry is refused. Defaults can cover assets without their own settings, but only if you enable them.

Disabling an asset stops new entries and keeps monitoring, protection and exits. An edit applies to later entries: an open position keeps the settings it opened with.

Run from the CLI

Start, check and stop the background service from the CLI, with updates on Telegram and no GUI. Profiles start disarmed, and arming is a confirmed CLI action. A normal stop closes no position and cancels no stop.

The commands, the Telegram messages and recovery after a restart are planned to work the same on SQLite and PostgreSQL.

Exchanges and storage

Where 0.3 is planned to run

Each cell is planned on SQLite and PostgreSQL. Spot stays long or flat.
PlannedBinanceBybit
SpotPart released in 0.2.0, the rest plannedPlanned
USDT-settled linear perpetualsPlanned, LONG and SHORTPlanned, LONG and SHORT
Coin-settled inverse perpetualsPlanned, LONG and SHORTPlanned, LONG and SHORT

Same operations, different markets

The plan is the same operations, states, errors and recovery on both exchanges and both storage backends, and identical results from identical inputs on either store. Instruments, prices, fees, funding and trading results differ between exchanges, and they stay visible.

Not in 0.3

  • Backtesting for futures or TradingView alerts: backtests and Python strategies take Spot data only
  • Shorts or leverage on Spot
  • Dated futures, which are refused
  • Positions QuantForge did not open, which stay read-only
  • Hedge mode or portfolio margin
  • A GUI, or a Python interface to alerts and Telegram

Status

Where 0.3 stands

Plannedv0.3· not released

In development

  • Work happens in the open on GitHub. Nothing on main counts as a release.
  • There is no release date.
  • 0.3 is planned as one coordinated release: the crate, binaries, Python package and container images together.
  • Every required function has to pass on both exchanges and both storage backends first. A skipped test does not count, and a missing function holds the release.
  • Some exchange behavior still has to be confirmed on test environments. Where it cannot be, that part of the release waits.

Get told when v0.3 ships

Questions

When will 0.3 ship?

There is no date. 0.3 ships once every required check has passed, and this page will change when it does.

Can I use any of this today?

Not from a release. The version you can install is 0.2.0: Binance Spot, SQLite and a built-in SMA crossover, dry-run by default. Start Here gets you running. Work in progress is visible on GitHub (opens in a new tab), and its interfaces will still move.

What changes if I use 0.2.0 now?

Strategies are planned to move to Python, and the built-in Rust SMA crossover is planned to go. Exchange settings are planned to lose their Binance-specific names. Databases from earlier releases are planned to migrate in place, never deleted, and you should back yours up first. The 0.3 release notes will cover each change.

Does QuantForge tell me what to trade?

No. QuantForge is engineering software: it does not recommend trades or promise profitability. In the planned automation workflow the alerts are your own: an alert carries no exchange credentials and cannot override your risk settings.

Does the stop loss limit my loss?

No. In the planned automation the stop is held by the exchange, so it stays active if QuantForge stops or disconnects, but gaps, fees and funding can exceed the nominal risk. The liquidation price shown is the exchange's own, never an estimate, and the plan is to warn you when the stop would not trigger first. If a stop cannot be placed or verified, QuantForge is planned to try to repair it, then halt new entries, attempt a reduce-only close, and keep alerting you until the position is protected or flat.

Can I try automation without real money?

That is the plan: profiles can point at the exchanges' test and demo environments. Every profile starts disarmed, and an alert that reaches a disarmed profile is refused and never runs later. Dry-run applies to Python strategies, not to automation.

What does my exchange account need?

For automation, the plan is one-way position mode with isolated or cross margin. Hedge mode and portfolio margin are refused, Bybit accounts must be unified accounts 2.0, and QuantForge never changes an account setting. A profile manages only the positions it opened: anything else stays read-only and blocks new entries on that instrument.

Who runs it?

You do. Remote means a QuantForge server you run, and automation is planned as your own service, with the HTTPS endpoint that receives your alerts. QuantForge is not a hosted trading SaaS.

How fast is it?

There are no published benchmarks for 0.3, and this page makes no speed promise. The goal is to act without avoidable delay and to acknowledge alerts within TradingView's webhook limit.

Help shape 0.3

The roadmap is shaped by people running QuantForge and reporting where it fights them. Try 0.2.0, follow the work on GitHub, and tell Marko what 0.3 should get right.

  • Feedback

    Tell Marko what you would want from Python strategies, remote runs or automation. Bugs, friction and missing docs in 0.2.0 help too.

  • Contribution

    Exchange connectors, data pipelines, backtesting, execution safety and developer tooling. Small, reviewable changes welcome.

  • Engineering collaboration

    Working on similar systems, or building on QuantForge? Talk to Marko about working together.

Contact Marko

Feedback, contributions and collaboration all start here.

Explore on GitHub (opens in a new tab)

Read the code, star the repository, and watch its releases to hear when 0.3 ships.

QuantForge is engineering software. It is not investment advice, does not recommend trades, and does not promise profitability. Trading with leverage carries a real risk of loss. Everything marked planned can change before release.