parent
29863ad2bf
commit
a1be6124f2
@ -1899,6 +1899,7 @@ def test_get_sell_rate(default_conf, mocker, caplog, side, bid, ask,
|
|||||||
caplog.set_level(logging.DEBUG)
|
caplog.set_level(logging.DEBUG)
|
||||||
|
|
||||||
default_conf['ask_strategy']['price_side'] = side
|
default_conf['ask_strategy']['price_side'] = side
|
||||||
|
if last_ab is not None:
|
||||||
default_conf['ask_strategy']['bid_last_balance'] = last_ab
|
default_conf['ask_strategy']['bid_last_balance'] = last_ab
|
||||||
mocker.patch('freqtrade.exchange.Exchange.fetch_ticker',
|
mocker.patch('freqtrade.exchange.Exchange.fetch_ticker',
|
||||||
return_value={'ask': ask, 'bid': bid, 'last': last})
|
return_value={'ask': ask, 'bid': bid, 'last': last})
|
||||||
|
Loading…
Reference in New Issue
Block a user