mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-01 01:23:04 +00:00
ignore custom_entry_price trade object type test, remove LocalTrade as type
This commit is contained in:
@@ -738,7 +738,9 @@ class Backtesting:
|
||||
if order_type == 'limit':
|
||||
new_rate = strategy_safe_wrapper(self.strategy.custom_entry_price,
|
||||
default_retval=propose_rate)(
|
||||
pair=pair, trade=trade, current_time=current_time,
|
||||
pair=pair,
|
||||
trade=trade, # type: ignore[arg-type]
|
||||
current_time=current_time,
|
||||
proposed_rate=propose_rate, entry_tag=entry_tag,
|
||||
side=direction,
|
||||
) # default value is the open rate
|
||||
|
||||
Reference in New Issue
Block a user