hl_close_position
Close the entire position for a specific asset using a market order. Specify the asset symbol to exit the trade.
Instructions
Close the entire position for a specific asset using a market order. Requires HL_PRIVATE_KEY in env.
Args: coin: Asset symbol e.g. BTC, ETH
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |