# Oracle Engine

The **Oracle Engine** is a critical component of Pike, responsible for managing price feeds for pTokens with advanced security features. It ensures accurate and validated asset prices through a dual-oracle architecture.

### Overview

* **Advanced Oracle System**: Pike uses dual-oracle architecture with primary and fallback providers (e.g., Chainlink, Pyth). Intelligent boundary validation automatically rejects fallback prices that deviate beyond configurable tolerance ranges, protecting against oracle manipulation and providing superior reliability.
* The governor configures both main and fallback Oracle providers for each asset.

### Integration with Pike

1. **Governor Configuration:** Defines oracle providers and boundary ratios using `setAssetConfig()`.
2. **Risk Engine Interaction:** Provides validated pricing data for risk calculations.
3. **Multi-Provider Support:** Supports multiple oracle providers (e.g., Chainlink, Pyth) for enhanced security.

### Next Steps

* **Interactions:** Learn about dual oracle configuration methods.
* **Access Control:** Understand oracle configuration permissions.


---

# 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.pike.finance/developer-docs/smart-contracts/oracle-engine.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.
