Create userdir and backtest SampleStrategy

This commit is contained in:
Matthias 2019-11-17 09:57:06 +01:00
parent cbb187e9b9
commit ed04f7f39d
2 changed files with 9 additions and 3 deletions

View File

@ -78,11 +78,13 @@ jobs:
- name: Backtesting
run: |
cp config.json.example config.json
freqtrade backtesting --datadir tests/testdata --strategy DefaultStrategy
freqtrade create-userdir --userdir user_data
freqtrade backtesting --datadir tests/testdata --strategy SampleStrategy
- name: Hyperopt
run: |
cp config.json.example config.json
freqtrade create-userdir --userdir user_data
freqtrade hyperopt --datadir tests/testdata -e 5 --strategy SampleStrategy --hyperopt SampleHyperOpt
- name: Flake8
@ -139,11 +141,13 @@ jobs:
- name: Backtesting
run: |
cp config.json.example config.json
freqtrade backtesting --datadir tests/testdata --strategy DefaultStrategy
freqtrade create-userdir --userdir user_data
freqtrade backtesting --datadir tests/testdata --strategy SampleStrategy
- name: Hyperopt
run: |
cp config.json.example config.json
freqtrade create-userdir --userdir user_data
freqtrade hyperopt --datadir tests/testdata -e 5 --strategy SampleStrategy --hyperopt SampleHyperOpt
- name: Flake8

View File

@ -28,10 +28,12 @@ jobs:
name: pytest
- script:
- cp config.json.example config.json
- freqtrade backtesting --datadir tests/testdata --strategy DefaultStrategy
freqtrade create-userdir --userdir user_data
- freqtrade backtesting --datadir tests/testdata --strategy SampleStrategy
name: backtest
- script:
- cp config.json.example config.json
- freqtrade create-userdir --userdir user_data
- freqtrade hyperopt --datadir tests/testdata -e 5 --strategy SampleStrategy --hyperopt SampleHyperOpt
name: hyperopt
- script: flake8