Easier way to run freqtrade on Docker without having to download all the code base.
Example of use would be to clone this repo in a VM running Ubuntu and run the docker command.
# Clone repo
git clone github.com/evzpav/run-freqtrade-docker
# Enter project folder
cd run-freqtrade-docker
# This script will create the ~./freqtrade folder with config files there
make init
2.0) Adjust and add Telegram and Exchange API keys to ~/.freqtrade/config_dry.json and ~/.freqtrade/config_prod.json newly created
make download-data
TIMEFRAME=4h \
STRATEGY=bbrsi #for production only
make backtest \
STRATEGY=bbrsi \
FEE=0.001 \ # 0.1% x 2 (entry and exit)
TIMERANGE=20180101-20191008 \
TIMEFRAME=4h \
CONFIG_FILE=config_dry.json \
DB_FILE=tradesv3.dryrun.sqlite
make plot \
STRATEGY=bbrsi \
CONFIG_FILE=config_dry.json \
DB_FILE=tradesv3.dryrun.sqlite \
PAIRS='ETH/BTC LTC/BTC' \ #with spaces between pairs
IND1='bb_lowerband bb_middleband' \ #with spaces between indicators
IND2=rsi
make plot-profit \
DB_FILE=tradesv3.dryrun.sqlite \
PAIRS='ETH/BTC LTC/BTC' #with spaces between pairs
make hyperopt \
HYPEROPT=bbrsi \
TIMERANGE=20180101-20191008 \
ITERATIONS=100 \
OPT_TARGET=all \
FEE=0.001
make run \
STRATEGY=bbrsi \
CONFIG_FILE=config_dry.json \
DB_FILE=tradesv3.dryrun.sqlite
# Create config folder and config file to be copied for production
make init-prod STRATEGY=bbrsi \
CONFIG_PATH=./config_example.json \
EXCHANGE_KEY=your_exchange_key \
EXCHANGE_SECRET=your_exchange_secret \
TELEGRAM_TOKEN=your_telegram_token \
TELEGRAM_CHAT_ID=your_telegram_chat_id
# Edit ~/.freqtrade_$STRATEGY/config_dry_$STRATEGY.json and ~/.freqtrade_$STRATEGY/config_prod_$STRATEGY.json files accordingly
# Run in production
make run-prod STRATEGY=bbrsi DRYRUN=false
make stop-prod STRATEGY=bbrsi
# List timeframes
make timeframes EXCHANGE=bittrex
# List exchanges
make exchanges