diff --git a/todo.txt b/todo.txt index ad3d951..7a0180f 100755 --- a/todo.txt +++ b/todo.txt @@ -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: diff --git a/trader.py b/trader.py index e9fdb98..4117cf8 100755 --- a/trader.py +++ b/trader.py @@ -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