# Overview

![](https://2426784128-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfGYCNabmWkYeX4g-lU%2F-MfaEGLiqaXSRqy1GdVC%2F-MfaHpSeZtMbgqqDRh0i%2Fbanner.JPG?alt=media\&token=461880ad-111c-4448-a0e5-ed762b926afb)

NostraSwap functions similarly to other AMM in which traders can swap a token to a different token paying a small fee for every swap. However, in addition to the amount of tokens the trader gets based on the product invariant, the trader also has a chance to get a bonus amount of token if there is an arbitrage opportunity between NostraSwap and UniswapV2/SushiSwap. 10% of the arbitraging profit goes to the trader, while the rest goes to the liquidity pool. In addition, the price oracle is free for any protocol to use.

## **Oracle**

NostraSwap provides other DEFI protocols with a secured and fresh oracle price by separating the oracle price from the market price. The oracle price follows the market price in such a way that it is limited to change a predetermined percentage per second. We call this “Limited Price Impact Oracle”. See Oracle Section.

The price is represented as a 112x112 fixed-point number and is updated every second. Protocols that wish to use the price oracle can access it through the getOraclePrice methods in the Pair contracts. See Oracle Integration Section.

## **Arbitrage**

NostraSwap also implements a built-in post-swap arbitrage to eliminate arbitrageurs from the platform and split the arbitrage profit between trader and liquidity providers. While liquidity providers and traders are contributing to the protocol, arbitrageurs are merely capturing the opportunities that could otherwise go to those that contributed. For arbitrage condition and math, see Arbitrage Section.


---

# 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://nostraswap.gitbook.io/nostraswap/protocol/overview.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.
