Fix tests

This commit is contained in:
Matthias
2022-03-22 19:28:13 +01:00
parent 2c89da6bf7
commit 247635db79
2 changed files with 10 additions and 14 deletions

View File

@@ -276,7 +276,7 @@ class FreqtradeBot(LoggingMixin):
pair=trade.pair,
amount=trade.amount,
is_short=trade.is_short,
open_date=trade.open_date
open_date=trade.open_date_utc
)
trade.funding_fees = funding_fees
else:
@@ -1358,7 +1358,7 @@ class FreqtradeBot(LoggingMixin):
pair=trade.pair,
amount=trade.amount,
is_short=trade.is_short,
open_date=trade.open_date,
open_date=trade.open_date_utc,
)
exit_type = 'exit'
if sell_reason.sell_type in (SellType.STOP_LOSS, SellType.TRAILING_STOP_LOSS):