# 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 AAPL @ 150`` `**`partial`***\
> \&#xNAN;*`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" %}
![](/files/Ru18nG4Aw4dO13IzLJh6)Example of partially closing $TSLA short position
{% endtab %}

{% tab title="Example #2" %}
![](/files/fJbaYwilpUi2NOqWiV52)Example of partially closing $MSFT long position
{% endtab %}

{% tab title="Example #3" %}
![](/files/3oQzjZqf4JcZh1SYMUw1)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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nvstly.com/submit-stocks-options-trades-on-discord/trim-partial-close.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
