> Every Taji docs page as Markdown: https://docs.taji.is/llms.txt

# Place and cancel orders

You pick the account your orders go to, place an order from the ticket, the chart or the ladder, cancel it, and decide whether your agent's orders wait for you. You need a running window ([install](https://docs.taji.is/guide/app.md) or [build](https://docs.taji.is/guide/install.md)); `taji_sim`, Taji's simulated account, needs no key, and the [quickstart](https://docs.taji.is/guide/first-session.md) places a first order on it.

## Pick an account

1. Open Accounts (Account › Accounts in the left bar). It lists every linked account of the stage, with one book across them.
2. Read each account's handle: `taji_sim`, `<venue>_paper_<last four>` or `<venue>_live_<last four>`, the last four being the venue's own account number's. A handle always spells its side of the paper and live line.
3. Pick where orders go in the top bar's book chip. Its popover lists Paper, then Live, each with its accounts and, with more than one, Intelligent routing (each order to the account the router picks). Picking an account in the other stage switches the window's stage to it.

Every launch starts on the paper stage. The paper stage holds every account that is not live, `taji_sim` included.

`taji_sim` is a simulated broker inside Taji, made the first time Taji starts, for equities, options, futures and crypto. It keeps its book and journal across restarts, and no order it takes leaves your machine. It refuses a market order on one option contract and a resting equity order on a symbol with no quote stream; a limit order on one option contract fills only where that contract has bars. [Orders](https://docs.taji.is/architecture/orders.md#how-does-taji_sim-fill-an-order) holds its fill rules.

## Place an order

1. Open the ticket: it floats over the chart. Shift+T, pressed anywhere outside a text field, opens it on the focused chart (else the last one focused) on a market buy, and places nothing.
2. Pick buy or sell with the bid and ask halves, the type with the tabs (Market, Limit, Stop, and any other the account offers), and the size. Exits adds a take profit and a stop loss. The line under the halves names the account and stage the order goes to.
3. Press the button.

Staging reaches no venue; only the place does. A place passes the kernel's checks and is written to the account's journal before it goes to the account's venue, which for `taji_sim` is the simulator inside Taji ([Orders](https://docs.taji.is/architecture/orders.md#where-does-an-order-go-before-it-reaches-a-broker)).

Other ways to stage one:

- A staged order draws on the chart; its Buy or Sell chip places it, behind a confirm unless One-click trading is on (Chart settings › Trading; off by default).
- ⇧B and ⇧S stage a market order at the quoted side, ask or bid; with no quote on that side they send nothing and say so. A ladder click stages a limit. With One-click trading on, each places at once.
- Click the chart's price-axis + or right-click the plot to stage a limit or stop there.

Dragging a working order's line to a new price asks to confirm unless One-click trading is on. Orders are tested on paper, sim and demo accounts only.

## Place an order on a live account

1. Pick a live account in the book chip: the window's stage turns Live.
2. Place as above. The ticket sends the order with `live: true`, and the kernel refuses an order whose `live` does not match its account's side of the line.

## Where your stops rest

A stop you send rests at the venue. Taji holds a stop itself, only while Taji runs, in two cases:

- A spread's stop and take, and a bracket's pair the venue does not rest on the entry. The ticket asks before it sends them (`held: true`).
- A plan leg the venue does not rest, which needs `held: true` to arm; the chart tags it "Taji holds".

## Cancel an order

- Chart: the order line's ✕ or its Cancel order cancels at once.
- Book pane: the order's row, Cancel order, which asks to confirm.
- Ladder: an order's ✕, or Cancel all; both ask unless One-click trading is on.

## Read how an order ended

An ended order's Status is the venue's word: Filled, Cancelled, Expired or Rejected, and the Filled column says how much executed. An order the venue ended with part filled by neither word reads Partially filled. A filled order whose fills the venue busts (cancels after the fact) is filled no longer: with part left it reads Partially filled, with none Cancelled, and the notice says it was busted.

## Decide what your agent's orders do

Your own click in Taji's window is never held. An order sent by your agent, or by a script with the wire token, waits for your approval while its account's Agent approvals is on (by default on a live account, off on paper accounts and `taji_sim`), and always when it names no account. So, while approvals are on, does your agent's cancel or disarm that strips an exit over shares you hold. Your agent's reprice or cancel of an order Taji did not place always waits.

1. Open Connections, then the venue's page. Its accounts table has an Agent approvals switch per account and, on a live account, an Auto-route switch (off by default: an order with no account never routes to that account).
2. Turn Agent approvals off, and confirm, to send its orders at once. Only Taji's own window turns them off. While the vault is locked, every venue account reads on.

`taji_sim` has no page in Connections, so the window has no switch for it yet: you turn its approvals on with your own token over the wire, as [Have your agent place a `taji_sim` order](https://docs.taji.is/cookbook/agent-sim-order.md) does, and they then stay on.

The capture below turns `taji_sim`'s approvals on and places a staged order with the wire token, as your agent would. `calls.json` lists the wire requests in order; `{bars.[-1].close}` and `{stage.rev}` stand for values from earlier answers:

```json file="examples/trading/calls.json" title="calls.json"
[
  {"name": "accounts", "method": "GET", "route": "/read/link/accounts"},
  {"name": "approvals_on", "method": "POST", "route": "/verb/link/accounts/taji_sim/approvals", "body": {"on": true}},
  {"name": "bars", "method": "GET", "route": "/get/bars?symbols=equity:SPY&timeframe=D&limit=1"},
  {"name": "stage", "method": "POST", "route": "/verb/trading/taji_sim/draft/stage", "body": {"symbol": "equity:SPY", "side": "buy", "qty": 10, "order_type": "limit", "price": 140, "spot": "{bars.[-1].close}"}},
  {"name": "place", "method": "POST", "route": "/verb/trading/taji_sim/draft/place", "body": {"rev": "{stage.rev}"}, "shot": true}
]
```

![Chart 1 of SPY with a staged 10-share buy limit at 140 on the price scale, the order ticket open on the right, and the approval card over the chart with Decline and Approve](https://raw.githubusercontent.com/TajiAI/Taji/main/docs/guide/examples/trading/shot.png)

1. **`accounts`** is `GET /read/link/accounts`, every account row on this device. On a fresh Taji, `taji_sim` is the one row: `live` false, `approvals` false.
2. **`approvals_on`** is `POST /verb/link/accounts/taji_sim/approvals` with `{on: true}`. Your agent's token is refused it (403 `scope`).
3. **`bars`** reads SPY's last daily bar, whose close is the draft's `spot`.
4. **`stage`** stages a 10-share buy limit at 140 on `taji_sim`. The ticket opens on it and its line draws on the chart, as in the picture; nothing is sent.
5. **`place`** places the draft its `rev` names. With approvals on, the kernel sends nothing: it parks the place and answers 202.

The accounts read:

```json file="examples/trading/accounts.json"
[
  {
    "alias": "sim",
    "allocated_usd": "0",
    "approvals": false,
    "approved": true,
    "arm": "sim",
    "bound": true,
    "brokerage": "sim",
    "classes": [
      "equity",
      "option",
      "future",
      "crypto"
    ],
    "id": "taji_sim",
    "kind": "",
    "linked_at": "2026-12-04T18:32:29.048539Z",
    "live": false,
    "reason": null,
    "record": "",
    "settling": false,
    "state": "bound",
    "tail": ""
  }
]
```

The answer to the place, 202:

```json file="examples/trading/place.json"
{
  "approval": "01a24254-4ad9-763c-8dec-95e036e8f7f5",
  "expires_at": 1796412750,
  "window": false,
  "summary": "SPY · BUY · LIMIT 140.00 · 10 shares · DAY on taji_sim"
}
```

*Captured 2026-12-04 on a headless kernel reading a made-up daily series for SPY.*

The held order is the card in the picture. It sits at the canvas's top centre, or under the conversation's head while the conversation shows: the agent, the order, the account, the held route and draft, why it waits, the minutes left, Decline and Approve. Approve sends it as your agent's, and its checks run then; Decline sends nothing. A card waits an hour in memory; a restart drops it, sending nothing. An account holds five pending; the next is refused.

[Orders](https://docs.taji.is/architecture/orders.md#when-does-an-order-wait-for-your-approval) says why the path is built this way; [Connect your agent](https://docs.taji.is/guide/agent.md#bound-your-agent), what else your agent waits for.

## See your positions as groups

A group is 2 to 4 held equity or option legs of one underlying held together, such as a short iron condor. Its preset names it (`short_iron_condor`); it has its own figures. Your agent reads your groups and edits them (create, update, split, merge); an edit places no order. The window has no groups view yet.

TradeStation keeps its groups, so an edit shows in TradeStation's own platform too. On every other venue Taji keeps them on your machine.

## If it fails

- **409 `live_intent` or `not_live`.** The order and the account disagree about live. Pick the account in the matching stage.
- **409 `not_by_hand`, "Quit Taji and open it again".** The order came from a page other than Taji's own window, and such a page cannot send what its account holds for approval. Quit Taji, open it again and send it from the window.
- **429 `approvals_full`.** Five of the agent's acts already wait on that account. Approve or decline them first.
- **"Not sent: no ask" (or bid).** ⇧B and ⇧S need a quote on their side. Open the ticket with ⇧T and send a limit instead.

## Next

- [Have your agent place a `taji_sim` order](https://docs.taji.is/cookbook/agent-sim-order.md): an agent's order, parked for your approval.
- [Connect your agent](https://docs.taji.is/guide/agent.md): what your agent may do without you, and what waits.
- [Orders](https://docs.taji.is/architecture/orders.md): how the kernel sends, journals and fills an order.
