prepare_docker_env#
tradeexecutor.cli.prepare_docker_env module.
Module description#
Prepare a Docker .env file for a strategy.
To run this script standalone:
.. code-block:: shell
source ~/secrets.env prepare-docker-env < env/pancake-eth-usd-sma.env > ~/pancake-eth-usd-sma-final.env
Functions#
|
Creates .env file for a trade-executor Docker container. |
|
Check that we have required |
|
Because we are reading full host OS environment, we get a lot of env vars we do not want to pass. |
|
|
|
|
|