Merge pull request #4093 from freqtrade/ohlcv_limit

set ohlcv limit on ccxt calls
This commit is contained in:
Matthias
2020-12-21 19:34:50 +01:00
committed by GitHub
7 changed files with 31 additions and 3 deletions

View File

@@ -2153,7 +2153,7 @@ def test_get_fee(default_conf, mocker, exchange_name):
def test_stoploss_order_unsupported_exchange(default_conf, mocker):
exchange = get_patched_exchange(mocker, default_conf, 'bittrex')
exchange = get_patched_exchange(mocker, default_conf, id='bittrex')
with pytest.raises(OperationalException, match=r"stoploss is not implemented .*"):
exchange.stoploss(pair='ETH/BTC', amount=1, stop_price=220, order_types={})