edited backtesting._get_sell_trade_entry TODO: removed "Other fees"

This commit is contained in:
Sam Germain 2022-02-02 13:36:18 -06:00
parent c47c54c16c
commit 977f87659c

View File

@ -501,7 +501,7 @@ class Backtesting:
sell_candle_time: datetime = sell_row[DATE_IDX].to_pydatetime() sell_candle_time: datetime = sell_row[DATE_IDX].to_pydatetime()
if self.trading_mode == TradingMode.FUTURES: if self.trading_mode == TradingMode.FUTURES:
# TODO-lev: Other fees / liquidation price? # TODO-lev: liquidation price?
trade.funding_fees = self.exchange.calculate_funding_fees( trade.funding_fees = self.exchange.calculate_funding_fees(
self.futures_data[trade.pair], self.futures_data[trade.pair],
amount=trade.amount, amount=trade.amount,