Merge branch 'develop' into feat/short

This commit is contained in:
Matthias
2022-03-13 15:38:12 +01:00
10 changed files with 87 additions and 34 deletions

View File

@@ -129,6 +129,8 @@ def patch_exchange(
mocker.patch('freqtrade.exchange.Exchange._init_ccxt', MagicMock(return_value=api_mock))
else:
mocker.patch('freqtrade.exchange.Exchange._init_ccxt', MagicMock())
mocker.patch('freqtrade.exchange.Exchange.timeframes', PropertyMock(
return_value=['5m', '15m', '1h', '1d']))
def get_patched_exchange(mocker, config, api_mock=None, id='binance',