diff --git a/exchange_wrapper.py b/exchange_wrapper.py index d1075ff..d2dd2ee 100755 --- a/exchange_wrapper.py +++ b/exchange_wrapper.py @@ -997,6 +997,11 @@ class logger: return [] + def set_log_list_max_length(self, amount): + self.log_list_max_length = amount + return self.log_list_max_length + + def get_log_list(self): return self.log_list diff --git a/profits/last_n_deals.py b/profits/last_n_deals.py index c8e66de..8c02c12 100644 --- a/profits/last_n_deals.py +++ b/profits/last_n_deals.py @@ -24,4 +24,4 @@ connection.close() for line in deals[::-1]: human_time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(line[0]))) - print(human_time,line[1],round(line[2],2),line[3]) \ No newline at end of file + print(human_time,line[1],round(line[2],2),line[3]) diff --git a/todo.txt b/todo.txt index 129e5e6..aaaee90 100755 --- a/todo.txt +++ b/todo.txt @@ -10,6 +10,7 @@ Mandatory: 6. Optimize database code. 7. Things that should be objects (it's not 1994): * Orders. + * Sredro. * A lot more.