> For the complete documentation index, see [llms.txt](https://nostraswap.gitbook.io/nostraswap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nostraswap.gitbook.io/nostraswap/protocol/arbitration/condition.md).

# Condition

After the swap, NostraSwap compares the market price between itself and other third-party DEXes. If the price difference is larger than $$1.2%$$, then NostraSwap initiates arbitration and splits $$10%$$of the profit to the trader, the rest goes to the liquidity providers.

These numbers are obtained by backtesting different combinations to maximize the liquidity providers' APY and ensure that every arbitration results in profit for the trader as well. See [Backtesting](/nostraswap/protocol/arbitration/backtesting.md).
