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

# Placing & Managing Orders

### Placing an Order

You choose:

* **Market** — BTC (testnet).
* **Direction** — Long or Short.
* **Target price** — between **0.5% and 5%** away from the current mark price.
* **Leverage** — **1× to 20×**.
* **Deposit** — your locked margin, minimum **\$10**. This is drawn from your Pacifica trading balance.

Your order's notional is set by your deposit and leverage:

```
notional      = deposit × leverage
position size = notional / target price
```

There's no in-place edit once an order is live. To change your target or leverage, cancel the order and place a new one.

### Cancelling & Withdrawing

Cancelling a Print order sends an "end" request, but the order **stays active until the end of the current 24-hour block.** At that checkpoint it resolves one last time: it either fills (if the market reached your target) or returns your deposit to you. Either way, you still earn that block's payout — cancelling never forfeits yield already in progress.

When an order fills, closes, or is cancelled, your funds — the deposit plus earned yield, or the position it opened — return to your main Pacifica trading balance. Each Print order is its own margin bucket, separate from your other balances until it resolves.
