> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baibai.cx/llms.txt
> Use this file to discover all available pages before exploring further.

# Gain (Price Comparison)

> Gain shows the total value you've saved by trading on BaiBai.

Every time you trade, BaiBai compares quotes across PropAMMs and other supported liquidity sources, then automatically routes your order to the best available execution.

Your **Gain** represents the additional value you received compared to trading through other available liquidity, including passive AMMs such as Uniswap.

It consists of:

* **Price improvement** — Better execution from routing to the most competitive liquidity.
* **Fee savings** — Network fees saved through gasless execution.

Together, these make up your total **Gain**.

<img src="https://mintcdn.com/bai-bai/L1Wg51LbGoUrj5HT/images/gain.png?fit=max&auto=format&n=L1Wg51LbGoUrj5HT&q=85&s=e8984c9799ef03293ccd9fe7548cdeb8" alt="Gain price comparison" width="534" height="156" data-path="images/gain.png" />

## Where to find your Gain

You can view your Gain in several places:

* **Before trading** — See the estimated Gain for the current quote.
* **Trade receipt** — View the Gain achieved for that transaction.
* **Activity** — Review the Gain for each past trade.
* **Top page** — See your cumulative lifetime Gain in the top-right corner of the app.

As BaiBai processes more trading activity, we'll continue expanding analytics to give traders deeper insights into their onchain performance.
