How Do Oracle Price Feeds Impact Liquidation on a DEX?

Oracle price feeds are essential for a Decentralized Exchange (DEX) as they provide reliable, external price data to the smart contract. Since a DEX does not have a centralized order book to determine a fair mark price, it relies on oracles to feed a secure, aggregate price for calculating unrealized PnL and triggering liquidations.

A compromised oracle can lead to incorrect liquidations.

What Is the ‘Front-Running’ Risk Associated with Oracle Updates?
How Does the Concept of “Realized PnL” Differ from “Unrealized PnL”?
What Is the Difference between a “Pull” and “Push” Oracle Model in Data Delivery?
Why Do Exchanges Use the Mark Price for PNL Calculation Instead of the Last Traded Price?
How Do Decentralized Exchanges (DEXs) Provide Price Feeds without Relying on External Oracles?
How Do Oracles Provide Necessary Data to an AMM for Accurate Derivatives Pricing?
What Is the Difference between a Time-Weighted Average Price (TWAP) and a Simple Spot Price?
How Do Oracles Provide Necessary Data for Decentralized Options Pricing?

Glossar