# Options Settlement

Opyn uses Chainlink's spot prices as a data source to settle options. However, Chainlink's data source is not designed to be used for expiries because it uses data sources such as aggregators (CoinGecko or CoinMarketCap) which are often delayed. Chainlink is building a low latency, MEV mitigating oracle solution (<https://blog.chain.link/low-latency-oracle-solution/>). Once it is live, it will be considered.

<br>

Pyth (<https://pyth.network/>) provides a more accurate view of the price data due to how it fetches real-time price data from exchanges. Until Pyth and Low latency Chainlink are integrated, we are relying on a stopgap solution for bringing over Pyth price data onto Ethereum:

<br>

* If the option expires out-the-money, we do not do anything. The Chainlink price is used for settlement by default.
* If the option expires in-the-money, we manually dispute the settlement price and set it to Pyth's first spot print at 8am UTC. The dispute process goes through Opyn's dispute multisig.


---

# 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://yield-finance.gitbook.io/yield-finance-docs/the-protocol/options-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.
