This commit is contained in:
misagh 2018-11-22 19:27:32 +01:00
parent 3418592908
commit cc1422d448

View File

@ -880,7 +880,9 @@ def test_execute_buy(mocker, default_conf, fee, markets, limit_buy_order) -> Non
assert call_args['rate'] == fix_price
assert call_args['amount'] == stake_amount / fix_price
def test_execute_buy_with_stoploss_on_exchange(mocker, default_conf, fee, markets, limit_buy_order) -> None:
def test_execute_buy_with_stoploss_on_exchange(mocker, default_conf,
fee, markets, limit_buy_order) -> None:
default_conf['exchange']['name'] = 'binance'
patch_RPCManager(mocker)
patch_exchange(mocker)
@ -931,6 +933,7 @@ def test_execute_buy_with_stoploss_on_exchange(mocker, default_conf, fee, market
assert trade.is_open is True
assert trade.stoploss_order_id == 13434334
def test_process_maybe_execute_buy(mocker, default_conf) -> None:
freqtrade = get_patched_freqtradebot(mocker, default_conf)