Fix for #7534 in bot

This commit is contained in:
Marek Cieplucha 2022-10-04 20:28:47 +02:00 committed by GitHub
parent 3264d7b890
commit 5019300d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1311,7 +1311,7 @@ class FreqtradeBot(LoggingMixin):
# place new order only if new price is supplied
self.execute_entry(
pair=trade.pair,
stake_amount=(order_obj.remaining * order_obj.price),
stake_amount=(order_obj.remaining * order_obj.price / trade.leverage)
price=adjusted_entry_price,
trade=trade,
is_short=trade.is_short,