Skip to content


You can install vectorbt with pip, the Python package manager, or with Docker.

With pip

pip install -U vectorbt

To also install optional dependencies:

pip install -U "vectorbt[full]"

With Docker

You can pull the most recent Docker image if you have Docker installed.

docker run --rm -p 8888:8888 -v "$PWD":/home/jovyan/work polakowo/vectorbt

This command pulls the latest polakowo/vectorbt image from Docker Hub. It then starts a container running a Jupyter Notebook server and exposes the server on host port 8888. Visiting<token> in a browser loads JupyterLab, where token is the secret token printed in the console. Docker destroys the container after notebook server exit, but any files written to the working directory in the container remain intact in the working directory on the host. See Jupyter Docker Stacks - Quick Start.

There are two types of images:

Each Docker image is based on jupyter/scipy-notebook and comes with Jupyter environment, vectorbt, and other scientific packages installed.

With git

Of course, you can pull vectorbt directly from git:

git clone vectorbt

Install the package:

pip install -e vectorbt