Add test to ensure --hyperopt-loss is mandatory

This commit is contained in:
Matthias
2020-10-05 20:36:16 +02:00
parent 14e87ed4a1
commit 8c2f763193
3 changed files with 8 additions and 5 deletions

View File

@@ -154,7 +154,7 @@ jobs:
run: |
cp config.json.example config.json
freqtrade create-userdir --userdir user_data
freqtrade hyperopt --datadir tests/testdata -e 5 --strategy SampleStrategy --hyperopt SampleHyperOpt --print-all
freqtrade hyperopt --datadir tests/testdata -e 5 --strategy SampleStrategy --hyperopt SampleHyperOpt --hyperopt-loss SharpeHyperOptLossDaily --print-all
- name: Flake8
run: |