Remove unnecessary comments
This commit is contained in:
		| @@ -605,9 +605,6 @@ def test_backtest_pricecontours(default_conf, fee, mocker, testdatadir) -> None: | ||||
|     # TODO: Evaluate usefullness of this, the patterns and buy-signls are unrealistic | ||||
|     mocker.patch('freqtrade.exchange.Exchange.get_fee', fee) | ||||
|     tests = [['raise', 19], ['lower', 0], ['sine', 35]] | ||||
|     # use_sell_signal is True by default now, it will sell on the sell signal instead of ROI, | ||||
|     # which is what we need here | ||||
| #    default_conf['ask_strategy'] = {"use_sell_signal": True} | ||||
|  | ||||
|     for [contour, numres] in tests: | ||||
|         simple_backtest(default_conf, contour, numres, mocker, testdatadir) | ||||
| @@ -648,9 +645,6 @@ def test_backtest_alternate_buy_sell(default_conf, fee, mocker, testdatadir): | ||||
|     mocker.patch('freqtrade.optimize.backtesting.file_dump_json', MagicMock()) | ||||
|     backtest_conf = _make_backtest_conf(mocker, conf=default_conf, | ||||
|                                         pair='UNITTEST/BTC', datadir=testdatadir) | ||||
|     # use_sell_signal is True by default now, it will sell on the sell signal instead of ROI, | ||||
|     # which is what we need here | ||||
| #    default_conf['ask_strategy'] = {"use_sell_signal": True} | ||||
|     default_conf['ticker_interval'] = '1m' | ||||
|     backtesting = Backtesting(default_conf) | ||||
|     backtesting.strategy.advise_buy = _trend_alternate  # Override | ||||
| @@ -691,9 +685,6 @@ def test_backtest_multi_pair(default_conf, fee, mocker, tres, pair, testdatadir) | ||||
|  | ||||
|     # Remove data for one pair from the beginning of the data | ||||
|     data[pair] = data[pair][tres:].reset_index() | ||||
|     # use_sell_signal is True by default now, it will sell on the sell signal instead of ROI, | ||||
|     # which is what we need here | ||||
| #    default_conf['ask_strategy'] = {"use_sell_signal": True} | ||||
|     default_conf['ticker_interval'] = '5m' | ||||
|  | ||||
|     backtesting = Backtesting(default_conf) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user