> For the complete documentation index, see [llms.txt](https://printer-financial.gitbook.io/printer.financial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://printer-financial.gitbook.io/printer.financial/components/any-any-swap/arbitrage.md).

# Arbitrage

## Intrachain Liquidity Balancing&#x20;

The CryptoLink DEX will utilize Balancer v2's Smart Order Router (SOR) for intrachain liquidity balancing.  For given input and output tokens, the SOR finds the optimal trades whether that is a direct swap in one pool, or a combination of trades hopping through multiple pools. For example, Assume CryptoLink has two liquidity pools, PAPER-Native and INK-PAPER, and there is a significant price impact on the PAPER-Native pool, the SOR will automatically arbitrage that liquidity on trades. **Liquidity is arbitraged intrachain.**

## Cross-Chain Arbitrage Opportunities for the Community

The price of the $PAPER token may fluctuate between chains. If there is ever a price imbalance between chains, the community can buy $PAPER on the cheaper chain, and sell it on the more expensive chain… stabilizing the price between chains while profiting from the arbitrage. This stabilization effect happens naturally.&#x20;

**Arbitrage opportunities between chains will exist.** This action encourages an equilibrium of token prices across supported chains.

This also means that if a chain dies or is hit with a major attack, PAPER is braced by the remaining chains that CryptoLink is on, bracing CryptoLink with it.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://printer-financial.gitbook.io/printer.financial/components/any-any-swap/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.
