> For the complete documentation index, see [llms.txt](https://docs.sidepit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sidepit.com/use-sidepit/beta/trading/buy-sell-cancel.md).

# Buy, Sell, and Cancel

Place and reconcile orders in the Sidepit web app.

## Place an order

1. Open [app.sidepit.com](https://app.sidepit.com) and connect the correct full Sidepit ID.
2. Confirm that the exchange is open and the displayed dated ticker is the product you intend to trade.
3. Choose **Buy** or **Sell** after reviewing the USDBTC exposure direction.
4. Choose **Limit** or **Market**.
5. Enter a positive whole number of contracts. For a limit order, also enter a positive integer price in sats per USD.
6. Review the USD exposure, current position, available margin, and execution fee before signing.
7. Confirm the signature in UniSat.

<figure><img src="https://954013533-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IyfR8sDr4geAO23BULo%2Fuploads%2Fgit-blob-a6efed5fb63fc8d043afaa775ad56208a850ded0%2Fplaceholder-order-entry.svg?alt=media" alt="Placeholder for the production Buy and Sell, Limit and Market order-entry controls"><figcaption><p>Screenshot slot: show the active ticker, Buy/Sell, Limit/Market, price, size, and final order button.</p></figcaption></figure>

Every filled contract costs 125 sats per side per execution. The engine deducts the execution fee whether the order was limit or market.

## Resolve the result

An accepted submission enters the next DLOB one-second deterministic auction. It is not a fill confirmation.

* A limit order may fill, partially fill and rest, or remain open.
* A market order may be `FILLED`, `PARTIAL FILL` with its remainder canceled, or `CANCELED` with no fill.
* A rejected order carries a named `RC_*` code.

Use the orders, fills, and rejection views to resolve the complete public order ID. Never repeat an order merely because the result was not immediate.

## Cancel

Cancel targets a complete open order ID. A cancel is also queued for an auction; verify the resulting order and position state before placing a replacement.

`RC_CDUP` or `RC_CREJ` can mean the target was already filled, canceled, or otherwise gone. Treat the account's published position and open-order state as truth.

## Agents

The official agent workflow adds a durable preview and exact confirmation boundary. See [`skills/sidepit-trade/SKILL.md`](https://github.com/sidepit/Public-API/blob/main/skills/sidepit-trade/SKILL.md). A customer-facing agent should never choose financial exposure or send an order without the human confirming that exact preview.


---

# 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.sidepit.com/use-sidepit/beta/trading/buy-sell-cancel.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.
