Add leverage to dry-run liquidation price calculation

This commit is contained in:
Matthias
2022-12-31 10:41:03 +01:00
parent a7b030fff9
commit 34e7433844
4 changed files with 9 additions and 1 deletions

View File

@@ -863,6 +863,7 @@ class Backtesting:
open_rate=propose_rate,
amount=amount,
stake_amount=trade.stake_amount,
leverage=trade.leverage,
wallet_balance=trade.stake_amount,
is_short=is_short,
))