# 🧿 | Oracle System

In order to provide up-to-date, accurate, and safe price information to the Unlimited Leverage platform, a <mark style="color:blue;">**system of Oracles and smart contracts**</mark> is utilized to ensure the information you see is accurate and not subject to deliberate external manipulation.

The oracle system functions by gathering data from **two separate Oracle sources**:

1. The <mark style="color:blue;">**primary and preferred**</mark> data source consists of an offchain <mark style="color:blue;">**bespoke pricing oracle**</mark> created for Unlimited Leverage. This system aggregates trade pair prices from various exchanges in order to determine an average pricing.
2. The second data source is taken from [Chainlink](https://chain.link/), a well-established and trusted provider of oracle data in the ecosystem.

The oracle system then compares the prices taken from Chainlink against the primary bespoke data, and if prices fall outside the accepted deviation parameter, then the transaction will revert.


---

# 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.unlimited.trade/protocol/or-oracle-system.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.
