From 6ace343d65f659286d4bb9563a7b2673773afbd5 Mon Sep 17 00:00:00 2001 From: Gert Date: Fri, 1 Jun 2018 20:00:47 -0700 Subject: [PATCH] minor changes --- freqtrade/tests/optimize/test_backtesting.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/freqtrade/tests/optimize/test_backtesting.py b/freqtrade/tests/optimize/test_backtesting.py index f17a0115e..3db4a042c 100644 --- a/freqtrade/tests/optimize/test_backtesting.py +++ b/freqtrade/tests/optimize/test_backtesting.py @@ -84,6 +84,7 @@ def load_data_test(what): def simple_backtest(config, contour, num_results, mocker) -> None: mocker.patch('freqtrade.exchange.validate_pairs', MagicMock(return_value=True)) + backtesting = Backtesting(config) data = load_data_test(contour) @@ -94,9 +95,11 @@ def simple_backtest(config, contour, num_results, mocker) -> None: 'stake_amount': config['stake_amount'], 'processed': processed, 'max_open_trades': 1, - 'realistic': True + 'realistic': True, + 'trailing_stop' : False } ) + # results :: assert len(results) == num_results