# Oracle price data

### Protects

{% hint style="success" %}

* Price accuracy
* Prevents flashloan attacks
  {% endhint %}

### Oracle price data

DeltaPrime uses price feeds from an oracle, [RedStone](https://redstone.finance/), enabling us to calculate the price from multiple independent price sources. Liquidity protocols are often the target of price manipulation through affecting liquidity on AMMs. In DeltaPrime, every evaluation of assets is based on data from this RedStone. This ensures that [solvency checks](/protocol/security/solvency-checks.md) of accounts are based on real-world data and protects depositors from losing funds due to price manipulation. To guarantee that price feeds are always up-to-date, DeltaPrime uses the [RedStone oracle](https://redstone.finance) that offers a 10-second update interval. Numerous times faster than the current industry standard.

Whenever a transaction is performed, there is additionally a DEX-Oracle check. If the DEX price differs significantly from the oracle price (which calculates the fair price based on its multiple price sources), the transaction reverts. This protects users from losing funds due to price manipulation.&#x20;

{% hint style="info" %}
While DeltaPrime uses an oracle for pricing of its assets, receiving wrong price information would not allow users to withdraw illicit funds. This is due to the platform's [no-oracle solution: The Withdrawal Guard](/protocol/security/withdrawal-guard.md).
{% endhint %}


---

# 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.deltaprime.io/protocol/security/oracle-price-data.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.
