add custom_exit_price in interface and freqtradebot

This commit is contained in:
axel
2021-08-04 23:09:40 -04:00
parent f243ad4af0
commit cb3b0cf311
2 changed files with 9 additions and 1 deletions

View File

@@ -299,7 +299,7 @@ class IStrategy(ABC, HyperStrategyMixin):
def custom_exit_price(self, pair: str, trade: Trade,
current_time: datetime, proposed_rate: float,
current_rate: float, current_profit: float, **kwargs) -> float:
current_profit: float, **kwargs) -> float:
"""
Custom exit price logic, returning the new exit price.