You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As a user, I'd like the close_all_positions to take an optional boolean cancel_orders argument as defined in the endpoint.
Describe the solution you'd like.
def close_all_positions(self, cancel_orders=False) -> Positions:
"""Liquidates all open positions at market price"""
resp = self.delete('/positions', {"cancel_orders":True} if cancel_orders else None)
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is your feature request related to a problem? Please describe.
As a user, I'd like the
close_all_positions
to take an optional booleancancel_orders
argument as defined in the endpoint.Describe the solution you'd like.
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response
The text was updated successfully, but these errors were encountered: