polakowo/vectorbt

By polakowo

Updated 4 days ago

Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.

Image
0

631

polakowo/vectorbt repository overview

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:latest-full

This command pulls the latest polakowo/vectorbt:latest-full image from Docker Hub. It then starts a container running a Jupyter server and exposes it on host port 8888. Visiting http://127.0.0.1:8888/?token=<token> in a browser opens JupyterLab, where <token> is the secret token printed in the console.

Docker removes the container when the notebook server exits, but any files written to the working directory inside the container remain available in the working directory on the host (because the current directory is mounted into the container). See Jupyter Docker Stacks - Quick Start.

There are two types of images in polakowo/vectorbt: the vanilla version and the full version (with optional dependencies). To use the vanilla version, use polakowo/vectorbt:latest instead of polakowo/vectorbt:latest-full.

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

Note

If you already have a Jupyter server running locally on port 8888, use another port, such as 10000:
docker run --rm -p 10000:8888 -v "$PWD":/home/jovyan/work polakowo/vectorbt:latest-full

Then open http://127.0.0.1:10000/?token=<token> in your browser (note the port change from 8888 to 10000).

Tag summary

Content type

Image

Digest

sha256:607a82672

Size

1.4 GB

Last updated

4 days ago

docker pull polakowo/vectorbt