mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 23:04:21 +01:00
Add optional dead man switch to websocket
This commit is contained in:
@@ -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 ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user