Skip to main content

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 Action Area showing the ORDER BOOK tab, market shortcuts, depth, and buy or sell controls

The focused TRADE Action Area keeps the active market, order-book depth, and order-entry controls in one scrolling column. Switch to ORDERS/POS. for account management.

  • 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 — ORDER BOOK (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.


Header controls​

The two header buttons change with the active tab.

ORDER BOOK tab

  • Left — Auto-Protect: a toggle that automatically attaches your chosen Stop-Loss and Take-Profit to eligible new main-DEX perp positions. Tapping it opens a sheet to enable each leg and set its percent; the icon fills red / green when a leg is active and shows an amber dot when neither is set. Market fills apply immediately, and resting limit fills are detected only while TRADE remains open on this menu. Existing positions, same-side scale-ins, builder-DEX markets, and spot markets are excluded.
  • Right — Center lock: pins the order book so the mid / spread row stays centered as levels stream. Disabled when the book already fits without scrolling.

ORDERS/POS. tab (a connected wallet is required)

  • Left — Bulk Manage: enters a selection mode for acting on several positions or orders at once. Smart-selection chips (All, No/partial SL, In Loss, In Profit, Liq ≤5%, Stale >24h, Far ≥3%, Not RO) build the selection, and an action bar applies Cancel, Reduce, Close, or SL / TP — anything destructive uses a slide-to-confirm.
  • Right — Risk Guard: opens a read-only risk dashboard — a maintenance-margin gauge, the worst-case loss if every stop hits, long / short exposure, a liquidation ladder, funding-bleed, and a stress-test slider — plus a Dead man's switch to schedule a server-side cancel-all. The shield shows a red dot when action is needed and an amber dot for attention.

First-time trading setup​

Before trading, use Enable Trading in the user menu to approve the per-device agent wallet. The agent signs orders and account-management actions but cannot withdraw or send funds.

The first order can then open a separate Trading Authorization dialog for the builder-fee cap:

  1. Trading Authorization — your master wallet signs an EIP-712 message that caps the per-execution builder fee. The dialog displays the cap before you sign, and the authorization remains valid for 90 days.
  2. Setup Complete — close the dialog and submit the order again.

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. Switching network requires network-specific agent and builder approvals.


Market header shortcuts​

The market header keeps symbol selection and related analysis within reach:

  • Tap the current symbol to choose another market.
  • Chart restores the selected market's chart in the View Area.
  • Order Flow opens the same market's symbol detail and live flow analysis.
  • Trader Positioning opens positioning for the same perp or builder-DEX market. It is disabled for spot markets because spot has no perp-position or liquidation cohort.
  • Recent Trades replaces the depth rows with the live trade tape for the selected market; tap it again to return to the order book.

These shortcuts change the View Area without leaving the TRADE action menu, so the order-entry context remains available.


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​

ControlValues
SideBuy / Sell
TypeMarket / 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​

InputNotes
SizeQuantity 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.
PriceLimit / trigger price. The same field doubles as the type selector — see above.
Reduce-onlyRestrict the order to reducing an existing position. Cannot open new exposure.
TIFTime-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.

ValueBehavior
GTCGood-til-canceled. Rests in the book until filled or canceled. (default)
IOCImmediate-or-cancel. Fills what it can right away and cancels the rest.
ALOAdd-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.

ControlValues
LeverageA 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 modeCross / Isolated.
ModeDefinition
CrossMaintenance margin is evaluated against the entire perp account. Available account value supports all positions jointly.
IsolatedThe 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:

  1. Synchronizes leverage and margin mode if they changed.
  2. Signs the order with the active trading session.
  3. 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​

TypeBehavior
MarketSubmitted as an aggressive IOC limit at a price that crosses the book, so it fills against the best available liquidity.
LimitRests in the book at your price with the chosen TIF.
StopTriggers 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.

FieldDescription
SymbolCoin or pair.
SideBuy / Sell.
TypeThe order kind — Market, Limit, Stop, or Stop-limit.
PriceLimit price, or trigger price for stop / trigger variants.
SizeRemaining size.
TIFGTC / IOC / ALO.
TimestampsWhen 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.

FieldDescription
SymbolCoin.
SideLong / Short.
LeverageEffective leverage.
EntryAverage entry price.
MarkCurrent mark price.
LiquidationEstimated liquidation price at the current mark. It moves as the mark moves.
SizePosition size in base units.
Unrealized PnLMark-to-market gain or loss on this position, with sign.
TimestampsOpen 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.

FieldDescription
SymbolCoin or pair.
SideBuy / Sell.
PriceFill price.
SizeFill size.
TimeFill 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.
  • Each exchange + symbol + chart mode keeps its chart layout in this browser. Indicators, their inputs and colors, drawings, and the active interval are restored when that chart is opened again.
  • Use CONSOLE → SHARE → Chart Setup to package up to eight saved symbol setups into a link. The 2 KB link limit can reduce how many setups fit at once.

For persistence, import behavior, and view-only share links, see Chart & Sharing.


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.