await account info
This commit is contained in:
parent
698617b977
commit
7b0228c014
@ -125,7 +125,7 @@ class BfxBot:
|
|||||||
self.__status[symbol] = SymbolStatus(symbol, strategy)
|
self.__status[symbol] = SymbolStatus(symbol, strategy)
|
||||||
|
|
||||||
async def start(self):
|
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)
|
self.__ledger = await self.__bfx.ledger_history(0, time.time() * 1000)
|
||||||
|
|
||||||
await self.__update_status__()
|
await self.__update_status__()
|
||||||
|
Loading…
Reference in New Issue
Block a user