# Oracle

DMEX implements a unique approach to trading real-world and crypto assets without the actual underlying asset changing hands. Given the blockchain implementation and the use of a decentralised oracle (CHAINLINK) this trading method actually provides exactly the same trading experience while being more secure than a traditional centralised exchange.

## Settlement and Liquidation Price

When a position expires or reaches the liquidation price, DMEX calls on the Oracle to record the latest [MARK PRICE](/definitions/mark-price.md) on the blockchain.

{% hint style="info" %}
To see the price source for each asset scroll down to the [ASSETS](/assets/btc.md) section and select an asset.
{% endhint %}

Only after the latest MARK PRICE is recorded on the DMEX smart contract, the position can be settled or liquidated.

{% hint style="success" %}
The use of an Oracle is crucial to the safety of user funds, because it eliminates the risk of price manipulation on the part of DMEX owners.
{% 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.dmex.app/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.
