From 179bc276a63d319a28e411b44a84a3d775ba4434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20S=C3=A1nchez?= Date: Wed, 30 Oct 2024 23:36:15 -0300 Subject: [PATCH] Pause time reduction --- trader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trader.py b/trader.py index 72f9239..6c500e8 100755 --- a/trader.py +++ b/trader.py @@ -221,7 +221,7 @@ class trader: # which ends up misrepresenting the trade cost per unit of base, which causes the take profit price to skyrocket. # Maybe is the first market order getting "closed" before is fully filled? # Or is there an error later in the trader? - time.sleep(self.broker.get_wait_time()*self.broker.get_cooldown_multiplier()) + time.sleep(self.broker.get_wait_time()) returned_order = self.broker.get_order(first_order["id"],self.pair) if returned_order==self.broker.get_empty_order(): self.broker.logger.log_this("Problems with the initial order",1,self.pair)