Skip to main content

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.

Does the Funding Rate Affect the Profit and Loss (PNL) of a Position before It Is Closed?
How Do Oracles Feed Real-World Price Data into a Derivative Smart Contract?
How Does a Price Feed Oracle Differ from a Randomness Oracle in Blockchain Applications?
What Is the Role of Oracles in Providing External Data to Smart Contracts for Options Trading?