From d74c3b9923fa63cce52eadf3ba010afb4490d781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20S=C3=A1nchez?= Date: Fri, 6 Dec 2024 20:59:39 -0300 Subject: [PATCH] todo update --- todo.txt | 1 + trader.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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