From 12424aef69fb2817527f3b253e24b19d42cf5688 Mon Sep 17 00:00:00 2001 From: Axel-CH Date: Wed, 30 Oct 2024 15:19:29 -0400 Subject: [PATCH] improve handle_similar_open_order description --- freqtrade/freqtradebot.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 6532ea9dc..b1c4dc5c7 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -1756,7 +1756,11 @@ class FreqtradeBot(LoggingMixin): self, trade: Trade, price: float, amount: float, side: str ) -> bool: """ - Keep existing open order if same amount and side, otherwise cancel + Keep existing open order if same amount and side otherwise cancel + :param trade: Trade object of the trade we're analyzing + :param price: Limit price of the potential new order + :param amount: Quantity of assets of the potential new order + :param side: Side of the potential new order :return: True if an existing similar order was found """ if trade.has_open_orders: