# Settlement

{% hint style="info" %}
Settlement works very similar to closing a position. With the exception that the 'Close' button below will be changed to a **'Exercise'** button under 'Expired Options'.
{% endhint %}

<figure><img src="/files/Wg9TEu4XymYygxKIIknL" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Pressing the '**Exercise**' button will withdraw the amount in 'Current Value' to your wallet.
{% endhint %}

{% hint style="info" %}
The 'Exercise' button will only be available if you opening a position to buy an option AND the option is profitable (or in-the-money), or if you opened a position to sell an option.
{% endhint %}

{% hint style="info" %}
**Your funds will always be available to withdraw at any time.** As such you do not need to worry about forgetting to withdraw or exercise your options after settlement.
{% 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://learn.charm.fi/charm/previous-products/charm-options/trading-tutorials/settlement.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.
