await account info

This commit is contained in:
Giulio De Pasquale 2020-12-30 13:18:54 +00:00
parent 698617b977
commit 7b0228c014

View File

@ -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__()