tailwind #9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user