# Soft-Pegging to the US Dollar

**How pegging works**

When the price of FXD on some market (DEX or CEX) is less than $1, the arbitrageurs are looking for an incentive to arbitrage it with the market, which has a price closer to or more than $1. The below images show how the FXD price is pegged from time 0 to time 2.

<div><figure><img src="/files/a1ADjA5SQhDf44gD1Kn0" alt=""><figcaption></figcaption></figure> <figure><img src="/files/TFthge5edtYHU82GYwZ0" alt=""><figcaption><p>Pegging when FXD &#x3C; $1</p></figcaption></figure> <figure><img src="/files/2l3OVDwWEEQki72j1EH8" alt=""><figcaption></figcaption></figure></div>

When the market price of FXD is greater than $1, it provides an incentive to sell FXD in the market. The below images show how the FXD price is pegged from time 0 to time 2.

<div><figure><img src="/files/UWfWWOpbC9O9ruwNuAhW" alt=""><figcaption></figcaption></figure> <figure><img src="/files/a2hNaRkKN5Ef7igVC2Wm" alt=""><figcaption><p>Pegging when FXD > $1</p></figcaption></figure> <figure><img src="/files/QF4FPPUzxHKlgF6ka3SC" alt=""><figcaption></figcaption></figure></div>

StableSwapModule (SSM) is the special mechanism developed by the Fathom team to provide an additional incentive for arbitrageurs.

<figure><img src="/files/A5BbywhW0I34Cgjg6KcD" alt=""><figcaption><p>Stable Swap Module (SSM</p></figcaption></figure>


---

# 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://docs.fathom.fi/fxd-stablecoin/soft-pegging-to-the-us-dollar.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.
