Update strategy_methods_advanced.j2

Fix def confirm_trade_exit arguments
This commit is contained in:
Fredrik81 2020-08-07 01:13:36 +02:00 committed by GitHub
parent b22fabe1f3
commit eba73307e4
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.