> For the complete documentation index, see [llms.txt](https://docs.orriss.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.orriss.xyz/trading.md). Agents can also search and read this documentation through its [MCP server](https://docs.orriss.xyz/~gitbook/mcp).

# Trading in the terminal

Read a market, distinguish routed quotes from pool quotes and follow a transaction to confirmation.

The SOL/USDC screen puts market history beside the swap ticket. The chart shows completed trades from the displayed market source. The ticket requests a quote for **your amount and direction**. For a large trade, the average price over all the liquidity it consumes can differ materially from the last candle.

<figure><img src="https://2901705416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwgb6N4AUimhmgBryw2j4%2Fuploads%2FzFxeFGO5aNQfUKVncZCN%2Fterminal-swap.png?alt=media" alt="Hourly SOL/USDC candles on the left. The Swap panel on the right shows 1 SOL input and estimated output of 67.584564 USDC."><figcaption><p>Orriss SOL/USDC terminal showing the hourly market chart and a quote for selling 1 SOL</p></figcaption></figure>

*In this terminal capture, selling 1 SOL returned an estimate of 67.584564 USDC. The hourly candles show the Orca reference market. The estimate is a dated interface example.*

## Place a swap

1. Open **Liquidity → Swap**. For another asset, use **Search CA**, paste the Solana mint address and verify the mint in the result. Tokens can share a ticker.
2. Select the input token and enter the amount to spend. Use the direction switch to reverse the pair. Read **Estimated receive** and the fee shown for the quote.
3. Set **Slippage tolerance**. The terminal accepts 0.01% to 10% in steps of 0.01%. For example, a quote for 100 USDC with 0.50% tolerance allows a minimum of 99.50 USDC. A higher tolerance gives the order more room to execute at a worse price.
4. Connect your wallet, review the fresh order and sign. The terminal checks the input amount, mints, minimum output and any order expiry before requesting approval. Follow the transaction link in **History** for the confirmed result. If the signature is still pending, check it before submitting another order.

<figure><img src="https://2901705416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwgb6N4AUimhmgBryw2j4%2Fuploads%2Fz3B1K8JKrSqQesB3m2s4%2Ftoken-search.png?alt=media" alt="Search CA dialog showing the Jupiter token and its full mint address in the results."><figcaption><p>Searching for JUP by its complete mint address in the terminal</p></figcaption></figure>

## Which fee applies?

| Execution path                                  | What the quote includes                                                                                           |
| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| Terminal swap routed through Jupiter            | A 10 bp (0.10%) Orriss platform fee. The route can use external venues with their own trading fees and liquidity. |
| Direct Orriss SOL/USDC pool                     | A 20 bp (0.20%) input-token fee. Output depends on inventory along the active bin path.                           |
| Direct funded Orriss pool with another SPL mint | A 60 bp (0.60%) input-token fee, using that pool’s inventory and service-published reference.                     |

The terminal swap ticket uses Jupiter's order route. A reference to Orca on the chart identifies the market data source. Direct Orriss pool quotes are available through the pool interface described in the [program reference](https://docs.orriss.xyz/program-reference.md). The split between LPs, the creator and the treasury applies to **pool fills**. Solana transaction fees are separate.

## When a fresh quote changes

If the wallet order falls outside the displayed tolerance, request a new quote and compare the receive amount. For a direct pool quote, the program must fill the entire input with available inventory. A smaller amount may reach fewer bins. The worked example follows a buy through two bins, including fee rounding at the boundary. [Swap mathematics](https://docs.orriss.xyz/bin-pricing/swap-math.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.orriss.xyz/trading.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
