close_position
Liquidate an entire stock position for a symbol by placing a market order to sell long shares or buy back shorted shares.
Instructions
Close an entire position for a symbol.
Args: symbol: Stock symbol to close position for
Places a market order to sell (for long) or buy (for short) all shares of the position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||