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

# How prices are checked

> Why a purchase cannot be made at a bad price.

A trading pool's price can be pushed around for a moment. OwnFlow therefore checks every purchase and sale against a **reference price** that is not just the pool's price at that moment.

## The checks

**1. A reference price**

For the stocks OwnFlow starts with, the reference is the stock's Chainlink price feed.

**2. A floor**

The trade must return at least the reference amount, less the pool fee and a small allowance. Otherwise it is cancelled.

**3. A fresh price**

If the price feed is too old, the stock is unavailable until it updates. This can happen when the stock market is closed, such as over a weekend.

**4. A healthy network**

No trade happens while the Base network sequencer is down, or for an hour after it comes back.

## What you notice

* A stock can be **Unavailable** for a while. Your money stays in USDC and the purchase happens later.
* A sale can be refused if the market price is below what the check allows. Try again later, or withdraw the tokens.

> [!NOTE]
>
> These checks reduce the risk of a bad price. They do not remove market risk.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.