forked from iterativv/NostalgiaForInfinity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (42 loc) · 1.37 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
---
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"
- "./NostalgiaForInfinityNext.py:/freqtrade/NostalgiaForInfinityNext.py"
command: >
backtesting
--strategy-list NostalgiaForInfinityNext
--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}
download-data:
image: freqtradeorg/freqtrade:develop
container_name: download-data
volumes:
- "./user_data:/freqtrade/user_data"
command: >
download-data
--timerange ${START_DATE:-20201201}-${END_DATE:-20210701}
--timeframe 5m 1h
--datadir user_data/data/${EXCHANGE:-binance}
--config user_data/data/pairlists.json
--config user_data/data/${EXCHANGE:-binance}-usdt-static.json