Skip to content

Getting Started

AlgoQuant Engine is the runtime that executes your strategy, manages insights, talks to brokers and datafeeds, and produces either backtest artifacts, live session data for AlgoQuant Studio, or both depending on how you run it.

Add AQE to your strategy project’s Cargo.toml:

Cargo.toml
aq-engine = { git = "https://github.com/algoquantstudio/aq-engine", version = "0.1.9", features = ["runtime", "tui"] }

Use this guide in order:

  • Strategy lifecycle explains the hooks AQE calls and where each kind of strategy logic belongs.
  • Blank strategy gives you the smallest complete strategy and backtest setup.
  • Backtest and live runs explains broker/datafeed selection, backtest artifacts, live sync, and terminal UI usage.

Then move into the focused docs:

  1. Add Events for multi-timeframe bar streams.
  2. Insights for the full lifecycle and state model.
  3. Brokers & Datafeeds for current integrations.
  4. Alpha Models for signal generation patterns.
  5. Insight Pipes for sizing, validation, and trade management.