diff --git a/bfxbot/bfxbot.py b/bfxbot/bfxbot.py index 119bfbb..7d8c0cf 100644 --- a/bfxbot/bfxbot.py +++ b/bfxbot/bfxbot.py @@ -107,6 +107,9 @@ class BfxBot: await self.__bfx.submit_order(pw.position.symbol, closing_price, amount, Order.Type.LIMIT) await ss.add_event(Event(EventKind.ORDER_SUBMITTED, ss.current_tick)) + async def get_balances(self): + return await self.__bfx.get_balances() + def set_strategy(self, symbol, strategy: Strategy): if symbol in self.__status: self.__status[symbol].strategy = strategy