Merge pull request #4651 from freqtrade/technical_default

Include Technical in default image
This commit is contained in:
Matthias 2021-04-03 08:12:49 +02:00 committed by GitHub
commit 68db8535be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 step - only needed when additional dependencies are needed
# build: # build:
# context: . # context: .
# dockerfile: "./docker/Dockerfile.technical" # dockerfile: "./docker/Dockerfile.custom"
restart: unless-stopped restart: unless-stopped
container_name: freqtrade container_name: freqtrade
volumes: volumes:

View File

@ -3,4 +3,5 @@ FROM freqtradeorg/freqtrade:develop
RUN apt-get update \ RUN apt-get update \
&& apt-get -y install git \ && apt-get -y install git \
&& apt-get clean \ && 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 ### 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. 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.technical](https://github.com/freqtrade/freqtrade/blob/develop/docker/Dockerfile.technical) for an example). 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. 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 wrapt==1.12.1
jsonschema==3.2.0 jsonschema==3.2.0
TA-Lib==0.4.19 TA-Lib==0.4.19
technical==1.2.2
tabulate==0.8.9 tabulate==0.8.9
pycoingecko==1.4.0 pycoingecko==1.4.0
jinja2==2.11.3 jinja2==2.11.3

View File

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