> For the complete documentation index, see [llms.txt](https://docs.anchored.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anchored.finance/trading-api/trading/overview.md).

# Overview

Before placing orders, review the trader integration playbook in [getting-started/trader-questions.md](/trading-api/getting-started/trader-questions.md): tradable symbol, correct balance type, execution mode, and status tracking path.

## Order types

| Type        | Side            | Required fields                    |
| ----------- | --------------- | ---------------------------------- |
| Market buy  | `Buy`           | `notional`                         |
| Market sell | `Sell`          | `quantity`                         |
| Limit       | `Buy` or `Sell` | `quantity`, `price`, `timeInForce` |

All orders require `stockAddress` (from [symbols list](/trading-api/market-data/symbols-and-tradability.md)) and `deadline` (Unix seconds, ≤ `4294967295`).

> Use **strings** for `quantity`, `notional`, and `price` to avoid JS precision loss.

## Execution modes

| Mode        | Place order             | Cancel limit                        | Record tx         |
| ----------- | ----------------------- | ----------------------------------- | ----------------- |
| Self-submit | `POST /orders/calldata` | `DELETE /orders/{orderId}/calldata` | `POST /orders/tx` |
| One Click   | `POST /orders/send`     | `DELETE /orders/{orderId}/send`     | Auto-recorded     |

One Click requires enabled delegation — see [one-click-delegated.md](/trading-api/trading/one-click-delegated.md) and [guides/one-click-flow.md](/trading-api/guides/one-click-flow.md).

## Typical flow

1. Check [portfolio](/trading-api/portfolio/overview.md) for buying power and holdings.
2. Get quote from [market](/trading-api/market-data/quotes-and-history.md) if needed.
3. Build or send order — [place-and-cancel-orders.md](/trading-api/trading/place-and-cancel-orders.md).
4. Track status — [order-status-and-history.md](/trading-api/trading/order-status-and-history.md).

Self-submit sequence: see [guides/self-submit-on-chain.md](/trading-api/guides/self-submit-on-chain.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 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://docs.anchored.finance/trading-api/trading/overview.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.
