> For the complete documentation index, see [llms.txt](https://docs.nvstly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nvstly.com/submit-stocks-options-trades-on-discord/trim-partial-close.md).

# Trim/Partial Close

Partially closing or trimming positions allows for locking in gains for stats while still keeping the position open for potentially more future gains

{% 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.\
*(trimming, scale, scaling, partial, partially)*
{% endhint %}

> I.e. *`STC AAPL @ 150`` `**`partial`***\
> *`BTC SPY 4/01 460p @ 2.40`` `**`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;

{% hint style="info" %}
When options trades expire that have been trimmed or partially closed, the position will be closed at the last trimmed/partial price.
{% endhint %}

{% tabs %}
{% tab title="Example #1" %}
![](https://1979700980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7y9NJ86ay9CegkK2t71u%2Fuploads%2FMDiLOezdJpYrYnxYW7Uh%2Fimage.png?alt=media\&token=aade4024-4e09-4f96-91fb-2abca7a2b7bc)Example of partially closing $TSLA short position
{% endtab %}

{% tab title="Example #2" %}
![](https://1979700980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7y9NJ86ay9CegkK2t71u%2Fuploads%2FwUNp879zSzTArZPrwkgh%2Fimage.png?alt=media\&token=81424d42-cefe-4d68-8be6-5c9d27041efb)Example of partially closing $MSFT long position
{% endtab %}

{% tab title="Example #3" %}
![](https://1979700980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7y9NJ86ay9CegkK2t71u%2Fuploads%2FzBPyI0s7kLrZRcqyifIu%2Fimage.png?alt=media\&token=cc4dff46-e0e9-4a56-a264-b992ce24c608)Example of partially closing $AAPL long 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 %}
