reload when profit reinstated

This commit is contained in:
Nicolás Sánchez 2025-07-11 16:53:45 -03:00
parent 8f42aaaa9a
commit 0e644e913f
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2025.07.11: 2025.07.11:
. Default "check_slippage" value now False. . Default "check_slippage" value now False.
. The default order size is now enforced per exchange. . The default order size is now enforced per exchange.
. Reinstated config reloading when a deal is closed.
2025.06.04: 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. . Added "base_add_calculation" endpoint: Calculates how many safety orders can be added with the amount of base currency available on the exchange.

View File

@ -786,7 +786,8 @@ class trader:
self.quit = True self.quit = True
return 1 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") self.status.set_pause_reason("Checking slippage")
if self.config.get_check_slippage(): if self.config.get_check_slippage():