- Install Docker
- Install Docker-compose
- Clone project.
- For linux, change project folder permission;
$ sudo chmod -R 777 `<PROJECT_FOLDER>`
After all changes in project folder, you should add --build
to command
$ docker-compose up -d --build
Getting data for backtesting and hyperopt
$ docker-compose run --rm freqtrade download-data --erase -t 5m --timerange 20210101-20210515
- Generic Command
$ docker-compose run --rm freqtrade backtesting --strategy-list BBRSI --timeframe 5m --export trades --export-filename=user_data/backtest_results/BBRSI_result.json
$ docker-compose run --rm freqtrade backtesting --strategy-list ONUR YABAR YABAR2 --timeframe 5m --export trades --export-filename=user_data/backtest_results/YABAR_onur_yabar2_result.json --timerange 20210101-20210515
20210414-20210427
freqtrade backtesting --timerange 20180401-20180410 --timeframe 5m --strategy-list Strategy001 Strategy002 --export trades
- Command example
$ docker-compose run --rm freqtrade backtesting --strategy-list BBRSI --timeframe 15m --export trades --export-filename=user_data/backtest_results/BBRSI_result.json
- Generic Command
$ docker-compose run --rm freqtrade hyperopt --hyperopt `<HYPEROPTNAME>` --hyperopt-loss `<HYPEROPTLOSSNAME>` --strategy `<STRATEGY>` -e `<EVALUATION_COUNT>`
- Command example
$ docker-compose run --rm freqtrade hyperopt --hyperopt SampleHyperOpt --hyperopt-loss SampleHyperOptLoss --strategy BBRSI -e 10
dcr freqtrade plot-dataframe --strategy BBRSI -p DOGE/USDT i- 15m
docker logs -f --tail 100 container-id
to see logs
docker container rm -f name
to remove container