Binder environment for Trading Strategy algorithmic trading framework and protocol. This environemt is mainly used for Trading Strategy documentation.
- The environment is built for MyBinder
- With this setup, we can use different repositories for content and environment
- Dockerfile configuration is used
To build the Docker image from the scratch:
git submodule update --init --recursive
poetry shell
poetry install
docker build -t trading-strategy-binder-env:latest .
To test the built image:
docker run -it -p 8888:8888 trading-strategy-binder-env:latest jupyter notebook --NotebookApp.default_url=/lab/ --ip=0.0.0.0 --port=8888
Then you can open http://localhost:8888
in your local web browser.
If you want to add dependency:
poetry add NEW-DEPENDENCY
docker build -t tradingstrategy-binder-env:latest .
See Dockerfile for more details.