> For the complete documentation index, see [llms.txt](https://edgex-1.gitbook.io/edgeX-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edgex-1.gitbook.io/edgeX-documentation/trading/liquidation-logic.md).

# Liquidation Logic

edgeX employs Oracle Price to prevent liquidations triggered by low liquidity or market manipulation.

In cross margin mode, a position is liquidated when the available balance reaches zero and the position margin drops to the maintenance margin level.
