From 53f28fac40f44b9ebad611b018e464bf2c95b7d7 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 18 Feb 2022 15:19:04 +0000 Subject: [PATCH] Add recurring call for getting total profit --- handler/transactions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/handler/transactions.py b/handler/transactions.py index 7bce16f..4cdcb1f 100644 --- a/handler/transactions.py +++ b/handler/transactions.py @@ -46,6 +46,7 @@ class Transactions(object): deferToThread(self.get_total) deferToThread(self.get_remaining) deferToThread(self.get_profit) + deferToThread(self.get_profit, True) deferToThread(self.get_open_trades_usd) deferToThread(self.get_total_remaining) deferToThread(self.get_total_with_trades)