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

# The Trade Panel

> Spot, perpetual futures, prediction markets, and DeFi positions in one view. Pick a market, click Trade, confirm.

**Trade** is the first tab in the top bar and the console's home. The market header and chart sit in the center, your positions across every venue sit below them, and the order modal opens from the **Trade** button.

![The Trade view: market header, chart area, venue tabs, positions table, and the chat panel](https://mintcdn.com/donut-6b37471f/9GcgT1I3sCqmP_zy/media/trade/trade-panel/console.jpg?fit=max\&auto=format\&n=9GcgT1I3sCqmP_zy\&q=85\&s=073cead27530509092ea5f2aa35c95fe)

The Trade view with BTC selected.

## What you can do

| Action | How |
| - | - |
| Switch markets | Click the token name in the market header and pick another market. ★ adds it to your Watchlist. |
| Place an order | **Trade** under the chart opens the order modal with **Spot** and **Perps** tabs; the fields are below. |
| See every venue's positions | The tabs under the chart: **Spot**, **Donut Perps**, **Hyperliquid Perps**, **Polymarket**, **DeFi**. |
| Swap from a position row | Each Spot row has a **Swap** action. |
| Ask D0 about the market | Click **D0 Analyze** in the header. See [D0 Analyze](https://docs-d0.donutbrowser.ai/trade/do-analyze.md). |

## The five venues

| Venue | What it is |
| - | - |
| **Spot** | Plain buys and sells. Solana and EVM chains. |
| **Donut Perps** | D0's native perpetuals. BTC up to 150x leverage, most assets up to 75x. |
| **Hyperliquid Perps** | External perps, up to 40x depending on the pair. |
| **Polymarket** | Prediction markets. Positions show the outcome, price, and resolution. |
| **DeFi** | Lending, LP, and vault positions (Kamino, Uniswap, Aave and others). |

## Placing an order

Click **Trade** under the chart. The order modal has two tabs: **Spot** and **Perps**.

### Spot

| Field | What it means |
| - | - |
| **Market** / **Limit** | Market executes now. Limit lets you set a price and an expiry. |
| **From** / **To** | The pair, with balances. **Half** / **Max** fill 50% or 100% of your balance. |
| **TP / SL** | Optional take profit and stop loss attached to the swap. |
| **Est. Total**, **Fee (0.1%)**, **Est. gas** | What you pay, before you confirm. |

Click **Swap** to confirm.

![The Spot order modal with From, To, Half and Max, TP/SL, Est. Total, Fee, and Est. gas](https://mintcdn.com/donut-6b37471f/9GcgT1I3sCqmP_zy/media/trade/trade-panel/spot-order.jpg?fit=max\&auto=format\&n=9GcgT1I3sCqmP_zy\&q=85\&s=febba65c28b1faaf0eadaa48cbbbde4b)

The Spot tab.

### Perps

| Field | What it means |
| - | - |
| **Long** / **Short** | Direction. |
| **Cross** / **Isolated** | Cross uses your full balance as margin. Isolated caps risk to the margin you put in. |
| **Leverage** | The multiple, stepped with − and +. |
| **Size** | Position size in USDT, with **Available Balance** underneath. |
| **Reduce Only** | Closes an existing position, never opens a new one. |
| **TP / SL** | Take profit and stop loss, attached to the order as a bracket. |
| **Est. Liq. Price**, **Margin**, **Position margin ratio** | What the position costs and where it gets liquidated. |

Click the execute button (for example **Long BTC-USDT**) to confirm.

![The Perps order modal with Long/Short, Cross/Isolated, Leverage, Size, Reduce Only, TP/SL, and Est. Liq. Price](https://mintcdn.com/donut-6b37471f/9GcgT1I3sCqmP_zy/media/trade/trade-panel/perps-order.jpg?fit=max\&auto=format\&n=9GcgT1I3sCqmP_zy\&q=85\&s=6227a2c98c5c5dd9709eb07e0aa0bd6d)

The Perps tab.

## Positions, orders, and history

Each venue tab has four views: **Positions**, **Open Orders**, **Trade History**, **Order History**. A chain filter and **View All Token** sit on the right.

![The Donut Perps Positions tab](https://mintcdn.com/donut-6b37471f/9GcgT1I3sCqmP_zy/media/trade/trade-panel/positions-perps.jpg?fit=max\&auto=format\&n=9GcgT1I3sCqmP_zy\&q=85\&s=218d430d497435a47640217ba7a64305)

Donut Perps positions: side, size, entry, mark, PnL, leverage, margin, and a Close button per row.

![The Polymarket Positions tab](https://mintcdn.com/donut-6b37471f/9GcgT1I3sCqmP_zy/media/trade/trade-panel/positions-polymarket.jpg?fit=max\&auto=format\&n=9GcgT1I3sCqmP_zy\&q=85\&s=37b75ddec410db9ca0566a56a792958f)

Polymarket positions: market, side, shares, entry, current price, value, unrealized PnL, resolution date.

![The DeFi Positions tab](https://mintcdn.com/donut-6b37471f/9GcgT1I3sCqmP_zy/media/trade/trade-panel/positions-defi.jpg?fit=max\&auto=format\&n=9GcgT1I3sCqmP_zy\&q=85\&s=e6ae816f101809ffeb97a5e3f3878b04)

DeFi positions: protocol, pool or asset, type, value, and a Withdraw action.

![The Open Orders tab](https://mintcdn.com/donut-6b37471f/9GcgT1I3sCqmP_zy/media/trade/trade-panel/open-orders.jpg?fit=max\&auto=format\&n=9GcgT1I3sCqmP_zy\&q=85\&s=063f940bf89733d1cfd553882cca6dac)

Open Orders: pending limit orders with trigger price, filled amount, and status.

![The Trade History tab](https://mintcdn.com/donut-6b37471f/9GcgT1I3sCqmP_zy/media/trade/trade-panel/trade-history.jpg?fit=max\&auto=format\&n=9GcgT1I3sCqmP_zy\&q=85\&s=7021887756194b9e668ba13e13952f87)

Trade History: fills with price, amount, fee, and route.

## Tips

> [!TIP]
>
> **Use Isolated margin when testing a new setup.** Cross margin puts your whole balance at risk if the trade goes against you. Isolated caps the loss to what you put in.

> [!TIP]
>
> **Set TP/SL before you confirm.** Once the order is in, the bracket is live. You can still edit it from the positions table, but it is easier to get it right upfront.

> [!TIP]
>
> **Signals execute from the card.** A signal card's **Execute LONG** or **Execute SHORT** opens the same modal, pre-filled. See [Signals](https://docs-d0.donutbrowser.ai/features/thorp-strategy.md).

## What's next

* [Perpetual Futures](https://docs-d0.donutbrowser.ai/features/perpetual-futures.md)
* [Prediction Markets](https://docs-d0.donutbrowser.ai/features/prediction-markets.md)
* [Risk Controls](https://docs-d0.donutbrowser.ai/features/risk-controls.md)


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