# What is Flash Arbitrage?

## What is MEV？

{% content-ref url="/pages/-MhLu4C1JbLZbsLReYtB" %}
[What is MEV?](/acy-finance/resources/101-series/what-is-mev.md)
{% endcontent-ref %}

## What is Flash Arbitrage?

Flash Arbitrage is a protocol level integrated arbitrage strategy to help us fight against Miners. Our smart contract will split user's swap transaction into **multi-route arbitrage transaction** inside the same swap transaction. Users can then automatically profit from the arbitrages, enjoy the **lower price slippage and more stable price**. Without big enough arbitrage opportunities, arbitragers including the miners' bots will be **disinterested** in swap transactions from our platform.

What's more, Flash Arbitrage is executed using a **mathematical model** to calculate the most optimal routes during runtime, aka during transaction execution. Unlike 1inch and other platforms where they calculate the routing solutions before they do the swap transaction, ACY Finance has no delay and is more accurate for its protocol level implementation of the algorithm.

Instead of the direct exchange for the target token by users, the ACY contract is automatically split into multiple paths to exchange the target token. The liquidity equivalent to this exchange is the sum of the liquidity of all relevant paths, which can help users obtain arbitrage gains and greatly reduce the trading slippage.

A visual explanation can be seen in the following Figure where when an user wants to swap from X token to Y token, our methematical model will calculate how much X will go through X->Y, and how much X will go through X->Z->Y to conclude the transaction.

![](/files/-MieDE8si5oxS44bh4n9)

The extra income that is earned from Flash Arbitrage will be distributed to All users and ecosystem, More details [here](/acy-finance/tokenomics/flash-arbitrage-revenue.md).

Regarding of Methematical Details of Flash Arbitrage, Please check out our whitepaper.&#x20;


---

# 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://acy-finance.gitbook.io/acy-finance/product/acy-swap/flash-arbitrage.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.
