From 49a65ed685732a89649bdb358a71af7534f67efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20S=C3=A1nchez?= Date: Fri, 11 Jul 2025 00:16:14 -0300 Subject: [PATCH] 2025.07.11 --- changelog.txt | 3 +++ config_handler.py | 2 +- main.py | 2 +- trader.py | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index c32cf16..19afb5b 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +2025.07.11: +. Default "check_slippage" value now False. + 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/config_handler.py b/config_handler.py index 88d038a..ff755a1 100644 --- a/config_handler.py +++ b/config_handler.py @@ -26,7 +26,7 @@ class ConfigHandler: "tp_mode": 3, "tp_level": 1.025, "tp_table": [], - "check_slippage": True, + "check_slippage": False, "programmed_stop": False, "programmed_stop_time": 0, "boosted_deals_range": 4, diff --git a/main.py b/main.py index 5254b7f..6526f37 100644 --- a/main.py +++ b/main.py @@ -16,7 +16,7 @@ import exchange_wrapper import trader -version = "2025.06.04" +version = "2025.07.11" ''' 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 c2ec029..d21659e 100755 --- a/trader.py +++ b/trader.py @@ -1100,6 +1100,7 @@ class trader: self.status.save_to_file(is_backup=True) self.restart = True return 1 + #else: check if the order is partially filled. If so, add the amounts to amount_of_quote and amount_of_base and update the take profit order. #Render status line(s) self.status.set_status_string(self.generate_status_strings())