diff --git a/changelog.txt b/changelog.txt index 178c5f0..972eb37 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +2025.03.02: +. Fixed an error in restart_pair_no_json() + 2025.03.01: . StatusHandler initial implementation. . Variable cleanup diff --git a/main.py b/main.py index 401dbd2..1083169 100644 --- a/main.py +++ b/main.py @@ -24,7 +24,7 @@ In case the permissions of the certificate changes, reset them this way: # ll /etc/letsencrypt/ ''' -version = "2025.03.01" +version = "2025.03.02" ''' Color definitions. If you want to change them, check the reference at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors @@ -243,7 +243,7 @@ def restart_pair_no_json(base: str, quote: str) -> int: if f"{base}/{quote}"==x.pair: x.pause = True #Backing up old status file - x.write_status_file(True) + x.status.save_to_file(is_backup=True) #Here, we could open a duster (if needed) for order in order_list: if order["symbol"]==f"{base}/{quote}" and x.config.get_is_short() and order["side"]=="sell":