From e88ed99d6b0601f17315d4c9b09342bb9554bd93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20S=C3=A1nchez?= Date: Sun, 31 Aug 2025 18:43:13 -0300 Subject: [PATCH] 2025.08.31 --- main.py | 2 +- trader.py | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index eef7526..96675ca 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ import exchange_wrapper import trader -version = "2025.08.30" +version = "2025.08.31" ''' Color definitions. If you want to change them, check the reference at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors diff --git a/trader.py b/trader.py index df9ef9d..b6d3c1d 100755 --- a/trader.py +++ b/trader.py @@ -1654,14 +1654,15 @@ class trader: return 1 #MIGRATION: ONCE MIGRATION IS DONE, REMOVE THIS CODE - # It moves the current safety order (if it exists) to the new safety order list - # It sets the concurrent safety orders setting to 1 (to avoid sending a big amount of orders at startup) - # It saves the modified config file + # Copy the current safety order (if it exists) to the new safety order list + # Set the concurrent safety orders setting to 1 (to avoid sending a big amount of orders at startup) + # Save the modified config file #if self.status.status_dictionary["safety_order"]["id"]!="": # self.status.set_safety_orders([self.status.status_dictionary["safety_order"]]) - # self.config.set_concurrent_safety_orders(1) - # self.config.save_to_file() + #self.config.set_concurrent_safety_orders(1) + #self.config.save_to_file() + #self.status.set_safety_orders_filled(self.status.get_so_amount()-1) #Done self.pause = False