From 7b0228c014b08e322faa4dc722cdac4edbc43185 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Wed, 30 Dec 2020 13:18:54 +0000 Subject: [PATCH] await account info --- bfxbot/bfxbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfxbot/bfxbot.py b/bfxbot/bfxbot.py index 49eda47..5296035 100644 --- a/bfxbot/bfxbot.py +++ b/bfxbot/bfxbot.py @@ -125,7 +125,7 @@ class BfxBot: self.__status[symbol] = SymbolStatus(symbol, strategy) async def start(self): - self.__account_info = self.__bfx.get_account_information() + self.__account_info = await self.__bfx.get_account_information() self.__ledger = await self.__bfx.ledger_history(0, time.time() * 1000) await self.__update_status__()