Merge branch 'freqtrade:feat/short' into feat/short

This commit is contained in:
Adriance 2022-03-27 12:33:39 +08:00 committed by GitHub
commit 6629b6c828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,7 +215,7 @@ def test_set_stop_loss_isolated_liq(fee):
])
@pytest.mark.usefixtures("init_persistence")
def test_interest(market_buy_order_usdt, fee, exchange, is_short, lev, minutes, rate, interest,
def test_interest(fee, exchange, is_short, lev, minutes, rate, interest,
trading_mode):
"""
10min, 5hr limit trade on Binance/Kraken at 3x,5x leverage
@ -790,7 +790,7 @@ def test_calc_open_trade_value(
])
@pytest.mark.usefixtures("init_persistence")
def test_calc_close_trade_price(
limit_buy_order_usdt, limit_sell_order_usdt, open_rate, exchange, is_short,
open_rate, exchange, is_short,
lev, close_rate, fee_rate, result, trading_mode, funding_fees
):
trade = Trade(
@ -883,9 +883,6 @@ def test_calc_close_trade_price(
])
@pytest.mark.usefixtures("init_persistence")
def test_calc_profit(
limit_buy_order_usdt,
limit_sell_order_usdt,
fee,
exchange,
is_short,
lev,