# 📈Long Options

{% hint style="success" %}
If you are new to the Divergence Protocol, it is advised to start with the [protocol basics](https://docs.divergence-protocol.com/overview/protocol-basics).
{% endhint %}

Longing digital options is akin to market buying options in a traditional order book. Instead of matching with specific orders one after another, the swaps execute against a passive pool of liquidity. Liquidity providers earn fees proportional to their committed capital. **The protocol's swap functionalities are long-only. Collateral tokens are swapped for options tokens, not the reverse.**&#x20;

Before expiry, traders can [close their longs](https://docs.divergence-protocol.com/user-guide/long-options/close-longs) by providing the options they've bought as liquidity to a price range, similar to limit sell orders in a order book. Alternatively, to hedge a number of long calls (puts), one can buy the same amount of puts (calls), or provide collateral liquidity to [open shorts](https://docs.divergence-protocol.com/user-guide/short-options/open-shorts).&#x20;

After expiry, if the options are in-the-money, they can be [exercised](https://docs.divergence-protocol.com/user-guide/long-options/exercise-options) for 1 collateral token each. The following provide step-by-step guides about using the protocol interface to complete the above steps:

<img src="https://205922869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXDQ_f-eqqSVmsimay0%2Fuploads%2FXKZhJJWmGsv7uhFhE7Wy%2Ffile.excalidraw.svg?alt=media&#x26;token=0da1220a-9d4c-4ec0-8feb-4f58ce6ced30" alt="" class="gitbook-drawing">


---

# 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.divergence-protocol.com/user-guide/long-options.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.
