Add optional dead man switch to websocket

This commit is contained in:
Jacob Plaster
2018-12-07 10:24:22 +00:00
parent 0b2feb3275
commit df017a6685
3 changed files with 8 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ async def log_orders_history():
[ print (o) for o in orders ]
async def log_active_positions():
positions = await bfx.rest.get_active_position()
positions = await bfx.rest.get_active_positions()
print ("Positions:")
[ print (p) for p in positions ]