How It Works
Set Your Order
Choose a market, set your margin, leverage (up to 10x), direction (Long/Short), and a target price.
| Component | Amount |
|---|---|
| Your margin | $1,000 |
| Borrowed from vault | $4,000 |
| Total position size | $5,000 |
| Opening fee | $15 (1.5% of margin) |
| Total capital locked | $5,015 |
Partial Fills
Limit orders support partial fills. Your position doesn’t need to fill all at once.- Each fill proportionally allocates margin and borrowed capital to the position
- Entry price is the weighted average across all fills
- The position is tradeable (can close, can be liquidated) after the first fill
- Multiple fills accumulate into a single position
| Fill | Amount | Price |
|---|---|---|
| First fill | $3,000 (60%) | $0.45 |
| Second fill | $2,000 (40%) | $0.43 |
| Weighted entry price | ~$0.442 |
Your position is fully tradeable after the first fill. You can close it, and it can be liquidated, just like any market order position.
Cancellation & Expiry
Orders can be cancelled at any time. Orders can also have an expiry timestamp (GTD, Good Till Date). When a limit order is cancelled or expires:Filled Portion
Remains as a normal open position. You can close it, let it run, or it will auto-close at the market close date.
Unfilled Portion
Capital is refunded proportionally. Vault gets back its borrowed share, trader gets back margin + proportional fee refund.
| Component | Filled (60%) | Refunded (40%) |
|---|---|---|
| Margin | $600 allocated to position | $400 returned to trader |
| Borrowed | $2,400 allocated to position | $1,600 returned to vault |
| Open fee | $9 consumed | $6 refunded to trader |
Limit Close Orders
Open positions can also be closed via limit orders on the CLOB, not just market orders.- You set a target sell price, and the order rests on the CLOB
- Each sell fill is a self-contained mini-settlement: shares, margin, and borrowed capital are proportionally reduced, and USDC is distributed immediately
- Partial close fills reduce the position incrementally
- The position fully closes when all shares are sold
Limit close orders give you price control when exiting. Instead of selling at whatever the current market offers, you set the price you want and wait for it.
Market Orders vs Limit Orders
| Market Order | Limit Order | |
|---|---|---|
| Execution | Immediate at current price | Rests on CLOB until target price is hit |
| Open fee | 0.5% of margin | 1.5% of margin |
| Fills | Single fill | Partial fills supported |
| Cancellation | Can cancel before execution | Can cancel anytime; unfilled portion refunded |
| Entry price | Single fill price | Weighted average across fills |
| Capital | Locked only during execution | Locked until filled, cancelled, or expired |

