From 0e644e913f49af56fe2962215762dcefb7291a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20S=C3=A1nchez?= Date: Fri, 11 Jul 2025 16:53:45 -0300 Subject: [PATCH] reload when profit reinstated --- changelog.txt | 1 + trader.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 83c98cb..4e4b3a6 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,7 @@ 2025.07.11: . Default "check_slippage" value now False. . The default order size is now enforced per exchange. +. Reinstated config reloading when a deal is closed. 2025.06.04: . Added "base_add_calculation" endpoint: Calculates how many safety orders can be added with the amount of base currency available on the exchange. diff --git a/trader.py b/trader.py index d21659e..318c950 100755 --- a/trader.py +++ b/trader.py @@ -786,7 +786,8 @@ class trader: self.quit = True return 1 - #self.config.load_from_file() + #Reloading config file (just in case any changes) + self.config.load_from_file() self.status.set_pause_reason("Checking slippage") if self.config.get_check_slippage():