Added is_paused to status_dict

This commit is contained in:
Nicolás Sánchez 2025-01-10 10:12:52 -03:00
parent 96d4f3dfef
commit 12ea528863
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2025.01.10:
. Added is_paused to status_dict.
2024.12.14: 2024.12.14:
. Modified waitress parameters. . Modified waitress parameters.

View File

@ -24,7 +24,7 @@ In case the permissions of the certificate changes, reset them this way:
# ll /etc/letsencrypt/ # ll /etc/letsencrypt/
''' '''
version = "2024.12.14" version = "2025.01.10"
''' '''
Color definitions. If you want to change them, check the reference at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors Color definitions. If you want to change them, check the reference at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors

View File

@ -369,6 +369,7 @@ class trader:
self.status_dict["next_so_price"]=self.so["price"] self.status_dict["next_so_price"]=self.so["price"]
self.status_dict["is_boosted"]=self.is_boosted self.status_dict["is_boosted"]=self.is_boosted
self.status_dict["is_short"]=self.is_short self.status_dict["is_short"]=self.is_short
self.status_dict["is_paused"]=self.pause
self.status_dict["quote_spent"]=self.total_amount_of_quote self.status_dict["quote_spent"]=self.total_amount_of_quote
self.status_dict["base_bought"]=self.total_amount_of_base self.status_dict["base_bought"]=self.total_amount_of_base
self.status_dict["so_amount"]=self.safety_order_index self.status_dict["so_amount"]=self.safety_order_index