From e2c5d91eda8f09a0f296108c8f66536ed94a81df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Wed, 30 Mar 2022 18:52:32 +0530 Subject: [PATCH] changed param order --- freqtrade/freqtradebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index ad7a8065f..0b931ba48 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -1149,7 +1149,7 @@ class FreqtradeBot(LoggingMixin): self._notify_exit_cancel( trade, order_type=self.strategy.order_types['sell'], - reason=reason, sub_trade=sub_trade, order=order_obj + reason=reason, order=order_obj, sub_trade=sub_trade ) return cancelled @@ -1325,7 +1325,7 @@ class FreqtradeBot(LoggingMixin): self.rpc.send_msg(msg) def _notify_exit_cancel(self, trade: Trade, order_type: str, reason: str, - sub_trade: bool = False, order: Order = None) -> None: + order: Order, sub_trade: bool = False) -> None: """ Sends rpc notification when a sell cancel occurred. """