-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
31 lines (31 loc) · 1007 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
version: '3'
services:
tests:
build:
context: .
dockerfile: "./docker/Dockerfile.custom"
container_name: freqtrade-backtesting
volumes:
- "./:/testing"
command: >
python -m pytest -ra -vv -s --log-cli-level=info --artifacts-path=artifacts/ ${EXTRA_ARGS:-tests/}
entrypoint: []
working_dir: /testing
backtesting:
build:
context: .
dockerfile: "./docker/Dockerfile.custom"
container_name: freqtrade-backtesting
volumes:
- "./user_data:/freqtrade/user_data"
- "./NostalgiaForInfinityX2.py:/freqtrade/NostalgiaForInfinityX2.py"
command: >
backtesting
--datadir user_data/data/${EXCHANGE:-binance}
--strategy-list NostalgiaForInfinityX2
--timerange ${TIMERANGE:-20210601-20210701}
--config user_data/data/pairlists.json
--config user_data/data/${EXCHANGE:-binance}-usdt-static.json
--max-open-trades ${MAX_OPEN_TRADES:-5}
--stake-amount ${STAKE_AMOUNT:-unlimited}