double-summing bug

This commit is contained in:
Nicolás Sánchez 2024-11-10 14:42:14 -03:00
parent af9a9531fe
commit c3ed4b7099
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2024.11.10:
. Removed a double-summing bug in new_so_routine.
2024.11.09:
. Removed multiplier modifier added in 0.12d, since it was not needed anymore.
. Minor refactor in take_profit_routine

View File

@ -988,7 +988,7 @@ class trader:
error_string = "Problems sending the new safety order. Maybe not enough funds?"
self.broker.logger.log_this(error_string,1,self.pair)
self.status_dict["pause_reason"] = error_string
self.sum_filled_amounts(filled_order)
#self.sum_filled_amounts(filled_order)
#self.so = self.broker.get_empty_order()
return 1
else: