Roll back unintended changes that break rendering
This commit is contained in:
parent
906c4e64d3
commit
7142787256
@ -14,7 +14,7 @@ To simplify running freqtrade, please install [`docker-compose`](https://docs.do
|
|||||||
|
|
||||||
## Freqtrade with docker-compose
|
## Freqtrade with docker-compose
|
||||||
|
|
||||||
Freqtrade provides an official Docker image on [Dockerhub](https://hub.docker.com/r/freqtradeorg/freqtrade/), as well as a [docker-compose file](https://github.com/freqtrade/freqtrade/blob/develop/docker-compose.yml) ready for usage.
|
Freqtrade provides an official Docker image on [Dockerhub](https://hub.docker.com/r/freqtradeorg/freqtrade/), as well as a [docker-compose file](https://github.com/freqtrade/freqtrade/blob/stable/docker-compose.yml) ready for usage.
|
||||||
|
|
||||||
!!! Note
|
!!! Note
|
||||||
- The following section assumes that `docker` and `docker-compose` are installed and available to the logged in user.
|
- The following section assumes that `docker` and `docker-compose` are installed and available to the logged in user.
|
||||||
@ -24,8 +24,8 @@ Freqtrade provides an official Docker image on [Dockerhub](https://hub.docker.co
|
|||||||
|
|
||||||
Create a new directory and place the [docker-compose file](https://raw.githubusercontent.com/freqtrade/freqtrade/stable/docker-compose.yml) in this directory.
|
Create a new directory and place the [docker-compose file](https://raw.githubusercontent.com/freqtrade/freqtrade/stable/docker-compose.yml) in this directory.
|
||||||
|
|
||||||
#### PC/MAC/Linux
|
=== "PC/MAC/Linux"
|
||||||
|
``` bash
|
||||||
mkdir ft_userdata
|
mkdir ft_userdata
|
||||||
cd ft_userdata/
|
cd ft_userdata/
|
||||||
# Download the docker-compose file from the repository
|
# Download the docker-compose file from the repository
|
||||||
@ -39,10 +39,10 @@ Create a new directory and place the [docker-compose file](https://raw.githubuse
|
|||||||
|
|
||||||
# Create configuration - Requires answering interactive questions
|
# Create configuration - Requires answering interactive questions
|
||||||
docker-compose run --rm freqtrade new-config --config user_data/config.json
|
docker-compose run --rm freqtrade new-config --config user_data/config.json
|
||||||
|
```
|
||||||
|
|
||||||
|
=== "RaspberryPi"
|
||||||
#### RaspberryPi
|
``` bash
|
||||||
|
|
||||||
mkdir ft_userdata
|
mkdir ft_userdata
|
||||||
cd ft_userdata/
|
cd ft_userdata/
|
||||||
# Download the docker-compose file from the repository
|
# Download the docker-compose file from the repository
|
||||||
@ -56,6 +56,7 @@ Create a new directory and place the [docker-compose file](https://raw.githubuse
|
|||||||
|
|
||||||
# Create configuration - Requires answering interactive questions
|
# Create configuration - Requires answering interactive questions
|
||||||
docker-compose run --rm freqtrade new-config --config user_data/config.json
|
docker-compose run --rm freqtrade new-config --config user_data/config.json
|
||||||
|
```
|
||||||
|
|
||||||
!!! Note "Change your docker Image"
|
!!! Note "Change your docker Image"
|
||||||
You have to change the docker image in the docker-compose file for your Raspberry build to work properly.
|
You have to change the docker image in the docker-compose file for your Raspberry build to work properly.
|
||||||
@ -67,11 +68,12 @@ Create a new directory and place the [docker-compose file](https://raw.githubuse
|
|||||||
The above snippet creates a new directory called `ft_userdata`, downloads the latest compose file and pulls the freqtrade image.
|
The above snippet creates a new directory called `ft_userdata`, downloads the latest compose file and pulls the freqtrade image.
|
||||||
The last 2 steps in the snippet create the directory with `user_data`, as well as (interactively) the default configuration based on your selections.
|
The last 2 steps in the snippet create the directory with `user_data`, as well as (interactively) the default configuration based on your selections.
|
||||||
|
|
||||||
### Question: "How to edit the bot configuration?"
|
!!! Question "How to edit the bot configuration?"
|
||||||
You can edit the configuration at any time, which is available as `user_data/config.json` (within the directory `ft_userdata`) when using the above configuration.
|
You can edit the configuration at any time, which is available as `user_data/config.json` (within the directory `ft_userdata`) when using the above configuration.
|
||||||
You can also change the both Strategy and commands by editing the command section of your `docker-compose.yml` file.
|
|
||||||
|
|
||||||
##### Adding a custom strategy
|
You can also change the both Strategy and commands by editing the command section of your `docker-compose.yml` file.
|
||||||
|
|
||||||
|
#### Adding a custom strategy
|
||||||
|
|
||||||
1. The configuration is now available as `user_data/config.json`
|
1. The configuration is now available as `user_data/config.json`
|
||||||
2. Copy a custom strategy to the directory `user_data/strategies/`
|
2. Copy a custom strategy to the directory `user_data/strategies/`
|
||||||
@ -79,7 +81,7 @@ You can also change the both Strategy and commands by editing the command sectio
|
|||||||
|
|
||||||
The `SampleStrategy` is run by default.
|
The `SampleStrategy` is run by default.
|
||||||
|
|
||||||
#### Warning "`SampleStrategy` is just a demo!"
|
!!! Warning "`SampleStrategy` is just a demo!"
|
||||||
The `SampleStrategy` is there for your reference and give you ideas for your own strategy.
|
The `SampleStrategy` is there for your reference and give you ideas for your own strategy.
|
||||||
Please always backtest your strategy and use dry-run for some time before risking real money!
|
Please always backtest your strategy and use dry-run for some time before risking real money!
|
||||||
You will find more information about Strategy development in the [Strategy documentation](strategy-customization.md).
|
You will find more information about Strategy development in the [Strategy documentation](strategy-customization.md).
|
||||||
@ -90,7 +92,7 @@ Once this is done, you're ready to launch the bot in trading mode (Dry-run or Li
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Warning "Default configuration"
|
!!! Warning "Default configuration"
|
||||||
While the configuration generated will be mostly functional, you will still need to verify that all options correspond to what you want (like Pricing, pairlist, ...) before starting the bot.
|
While the configuration generated will be mostly functional, you will still need to verify that all options correspond to what you want (like Pricing, pairlist, ...) before starting the bot.
|
||||||
|
|
||||||
#### Monitoring the bot
|
#### Monitoring the bot
|
||||||
@ -120,7 +122,7 @@ docker-compose up -d
|
|||||||
|
|
||||||
This will first pull the latest image, and will then restart the container with the just pulled version.
|
This will first pull the latest image, and will then restart the container with the just pulled version.
|
||||||
|
|
||||||
#### Warning "Check the Changelog"
|
!!! Warning "Check the Changelog"
|
||||||
You should always check the changelog for breaking changes / manual interventions required and make sure the bot starts correctly after the update.
|
You should always check the changelog for breaking changes / manual interventions required and make sure the bot starts correctly after the update.
|
||||||
|
|
||||||
### Editing the docker-compose file
|
### Editing the docker-compose file
|
||||||
@ -129,7 +131,7 @@ Advanced users may edit the docker-compose file further to include all possible
|
|||||||
|
|
||||||
All freqtrade arguments will be available by running `docker-compose run --rm freqtrade <command> <optional arguments>`.
|
All freqtrade arguments will be available by running `docker-compose run --rm freqtrade <command> <optional arguments>`.
|
||||||
|
|
||||||
#### Note "`docker-compose run --rm`"
|
!!! Note "`docker-compose run --rm`"
|
||||||
Including `--rm` will remove the container after completion, and is highly recommended for all modes except trading mode (running with `freqtrade trade` command).
|
Including `--rm` will remove the container after completion, and is highly recommended for all modes except trading mode (running with `freqtrade trade` command).
|
||||||
|
|
||||||
#### Example: Download data with docker-compose
|
#### Example: Download data with docker-compose
|
||||||
|
Loading…
Reference in New Issue
Block a user