close_all_positions
Close all open positions and cancel pending orders to liquidate the entire portfolio. Returns count of closed positions.
Instructions
Close all open positions.
Use with extreme caution - this will liquidate your entire portfolio. Also cancels all open orders.
Returns count of positions closed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||