Installation
Roboquant can be installed like most other Python packages. Below you’ll find instructions for various installation methods and scenarios.
Prerequisites¶
Python 3.12 or higher — roboquant uses modern Python features and does not support older versions.
A virtual environment is recommended to keep dependencies isolated.
Install with pip¶
The simplest way to install roboquant is via pip:
pip install --upgrade roboquantThis installs the core package with a minimal set of dependencies.
Optional Dependencies¶
The core installation keeps the dependency footprint small. If you need specific functionality, install roboquant with one or more of the following extras:
| Optional | Description | Install command |
|---|---|---|
ai | AI/ML strategies using PyTorch and Stable-Baselines3 | pip install --upgrade "roboquant[ai]" |
extra | IBKR, Alpaca and Crypto support | pip install --upgrade "roboquant[extra]" |
To install roboquant with all optional dependencies at once:
pip install --upgrade "roboquant[ai,extra]"Install with uv¶
uv is a fast Python package and project manager. If you are using uv, getting started is straightforward:
mkdir my-project
cd my-project
uv init
uv add roboquant
uv run python -c "import roboquant;roboquant.info()"With all the extras:
uv add "roboquant[ai,extra]"Install from Source¶
To install the latest development version directly from the GitHub repository:
pip install git+https://github.com/neurallayer/roboquant.py.gitOr clone the repository and install locally. This assumes you already have uv installed since that
is used for the build process.
git clone https://github.com/neurallayer/roboquant.py.git
cd roboquant.py
./bin/local_install.shVerify Installation¶
To confirm that roboquant was installed correctly, run the following in a Python shell:
import roboquant as rq
rq.info() _______
| $ $ | Roboquant v2.8.0
| o | Python v3.12.3
|_[___]_| Linux v6.17.0-1022-azure
___ ___|_|___ ___
()___) ()___)
/ / | | \ \
(___) |_________| (___)
| | __/___\__ | |
/_\ |_________| /_\
// \\ ||| ||| // \\
\\ // ||| ||| \\ //
()__) ()__)
/// \\\
__///_ _\\\__
|______| |______|
You should see the installed version number printed.
You can also run a quick smoke test:
import roboquant as rq
account = rq.demo_run()
print(account)buying power : 1,367,843@USD
cash : 1,367,843@USD
equity : 3,544,954@USD
positions : 1075@JPM, 2430@XOM, 773@MSFT, 1206@AMZN, 824@AVGO, 1568@NVDA
trades : 518
mkt value : 2,177,111@USD
orders : none
last update : 2026-08-13 04:00:00+00:00
If this runs without errors, your installation is ready to use.