> For the complete documentation index, see [llms.txt](https://steakhouse.financial/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://steakhouse.financial/docs/risk-management/collateral/layers-pillars-and-criteria/market-rating-layer-3/oracle.md).

# Oracle

Oracle risk is one of four criteria in Steakhouse Financial's Market Rating layer, assessing how asset prices are sourced and applied onchain. Steakhouse Financial has developed a MetaOracle that can switch between two price feeds in the event of a deviation.

Value transfer in smart contract interactions is determined by the pricing of the asset. The price should be observable on-chain, correctly applied during user actions, and reflect the fair value of the asset.

When it comes to pricing, there are two relevant contexts. The market price reflects liquidity and price impact, which is composed of the liquidity provider’s spread and slippage. In contrast, the fair value reflects the primary market value when redemption is available without any fee to the issuer.

This redemption may be subject to a notice period, which reduces the ability to trade the asset atomically onchain. Fair value should be preferred for market stability and to avoid market price manipulation, whereas secondary market pricing may be preferable during a material market event. At Steakhouse Financial, we have developed a MetaOracle that can switch between two price feeds in the event of a deviation.

{% hint style="info" %}
Indicators:

* Market-based or NAV-based type oracle
* Ability to switch between feeds in case of deviation with MetaOracle
* Pegged-to-asset or pegged-to-value type
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://steakhouse.financial/docs/risk-management/collateral/layers-pillars-and-criteria/market-rating-layer-3/oracle.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
