freqtrade_origin/freqtrade/tests/optimize/test_hyperopt_config.py

17 lines
546 B
Python
Raw Normal View History

2017-12-21 07:31:26 +00:00
# pragma pylint: disable=missing-docstring,W0212
2018-01-18 07:10:48 +00:00
from user_data.hyperopt_conf import hyperopt_optimize_conf
2017-12-21 07:31:26 +00:00
def test_hyperopt_optimize_conf():
hyperopt_conf = hyperopt_optimize_conf()
assert "max_open_trades" in hyperopt_conf
assert "stake_currency" in hyperopt_conf
assert "stake_amount" in hyperopt_conf
assert "minimal_roi" in hyperopt_conf
assert "stoploss" in hyperopt_conf
assert "bid_strategy" in hyperopt_conf
assert "exchange" in hyperopt_conf
assert "pair_whitelist" in hyperopt_conf['exchange']