Skip to content

Commit 890f30e

Browse files
committed
fix: don't add additional amount to funding fee calculation
1 parent a297626 commit 890f30e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

freqtrade/freqtradebot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ def execute_entry(
10041004

10051005
funding_fees = self.exchange.get_funding_fees(
10061006
pair=pair,
1007-
amount=amount + trade.amount if trade else amount,
1007+
amount=trade.amount if trade else amount,
10081008
is_short=is_short,
10091009
open_date=trade.date_last_filled_utc if trade else open_date,
10101010
)

0 commit comments

Comments
 (0)