Trade Entry Widget
The Trade Entry widget is your primary interface for placing perp orders. It supports seven order modes, adjustable leverage, attached TP/SL, and (on venues that expose it) cross/isolated margin — across every connected exchange.
Features
- Seven order modes — Limit, Market, Stop Loss, Take Profit, TWAP, Scale, Chase
- Leverage control — slider / input / presets, plus auto-leverage modes
- Attached TP/SL — bracket a Limit/Market entry with take-profit and stop-loss in one click
- Size presets — 25% / 50% / 75% / 100% of buying power
- USDT / base toggle — enter size in quote notional or the base asset
- Reduce-only / post-only and time-in-force selection
- Real-time validation against each symbol's exchange rules
Order Modes
Pick a mode from the mode selector. The Buy/Long and Sell/Short buttons submit in the active mode.
| Mode | What it does |
|---|---|
| Limit | Rests at your price or better. Defaults the price to current market. |
| Market | Fills immediately at the best available price. |
| Stop Loss | Reduce-only stop-market that triggers at your stop price. |
| Take Profit | Reduce-only take-profit-market that triggers at your target. |
| TWAP | Slices a parent order into timed child orders (size-per-interval, interval, optional max size / duration / price limit, maker-only). |
| Scale | Places a ladder of limit orders (total size, order count, % spacing, optional start price). |
| Chase | Follows the book with a repricing limit order (peg, interval, optional price limit / max offset / max runtime, reduce-only). |
TWAP, Scale, and Chase are managed client-side algo engines. Running Chase orders appear under Algos in the Open Orders widget; a running TWAP shows its progress inline.
Attached TP/SL (bracket orders)
On a Limit or Market entry you can attach a take-profit and/or stop-loss. When the entry is placed, the widget submits the matching reduce-only TAKE_PROFIT_MARKET / STOP_MARKET orders on the opposite side in parallel.
Leverage
Adjust leverage with the slider, the input field, or a preset (1, 2, 3, 5, 10, 15, 20, 25, 50, 75, 100, 125, 150, 200 — filtered to the symbol's max):
- Range: 1x to the symbol's maximum (varies by symbol and exchange)
- Default: your saved
defaultLeverage(20x if unset) - Changing leverage calls the exchange's set-leverage endpoint (debounced)
Auto-Leverage
Cycle the auto-leverage mode (persisted in settings):
- Off — you set leverage manually
- Max — always uses the symbol's maximum leverage
- Risk — sizes leverage from your risk-per-trade % and stop-loss % so a stop costs a fixed fraction of balance
Higher leverage increases liquidation risk. Always use appropriate risk management.
Margin Mode
On venues that expose it (currently Binance), a Cross / Isolated toggle appears. The exchange rejects a mode change while you have an open position or open orders on that symbol; the widget surfaces the error and reverts.
Size Entry
USDT Mode (Default)
Enter the notional value in USDT — e.g. 100 USDT of BTC. The widget converts to base quantity at the order price.
Base Asset Mode
Toggle to enter size directly in the base asset — e.g. 0.01 BTC.
Size Presets
25% / 50% / 75% / 100% set size from your buying power (available balance × leverage, capped by your max-notional risk limit).
Time-in-Force & Flags
For limit orders you can choose GTC / IOC / FOK / GTX and toggle Reduce Only and Post Only (post-only maps to GTX).
Order Validation
Orders are validated against each symbol's rules before the buttons enable:
- Minimum / step size — quantity must meet the exchange lot rules
- Min notional — order value must clear the minimum
- Price precision — price rounds to the tick size
- Max notional — blocked above your configured risk limit
- Fat-finger guard — a limit price too far from market is rejected
- Available balance — sufficient margin required
If validation fails, the Buy/Sell buttons are disabled with an inline error.
Closing From Trade Entry
When you hold a position on the active symbol, quick close-by-percent controls place a reduce-only market order for that fraction of the position.
Symbol Selection
Click the symbol in the header to change the trading pair:
- Search for a symbol
- Select from the list
- The widget reloads that symbol's rules, leverage, and margin mode
Keyboard
Press Enter while focused in the widget to submit the current side/mode.
Margin Information
The widget shows margin required, available balance, and the max quantity at the current leverage, updating live with market data.
On Hyperliquid, the first order in a session opens a one-time builder-fee approval before it's placed. See Hyperliquid for the fee ladder.