> For the complete documentation index, see [llms.txt](https://graphdex-1.gitbook.io/graphdex-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://graphdex-1.gitbook.io/graphdex-docs/trading-predictions/buy-and-sell.md).

# Buy & Sell

**The three-step trade — pick side, pick size, pick speed. Submit.**

The trading widget is the right-column panel on every market page. The same controls work whether the market is Up/Down, Yes/No, or multi-outcome — only the button labels change.

## Step 1 — Pick the side

Two buttons in the widget. Their labels depend on the market type:

* **Up / Down** — price-direction markets ("Bitcoin Up or Down — 5 min").
* **Yes / No** — event-resolution markets ("Will candidate X win?").
* On multi-outcome markets, pick the **outcome line first** (Spain, France, Argentina, etc.), then Up/Down or Yes/No on that line.

The side button you click is the direction your position takes. If the market resolves your way, your shares are worth more than you paid. If it resolves against you, they are worth less or zero.

## Step 2 — Pick the size

Four amount presets sit above the buttons: `0.01 / 0.05 / 0.1 / 1`. Tap a chip to use that amount, or type a custom number in the amount input.

* For testing — start with `0.01` or `0.05`.
* For real positions — type the amount you actually want; presets are convenience, not a rule.
* The amount is denominated in the platform's quote unit; the wallet balance and post-trade PnL show in the same unit.

## Step 3 — Pick the speed

Three speed presets: **Slow / Fast / Turbo**. Slow is the default and the cheapest. Fast and Turbo prioritise execution speed over fee economy.

Pick by market urgency:

* **Long-window market with deep book** — Slow is fine.
* **Short-window market or one closing in minutes** — Fast or Turbo to reduce the risk of missing the fill.

Full breakdown: [Speed Presets](/graphdex-docs/trading-predictions/speed-presets.md).

## Submit

A single click on the Buy or Sell button submits. By default there is no confirmation modal — your settings control that behaviour. See [Trading Settings](/graphdex-docs/trading-predictions/trading-settings.md).

The order route depends on the Market/Limit toggle at the top of the widget:

* **Market** — fills against the book at the best available price.
* **Limit** — posts at the price you set and waits. See [Limit Orders](/graphdex-docs/trading-predictions/limit-orders.md).

## After submit

* **Market order, filled** — the position appears under Wallet → My Assets immediately.
* **Limit order, working** — the order appears under Wallet → My Orders until it fills or you cancel it.
* **Failed submit** — error message in the widget; possible causes include insufficient balance, market closed in the meantime, or RPC issue.

## Closing a position

To exit a position, submit the opposite side on the same market:

* If you bought Up, click Sell or submit Down to close.
* If you bought Yes, submit No or Sell to close.

You can also wait for resolution — winning positions settle automatically; losing positions go to zero.

{% hint style="warning" %}
Predictions trading has no undo. A misclicked Up at the wrong size is a real trade against a real counterparty. Take the second to double-check before submitting.
{% endhint %}

## FAQs

<details>

<summary>What if I don't want one-click submit?</summary>

Open [Trading Settings](/graphdex-docs/trading-predictions/trading-settings.md) and enable confirmation — every order will then surface a confirm modal before execution.

</details>

<details>

<summary>Can I partially close a position?</summary>

Yes — submit a smaller amount on the opposite side. The remainder stays open.

</details>

<details>

<summary>How long does a Market order take to fill?</summary>

Usually fractions of a second on liquid markets. On thin markets it may walk multiple book levels and the fill can be worse than the top of book showed.

</details>

<details>

<summary>Why did my Up/Down click land at a different price?</summary>

The order book moved between the row you tapped and the submit hitting the engine. The Speed preset and slippage tolerance in Trading Settings shape how aggressive the order is willing to be.

</details>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://graphdex-1.gitbook.io/graphdex-docs/trading-predictions/buy-and-sell.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
