# Buying & Selling Stacks

{% hint style="warning" %}
All stack operations can only occur if the user is logged in. If the user is not logged in, a prompt will appear to act.
{% endhint %}

#### **Viewing a Stack**

* When you tap on a stack, you’ll see its detail screen.
* The detail screen includes a **Buy/Sell tab** where you can specify how much you want to buy/sell.

<figure><img src="https://3178877330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXxHyqKQI5okN7XAJSj7%2Fuploads%2FxzrLejnc7WAbzKoHGINJ%2Fimage.png?alt=media&#x26;token=517910d3-bfca-4868-ace7-c3adf46d90cf" alt="" width="563"><figcaption></figcaption></figure>

#### **Buying a Stack**

* Enter the amount you wish to buy.
* The system will automatically split your purchase across the stack’s tokens based on its allocation.
* Before confirming, you’ll see a **simulation of the trade**, including the total cost and associated fees.&#x20;

ℹ️ **Info**\
For more details on fees, see the **Fee Documentation**. [fee docs](https://indexify-1.gitbook.io/indexify.finance/~/revisions/aEbNNmQYFoRhushR1DUB/getting-started/fees).

<figure><img src="https://3178877330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXxHyqKQI5okN7XAJSj7%2Fuploads%2FTKMS7Npaja3dHhhJoODx%2Fimage.png?alt=media&#x26;token=da5247ff-4649-4d01-bec6-1215efb15d2f" alt="" width="361"><figcaption></figcaption></figure>

#### **Selling a Stack**

* Go to the **Sell tab**.
* The system will display how much of the stack you currently hold and how much you can sell.
* Enter your sell amount and confirm.

<div align="left"><figure><img src="https://3178877330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXxHyqKQI5okN7XAJSj7%2Fuploads%2FkUxjumlV3EPtAlfhl3Wk%2Fimage.png?alt=media&#x26;token=bec6c297-945c-4d90-892b-8cdeae835cd7" alt="" width="351"><figcaption></figcaption></figure></div>

#### **After the Operation**

* Your buy/sell order is sent to the blockchain for execution.
* Once confirmed, you’ll receive a **success notification**.

<figure><img src="https://3178877330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXxHyqKQI5okN7XAJSj7%2Fuploads%2F7URaNRyFm4jjkznPNadp%2Fimage.png?alt=media&#x26;token=c6d45f79-deb4-40e5-8170-76e4e6802dbd" alt="" width="519"><figcaption></figcaption></figure>

{% hint style="info" %}
In future iterations, a history tab will present all buy/sell operations that the user has performed.
{% endhint %}
