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

# Market view

# Market view

One event with all its markets (`/events/:eventId`, or `/markets/:marketId` for one
market; both take `?outcome=:tokenId`). Outcomes on the left, chart and tape in the
middle, the ladder (the book) on the right. Opened from the palette, a `+N` link, a
notification, or a market name anywhere.

## Content

* **Header:** breadcrumb (league or tag / event), event title, large score badge for
  games, status pill if a feed is stale, and three icon buttons: pin (`[star]`), set alert
  (`[bell]`, opens the alert form, [alerts.md](alerts.md#the-form-edit-and-create-from-the-market-view-or-this-screen)),
  and the event on polymarket.com (`[external-link]`).
* **Markets and outcomes:** every market in the event, grouped (Moneyline, Spread,
  Total, Props, …). Each outcome line has Sell, Buy, the pending dot and your position.
* **Selected outcome:** drives the chart and the ladder. The default is the outcome from
  the URL, else your largest position, else the first outcome of the main market.
* **Chart:** price history of the selected outcome.
* **Tape tabs:** Trades (the market's recent trades), My orders, My fills, Rules.

## Desktop (content 1376 px)

```
 x: 64                  464                                            1208          1440
 ┌──────────────────────────────────────────────────────────────────────────────────────┐
 │ NBA / Lakers v Celtics                                 [star] [bell] [external-link] │ 24
 │ Lakers v Celtics                                      (dot) Q3 4:12  88–84  LAL ball │ 40 title + large score
 ├──────────────────────┬──────────────────────────────────────────┬────────────────────┤
 │ Moneyline  Sell  Buy │ [1H][6H][1D][1W][1M][All]      [Lakers]  │ Ladder (232)       │
 │|Lakers     41¢  43¢  │                                          │ same component as  │
 │ Celtics     56¢  58¢ │      ╭──╮      ╭╮                        │ the docked ladder, │
 │ Spread               │  ───╯    ╰─────╯╰──── 42¢                │ full height        │
 │ LAL −4.5    47¢  49¢ │  - - - - - - - - - - - - avg 41¢         │                    │
 │ BOS +4.5    51¢  53¢ │  ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ buy 25 at 40¢   │                    │
 │ Total                │                                chart 360 │                    │
 │ Over 221.5 ...       ├──────────────────────────────────────────┤                    │
 │ Under 221.5 ...      │ [Trades] [My orders 3] [My fills] [Rules]│                    │
 │ Props (14)           │ 21:04:12  Buy   43¢    120               │                    │
 │                      │ 21:04:09  Sell  41¢     35               │                    │
 │ 400                  │ 744                                      │                    │
 └──────────────────────┴──────────────────────────────────────────┴────────────────────┘
```

(Group headers carry a `[chevron-down]` when expanded and `[chevron-right]` when collapsed;
`[Lakers]` is the outcome select; the pending dot sits after Buy.)

### Outcomes panel (400 px)

* Market group headers: 32 px, caption, collapse chevron, column labels. Moneyline and
  groups where you hold a position start expanded; others start collapsed (`[chevron-right] Props (14)`).
* Outcome line 36 px: name (flex), Sell 64, Buy 64, pending dot 28, position 64. Column
  positions are fixed, as on the board.
* The selected outcome has `--accent` bg and a 2 px `--foreground` bar on the left edge.
* Click the name area: select that outcome (chart and ladder switch; the URL updates with
  `replace`, so Back leaves the market instead of stepping through outcomes).
* Click Sell / Buy: order, as everywhere.

### Chart (744 × 360)

* `lightweight-charts` line series of the price history (CLOB prices-history), in
  `--foreground`, 1.5 px. Background `--card`, grid lines `--border`, axis text
  `--muted-foreground` caption. Prices on the right axis in cents.
* Overlays: your average entry as a dashed `--muted-foreground` line labelled `avg 41¢`;
  each resting order as a dashed line in its side colour labelled `buy 25 at 40¢`.
* Ranges: 1H 6H 1D 1W 1M All (segmented, `--control-h`). Default 6H for live games, 1D otherwise.
* The crosshair shows time and price. There is no animation; new points append in place.
* The outcome dropdown at the top right mirrors the selection in the outcomes panel.
* Stale: the line stays, the last-price label turns `--muted-foreground`, and `Stale 6s`
  shows at the top left.

### Tape tabs (height = remaining space)

| Tab | Rows (32 px) |
| - | - |
| Trades | time, side (green Buy / red Sell label), price, size. New rows appear at the top, deferred while hovered (interactions.md) |
| My orders | This market's open orders: the orders-table row with steppers and cancel (orders.md) |
| My fills | time, outcome, side, price, size, value |
| Rules | Resolution rules text, end date, resolution source, market ID (copy button) |

### Ladder (232 px)

The price ladder for the selected outcome, full height, focusable panel
(price-ladder.md). It is not part of the ladder dock. `Alt+Enter` on an outcome line
docks it there.

## Mobile

```
 ┌──────────────────────────────────────┐
 │ [arrow-left] Lakers v Celtics        │ 52 header: back and title replace logo
 │              [ Safe | Armed ] [[x] 7]│    and cash (one row, drawn on two lines)
 ├──────────────────────────────────────┤
 │ (dot) Q3 4:12  88–84  LAL ball       │ 56 score badge (large), pin, more
 │                   [star] [ellipsis]  │
 ├──────────────────────────────────────┤
 │ [1H][6H][1D][1W][All]      [Lakers]  │ 36
 │  chart                               │ 200
 ├──────────────────────────────────────┤
 │ [chevron-down] Moneyline             │ 36
 │ Lakers   │ Sell 41¢ │ │ Buy 43¢  │   │ 44
 │ Celtics  │ Sell 56¢ │ │ Buy 58¢  │   │ 44
 │ Spread · Total · Props (14)          │ collapsed groups, each with [chevron-right]
 ├──────────────────────────────────────┤
 │ [Trades] [My orders 3] [Rules]       │ 44
 │ …                                    │
 ├──────────────────────────────────────┤
 │ Stake $ [  10 |  25  |  50  | 100 ]  │ 44
 └──────────────────────────────────────┘
```

* The page scrolls as one column. The header, stake bar and tab bar stay fixed.
* Tap an outcome name: select it (chart follows) and open its ladder sheet.
* Tap Sell / Buy: order.
* `[ellipsis]`: Set alert…, Open on polymarket.com, Copy link.


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