Fix funding fee calculation for backtesting

This commit is contained in:
Matthias
2022-09-02 06:51:30 +02:00
parent 80b5f035ab
commit df50b1928d
2 changed files with 32 additions and 4 deletions

View File

@@ -686,7 +686,7 @@ class Backtesting:
self.futures_data[trade.pair],
amount=trade.amount,
is_short=trade.is_short,
open_date=trade.open_date_utc,
open_date=trade.date_last_filled_utc,
close_date=exit_candle_time,
)