# Oracle

Our protocol leverages the Pyth price oracle model for providing high-fidelity, precise prices for different price feeds. More details on how to integrate Pyth can be found [here](https://docs.pyth.network/documentation).

Pyth provides two values: price and confidence. These two parameters parameterize a distribution for the price, with ‘price’ serving as the mean of a Laplace distribution with standard deviation equal to ‘confidence’.

Utility functions for getting prices and calculating effective notionals of assets in vaults based on their prices are in the `HubPriceUtilities.sol` contract.

Pyth network operates on a push system where users need to push the price of an asset from the Pyth oracle network in order to access it in the protocol. We check price using the default age of 300 seconds for our feeds to ensure that the prices are up to date.&#x20;

Our protocol is also ready to immediately switch to Chainlink if needed.&#x20;


---

# 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.syno.finance/developer-docs/oracle.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.
