> For the complete documentation index, see [llms.txt](https://docs.unlimited.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unlimited.trade/protocol/or-oracle-system.md).

# 🧿 | 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.
