Pause time reduction
This commit is contained in:
parent
178d5f1e27
commit
179bc276a6
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue