Include Technical in default image

This commit is contained in:
Matthias 2021-04-03 07:17:02 +02:00
parent c7ee34687b
commit 7728e269fd
5 changed files with 7 additions and 4 deletions

View File

@ -9,7 +9,7 @@ services:
# Build step - only needed when additional dependencies are needed
# build:
# context: .
# dockerfile: "./docker/Dockerfile.technical"
# dockerfile: "./docker/Dockerfile.custom"
restart: unless-stopped
container_name: freqtrade
volumes:

View File

@ -3,4 +3,5 @@ FROM freqtradeorg/freqtrade:develop
RUN apt-get update \
&& apt-get -y install git \
&& apt-get clean \
&& pip install git+https://github.com/freqtrade/technical
# The below dependency - pyti - serves as an example. Please use whatever you need!
&& pip install pyti

View File

@ -156,8 +156,8 @@ Head over to the [Backtesting Documentation](backtesting.md) to learn more.
### Additional dependencies with docker-compose
If your strategy requires dependencies not included in the default image (like [technical](https://github.com/freqtrade/technical)) - it will be necessary to build the image on your host.
For this, please create a Dockerfile containing installation steps for the additional dependencies (have a look at [docker/Dockerfile.technical](https://github.com/freqtrade/freqtrade/blob/develop/docker/Dockerfile.technical) for an example).
If your strategy requires dependencies not included in the default image - it will be necessary to build the image on your host.
For this, please create a Dockerfile containing installation steps for the additional dependencies (have a look at [docker/Dockerfile.custom](https://github.com/freqtrade/freqtrade/blob/develop/docker/Dockerfile.cusotm) for an example).
You'll then also need to modify the `docker-compose.yml` file and uncomment the build step, as well as rename the image to avoid naming collisions.

View File

@ -14,6 +14,7 @@ urllib3==1.26.4
wrapt==1.12.1
jsonschema==3.2.0
TA-Lib==0.4.19
technical==1.2.2
tabulate==0.8.9
pycoingecko==1.4.0
jinja2==2.11.3

View File

@ -77,6 +77,7 @@ setup(name='freqtrade',
'wrapt',
'jsonschema',
'TA-Lib',
'technical',
'tabulate',
'pycoingecko',
'py_find_1st',