# Close Position

|                          |                                                           | Example                                                                        |
| ------------------------ | --------------------------------------------------------- | ------------------------------------------------------------------------------ |
| **`close`**              | Close the position for the focussed instrument completely |                                                                                |
| **`close <instrument>`** | close any position                                        | *`close ethusdt`*                                                              |
| **`close <side>`**       | Close a specific side if in hedge mode                    | <p><em><code>close long</code></em>, <br><em><code>close short</code></em></p> |
| **`close <size>`**       | Close a portion of the position                           | *`close 100`*, *`close 33%`*                                                   |

{% hint style="info" %}
You can use the variable **$size** instead of typing a number directly. See [Variables](https://docs.insilicoterminal.com/documentation/overview#variables) for more details
{% endhint %}
