tailwind #9

Manually merged
peperunas merged 157 commits from tailwind into master 2020-12-28 18:38:52 +00:00
Showing only changes of commit d1e9be15a1 - Show all commits

View File

@ -42,8 +42,8 @@ class BfxBot:
self.status[symbol].set_price(self.ticker.current_tick, last_price)
# updating positions
for p in [x for x in active_positions if x.symbol == symbol]:
await self.status[p.symbol].add_position(p)
for p in [x for x in active_positions if x.symbol == str(symbol)]:
await self.status[Symbol.from_str(p.symbol)].add_position(p)
# # updating orders
# active_orders = await self.bfx.get_active_orders(symbol)