diff --git a/freqtrade/tests/test_persistence.py b/freqtrade/tests/test_persistence.py index 7d3ae3efc..c09774a37 100644 --- a/freqtrade/tests/test_persistence.py +++ b/freqtrade/tests/test_persistence.py @@ -122,7 +122,7 @@ def test_update_with_bittrex(limit_buy_order, limit_sell_order): pair='BTC_ETH', stake_amount=0.001, fee=0.0025, - exchange='binance', + exchange='bittrex', ) assert trade.open_order_id is None assert trade.open_rate is None @@ -149,7 +149,7 @@ def test_calc_open_close_trade_price(limit_buy_order, limit_sell_order): pair='ETH/BTC', stake_amount=0.001, fee=0.0025, - exchange='binance', + exchange='bittrex', ) trade.open_order_id = 'something' @@ -171,7 +171,7 @@ def test_calc_close_trade_price_exception(limit_buy_order): pair='ETH/BTC', stake_amount=0.001, fee=0.0025, - exchange='binance', + exchange='bittrex', ) trade.open_order_id = 'something' @@ -184,7 +184,7 @@ def test_update_open_order(limit_buy_order): pair='ETH/BTC', stake_amount=1.00, fee=0.1, - exchange='binance', + exchange='bittrex', ) assert trade.open_order_id is None @@ -206,7 +206,7 @@ def test_update_invalid_order(limit_buy_order): pair='ETH/BTC', stake_amount=1.00, fee=0.1, - exchange='binance', + exchange='bittrex', ) limit_buy_order['type'] = 'invalid' with pytest.raises(ValueError, match=r'Unknown order type'): @@ -218,7 +218,7 @@ def test_calc_open_trade_price(limit_buy_order): pair='ETH/BTC', stake_amount=0.001, fee=0.0025, - exchange='binance', + exchange='bittrex', ) trade.open_order_id = 'open_trade' trade.update(limit_buy_order) # Buy @ 0.00001099 @@ -235,7 +235,7 @@ def test_calc_close_trade_price(limit_buy_order, limit_sell_order): pair='ETH/BTC', stake_amount=0.001, fee=0.0025, - exchange='binance', + exchange='bittrex', ) trade.open_order_id = 'close_trade' trade.update(limit_buy_order) # Buy @ 0.00001099 @@ -256,7 +256,7 @@ def test_calc_profit(limit_buy_order, limit_sell_order): pair='ETH/BTC', stake_amount=0.001, fee=0.0025, - exchange='binance', + exchange='bittrex', ) trade.open_order_id = 'profit_percent' trade.update(limit_buy_order) # Buy @ 0.00001099 @@ -286,7 +286,7 @@ def test_calc_profit_percent(limit_buy_order, limit_sell_order): pair='ETH/BTC', stake_amount=0.001, fee=0.0025, - exchange='binance', + exchange='bittrex', ) trade.open_order_id = 'profit_percent' trade.update(limit_buy_order) # Buy @ 0.00001099 @@ -315,7 +315,7 @@ def test_clean_dry_run_db(default_conf): amount=123.0, fee=0.0025, open_rate=0.123, - exchange='binance', + exchange='bittrex', open_order_id='dry_run_buy_12345' ) Trade.session.add(trade) @@ -326,7 +326,7 @@ def test_clean_dry_run_db(default_conf): amount=123.0, fee=0.0025, open_rate=0.123, - exchange='binance', + exchange='bittrex', open_order_id='dry_run_sell_12345' ) Trade.session.add(trade) @@ -338,7 +338,7 @@ def test_clean_dry_run_db(default_conf): amount=123.0, fee=0.0025, open_rate=0.123, - exchange='binance', + exchange='bittrex', open_order_id='prod_buy_12345' ) Trade.session.add(trade)