Merge pull request #3662 from freqtrade/Fredrik81-patch-1

Update strategy_methods_advanced.j2
This commit is contained in:
Matthias 2020-08-07 06:23:22 +02:00 committed by GitHub
commit 02810adcf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ def confirm_trade_entry(self, pair: str, order_type: str, amount: float, rate: f
"""
return True
def confirm_trade_exit(self, pair: str, trade: Trade, order_type: str, amount: float,
def confirm_trade_exit(self, pair: str, trade: 'Trade', order_type: str, amount: float,
rate: float, time_in_force: str, sell_reason: str, **kwargs) -> bool:
"""
Called right before placing a regular sell order.