todo update

This commit is contained in:
Nicolás Sánchez 2024-12-06 20:59:39 -03:00
parent c6015c9ada
commit d74c3b9923
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ Mandatory:
* Orders.
* Sredro.
* A lot more.
9. In statistics_server, cache daily_and_monthly_totals result if there are no changes in the last deals (and if the day did not change)
Would be nice to have:

View File

@ -337,8 +337,8 @@ class trader:
config_filename = f"configs/{self.base}{self.quote}.json"
with open(config_filename,"r") as y:
config_dict = json.load(y)
if self.config_dict["autoswitch"]:
config_dict["autoswitch"] = True
if self.config_dict["autoswitch"]: # In what context was this useful?
config_dict["autoswitch"] = True #
return config_dict