# Trim/Partial Close

{% hint style="success" %}
Trim/Partial Keywords\
`TRIM` - `SCAL` - `PART` - `Leaving Some` are all keywords to trigger a trim/partial close & can be used anywhere within the notes.\
\&#xNAN;*(trimming, scale, scaling, partial, partially)*
{% endhint %}

> I.e. *`STC BTC/USDT @ 25000 trim`*

To trim or partially close trades and keep them open, use the trim/partial keywords at the end of the trade or anywhere within the notes, such as `trim` `trimming` `scale` `scaling` `partial` `partially`.&#x20;

{% tabs %}
{% tab title="Example #1" %}
![](https://1979700980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7y9NJ86ay9CegkK2t71u%2Fuploads%2FlaeJZCANkMuizdNWsbXT%2Fimage.png?alt=media\&token=576909c5-bc5a-45da-943d-13b3cbf4d788)Example of partially closing SOL/USDT position
{% endtab %}

{% tab title="Example #2" %}
![](https://1979700980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7y9NJ86ay9CegkK2t71u%2Fuploads%2FgVsTYAXzcNfjbSJUQV4X%2Fimage.png?alt=media\&token=112fd722-7225-4d8c-9bcf-62029ecabc83)Example of partially closing DOT/USDT position
{% endtab %}

{% tab title="Example #3" %}
![](https://1979700980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7y9NJ86ay9CegkK2t71u%2Fuploads%2FdENrKmJNrIv7FsgQMFaA%2Fimage.png?alt=media\&token=4d39c7c0-3979-4cb8-9cef-67e159d77365)Example of partially closing ADA/USDT position
{% endtab %}
{% endtabs %}

When closing trades with trim/partial exit, the final gain percentage is generated by calculating the average of trim(s) and exit returns which is used for final gain/loss that is factored into stats.

### Using Slash Commands

The same concept applies to slash commands as with text commands. When using the `/close` command, use any of the trim/partial keywords (trim, trimming, partial, etc.) anywhere in the notes field to trim/partially close a position.

{% hint style="warning" %}
Trades that have been trimmed/partially closed will calculate the final gain percentage differently. The returns of each trim/partial and the closing return will be calculated into an average gain/return which is used toward stats. However, the bot will reply with an Entry to Exit gain/loss percentage for trades that have been trimmed/partially closed, but this value does not factor into stats and is only for cosmetic purposes.
{% endhint %}
