TRADE — Order Book & Orders
Read the on-chain order book, place orders, and manage open orders, positions, and fills from a single page.
TRADE is the main trading workspace. The chart, order book, order panel, and bottom-tab management area share state, so changes in one surface (selecting a symbol, dragging a price line, editing TP / SL) are reflected in the others.
Layout
┌───────────────────────────────────────────────┐
│ [ TRADE ] [ ORDERS / POS. ] │ ← two tabs
├───────────────────────────────────────────────┤
│ TRADE tab │ ORDERS / POS. tab │
│ ─────────── │ ─────────────── │
│ CHART │ [ EQUITY strip ] │
│ ORDER BOOK │ POSITIONS │
│ ORDER PANEL │ OPEN ORDERS │
│ (one scrolling │ RECENT FILLS │
│ column) │ (stacked sections) │
└───────────────────────────────────────────────┘
- Chart — TradingView Advanced Charts wired to the on-chain market datafeed.
- Order book — bids and asks streamed over WebSocket.
- Order panel — the surface that builds and signs orders.
- Equity strip — a compact card at the top of the bottom area with Total Equity, Withdrawable, and Unrealized PnL, so you don't have to leave TRADE to glance at your balance.
- ORDERS / POS. sections — the equity strip, positions, open orders, and recent fills for the selected market and account, stacked as scrolling sections.
The page is split into two tabs that are always present — TRADE (chart, order book, and order panel) and ORDERS / POS. (the equity strip with positions, open orders, and recent fills) — so each fills the viewport in turn.
First-time trading setup
The first time you submit an order from TRADE, VibeTrade walks you through a one-time Trading Authorization dialog. You can also start it from the user menu by tapping Enable Trading, or from CONSOLE.
The dialog has up to three steps, shown by a progress bar at the top of the modal.
- Referral Registration (only when your wallet has no referrer yet) — links your wallet to the VibeTrade referral and applies a discounted Hyperliquid fee tier. Confirming creates a permanent referral relationship for this wallet, so set it carefully. If your wallet is already linked to another referrer, this step is skipped and standard fees apply.
- Trading Authorization — your wallet signs an EIP-712 message that approves a per-device trading session and caps the per-execution fee. The authorization stays valid for an extended period; you'll be prompted to re-authorize when it expires or after a network switch.
- Setup Complete — confirms you're ready to trade.
If your wallet is on the wrong network, VibeTrade asks it to switch to Arbitrum (or Arbitrum Sepolia on testnet) before the signature. If switching fails, the dialog shows Please switch to the Arbitrum network in your wallet and retry, and a Retry button reattempts the step.
If you cancel a signature, the dialog offers to retry without losing your progress. The trading session signs orders and account-management actions on your behalf — it cannot withdraw funds.
Order book
The order book streams bid and ask levels in real time. Each row shows the price, the resting size at that level, and a cumulative depth bar that helps you eyeball where liquidity is concentrated.
Quick popover
Click a price level to open a quick popover that pre-fills the order panel:
- The clicked price is loaded into the Price field.
- The side (Buy / Sell) is set from which side of the book you clicked.
This is a quick way to post a limit order at a specific level.
Tick-size dial
Use the tick-size widget at the top of the order book to coarsen or fine-tune the price aggregation. Swipe vertically to step through the available tick sizes for the market.
Depth dial
The depth widget controls how many levels are visible. Swipe horizontally to step through preset depths.
Order panel
The order panel builds and submits an order. It signs locally with the trading session for your wallet and submits the action on-chain directly.
Side and type
| Control | Values |
|---|---|
| Side | Buy / Sell |
| Type | Market / Limit / Stop |
The type isn't a separate dropdown — VibeTrade infers it from the Price field:
- Keep the price aligned with the mid for a Market order.
- Set it to rest behind the touch for a Limit.
- Set it beyond the touch in the trigger direction for a Stop.
The resolved type is shown on the action button itself — the button reads the side and resolved kind on two lines (for example, BUY / LIMIT) — so there is no surprise at submit time.
Inputs
| Input | Notes |
|---|---|
| Size | Quantity in base units (for example, 0.01 BTC). The digit-swipe input lets you nudge precision left or right while preserving the value. A size slider above the field lets you size by a percentage of your available margin. |
| Price | Limit / trigger price. The same field doubles as the type selector — see above. |
| Reduce-only | Restrict the order to reducing an existing position. Cannot open new exposure. |
| TIF | Time-in-force for limit orders. See the table below. |
Near the Size field the panel shows Before: and After: balance lines, so you can see your balance before and after the order at a glance.
Time-in-force (TIF)
TIF is set with a horizontal swipe dial that cycles through three values.
| Value | Behavior |
|---|---|
| GTC | Good-til-canceled. Rests in the book until filled or canceled. (default) |
| IOC | Immediate-or-cancel. Fills what it can right away and cancels the rest. |
| ALO | Add-liquidity-only (post-only). Rejects if it would cross the book. |
Leverage and margin mode (perps)
For perpetual markets, the panel exposes a horizontal leverage dial and a margin-mode dial.
| Control | Values |
|---|---|
| Leverage | A discrete preset list constrained to the market's max leverage (commonly 1×, 3×, 5×, 10×, 20×, 50×, with the maximum always present). Swipe to step between presets. |
| Margin mode | Cross / Isolated. |
| Mode | Definition |
|---|---|
| Cross | Maintenance margin is evaluated against the entire perp account. Available account value supports all positions jointly. |
| Isolated | The position is collateralized by an isolated allocation. Maintenance margin is evaluated only against that allocation; other positions are unaffected. |
Changes to leverage or margin mode are sent on-chain before the order is signed, so the order is placed with the requested settings.
Submitting
The action button at the right of the panel reads BUY or SELL depending on side. Pressing it:
- Synchronizes leverage and margin mode if they changed.
- Signs the order with the active trading session.
- Submits the action on-chain.
Always verify the resolved type shown on the action button matches your intent before submitting. Until your Trading Authorization is complete, the action button stays disabled — see First-time trading setup.
Order acknowledgements arrive over WebSocket and update the bottom tabs immediately.
Order types
| Type | Behavior |
|---|---|
| Market | Submitted as an aggressive IOC limit at a price that crosses the book, so it fills against the best available liquidity. |
| Limit | Rests in the book at your price with the chosen TIF. |
| Stop | Triggers a market order when the mark price crosses your trigger price. The trigger direction is selected based on side and current mark. |
Position-level Take Profit and Stop Loss that travel with an existing position are configured from the Positions tab (see below).
Market and Stop orders execute immediately once their trigger is hit — once filled, they can't be undone. Limit orders rest in the book and can be canceled until they fill.
Open Orders tab
Each row shows a card for one resting order.
| Field | Description |
|---|---|
| Symbol | Coin or pair. |
| Side | Buy / Sell. |
| Type | The order kind — Market, Limit, Stop, or Stop-limit. |
| Price | Limit price, or trigger price for stop / trigger variants. |
| Size | Remaining size. |
| TIF | GTC / IOC / ALO. |
| Timestamps | When the order was placed and last modified. |
Inline edit
Open the card to edit price and size with the digit-swipe inputs. The chart price line for that order moves with the dial; the dial moves when you drag the line on the chart. Submit to send a modify action on-chain.
You can also attach or edit a Take-Profit and Stop-Loss for an open order from the same expanded view. The same chart-line sync applies to those values, and they stay separate from any position-level TP / SL.
Cancel single
Each card has a cancel control with a slide-to-confirm gesture. The slide prevents accidental cancellation.
Cancel All
The Cancel All action above the list cancels every order currently visible under the active filter (Active, or SL/TP). Slide to confirm; the result is reported as a single summary toast — Canceled N order(s) on success, or a one-line failure message.
Positions tab
Each row is a card for one open position.
| Field | Description |
|---|---|
| Symbol | Coin. |
| Side | Long / Short. |
| Leverage | Effective leverage. |
| Entry | Average entry price. |
| Mark | Current mark price. |
| Liquidation | Estimated liquidation price at the current mark. It moves as the mark moves. |
| Size | Position size in base units. |
| Unrealized PnL | Mark-to-market gain or loss on this position, with sign. |
| Timestamps | Open time and last update. |
Liquidation warning
When a position is within roughly 5 % of its liquidation price, a ⚠ Liq X.X% badge appears on the card. Hover for the exact distance.
Inline TP / SL
Expand a position card to set a Take Profit and Stop Loss with the digit-swipe inputs.
- The values are clamped against the current mark price so a TP / SL cannot be entered into the immediate-trigger zone.
- Quick presets nudge the level by a small percentage from the entry.
- The chart shows the TP and SL as dashed lines. Drag the line to update the dial; change the dial to move the line. The two are kept in sync.
- Position TP / SL stay separate from any TP / SL attached to a pending open order.
Add / remove margin (Isolated)
For isolated positions, an extra row above TP / SL lets you increase or decrease the isolated margin allocation. Cross positions do not show this row.
Partial close
A slider with 25 / 50 / 75 / 100 % presets sizes a reduce-only IOC market order against the position. Slide to confirm.
Close All
The Close All action at the top of the list closes every open position for the active address with one tap-to-arm and a follow-up confirm.
Positions appear in the order Hyperliquid returns them.
Recent Fills section
Recent fills for the selected market and account, newest first. They appear as a Recent Fills section inside the ORDERS / POS. tab (there is no separate FILLS tab); each card is labelled Executed.
| Field | Description |
|---|---|
| Symbol | Coin or pair. |
| Side | Buy / Sell. |
| Price | Fill price. |
| Size | Fill size. |
| Time | Fill time. |
When a new fill arrives, the card pulses briefly so it's easy to see which row is new.
Chart
The chart is TradingView Advanced Charts wired to the on-chain market datafeed, and it shares state with the order panel and the Positions / Open Orders cards.
- Selecting a symbol in WATCH switches the chart, the order book, and the order panel together.
- Dragging an entry, TP, or SL price line on the chart updates the matching dial in the panel or card; editing the dial moves the line.
- Position lines (Entry / SL / TP) and pending-order lines are tagged separately so dragging one doesn't affect the other.
- For perpetual markets, the chart header shows a funding badge — the next funding countdown and rate.
- Chart layout isn't saved between sessions: indicators and drawings clear on reload, and the chart reopens on the WATCH symbol at the 1H timeframe.
Tips
- For a first order on a new market, post a small Limit ALO away from the touch — it rests in the book without crossing and is easy to cancel.
- Slide gestures on Cancel and Close are deliberate; if you slide too short the action doesn't fire.
- Set leverage conservatively before you submit; you can dial it down at any time, but a higher setting raises liquidation risk.
- Use the Recent Fills pulse to confirm a fill landed before reacting on the chart.
Coming soon
The following are under development. They are not available in the current build.
- OCO attachment that pairs a TP and SL to a parent entry order.
- Scale orders that distribute multiple resting orders across a price range.
- TWAP, Chase, and Swarm execution profiles.
- Copy and Counter trading.