mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
rename custom_entry_price kwarg to align it to the interface
This commit is contained in:
parent
b3dafb378e
commit
b644233ead
|
@ -483,7 +483,7 @@ class FreqtradeBot(LoggingMixin):
|
|||
custom_entry_price = strategy_safe_wrapper(self.strategy.custom_entry_price,
|
||||
default_retval=stake_amount)(
|
||||
pair=pair, current_time=datetime.now(timezone.utc),
|
||||
current_rate=buy_limit_requested)
|
||||
proposed_rate=buy_limit_requested)
|
||||
|
||||
buy_limit_requested = custom_entry_price
|
||||
|
||||
|
|
|
@ -664,7 +664,7 @@ class IStrategy(ABC, HyperStrategyMixin):
|
|||
entry_price_value = strategy_safe_wrapper(self.custom_entry_price, default_retval=None)(
|
||||
pair=pair,
|
||||
current_time=current_time,
|
||||
current_rate=current_rate)
|
||||
proposed_rate=current_rate)
|
||||
|
||||
if entry_price_value is not None:
|
||||
if entry_price_value > low:
|
||||
|
|
Loading…
Reference in New Issue
Block a user