Pause time reduction

This commit is contained in:
Nicolás Sánchez 2024-10-30 23:36:15 -03:00
parent 178d5f1e27
commit 179bc276a6
1 changed files with 1 additions and 1 deletions

View File

@ -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. # 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? # Maybe is the first market order getting "closed" before is fully filled?
# Or is there an error later in the trader? # 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) returned_order = self.broker.get_order(first_order["id"],self.pair)
if returned_order==self.broker.get_empty_order(): if returned_order==self.broker.get_empty_order():
self.broker.logger.log_this("Problems with the initial order",1,self.pair) self.broker.logger.log_this("Problems with the initial order",1,self.pair)