KerbTape
  1. Docs
  2. The terminal

Order types and algos

Every order type: market, limit, stop, bracket, OCO, chase, stalk, TWAP, scale, iceberg, trailing, grid, pair, carry, conditional, session orders.

On this page

Every order type below can be typed in the command line. Many are also in the ticket's Algo list. Examples are command-line syntax.

Where an order runs#

Held by Hyperliquid (keeps working if you close the tab)Worked by your browser tab (stops when it closes)
Market, limit and post-only orders; stops that trigger on mark; a bracket with one TP; the current level of a trailing stop on mark; grid levels already resting. Chase, stalk, TWAP, scale's placing, iceberg refills, swarm, conditionals, pair and basket legging, session orders, stops on last or oracle, brackets with several TP levels, grid re-placing, carry legging.

After a reload, an algo the tab was working shows as stopped (tab closed). The opt-in automation runner can run some of these on a server instead (the Automation workspace).

Basic orders#

Market#

Fills at once. Sent as an IOC order within 0.5% of the mid unless you set slippage. buy 100 · sell 1000$ nvda slippage 0.3%

Limit#

Rests at your price until it fills or you cancel it. Add post for post-only, ioc to fill now or cancel, reduce for reduce-only. buy 1000$ at -1% · sell 25% at +100 · buy 0.1 best post

Stop and stop-limit#

A stop on your position triggers on the mark price as a native Hyperliquid trigger. trigger makes it a stop-limit (it triggers at one price and places a limit at another). on last or on oracle watches that price in your tab and sends a market order. stop at -1% · stop at 185 trigger 186 · stop at 180 on oracle

If a stop watched in the tab gets no price for 10 seconds it goes blind: its row says so, an alert pins, and a protective exit gets a native fallback (a reduce-only Hyperliquid stop at the same price) until prices return.

Bracket#

An entry with a stop and TP levels attached. With one TP, it's a single Hyperliquid action and Hyperliquid holds both exits. With several, the engine places the stop after each entry fill (up to about 3 seconds later), resizes it as TP levels fill, and pulls the TP orders when the stop fills. buy 5000$ nvda at -0.2% stop 1.5% tp 2% 4%

OCO#

One cancels the other: two orders working together; when one fills, the other is cancelled. The engine supports it and the automation runner accepts it (for example from a TradingView webhook). The command line and the ticket have no OCO entry; a bracket with one TP covers the usual case on a position.

Execution algos#

Chase#

A post-only order at your own side of the book, re-placed as the touch moves (at most every 0.5 s) until it fills. to caps the distance from where it started; aggr crosses at the opposite touch; until removes the cap; timeout sends the rest at market; keep leaves the last order when you cancel. It re-places only after Hyperliquid confirms the previous order is cancelled. chase buy 5000$ to 0.1% · chase sell 50% reduce · chase cancel

Stalk#

Rests a fixed offset (ticks, % or $) away from the touch. maintain keeps the distance both ways; trail only moves toward the market. stalk buy 100 5 ticks trail

TWAP#

TWAP slices the size over a duration: one lot per 30 seconds by default, each at least $10, scheduled by the clock (a throttled background tab catches up, at most 3 lots per slice). Options: jitter on timing, irregular lot sizes, bounds lo hi with what to do outside them (pause, abort, finish, close), and chase to work each lot passively first. twap sell 100000$ into 60 over 30m jitter 20% irregular bounds 180 200 pause

Scale#

Splits the size into 2–100 limit orders between two prices. The first distribution spaces the prices (linear, or cubic to bunch near the first price, icubic near the last, exp/iexp for stronger bunching); a second one shapes the sizes. Every order must be at least $10. scale buy 10000$ into 10 from -0.25% to -1% cubic 0.6

Swarm#

Fires all lots at once as IOC orders; irregular uses random lot sizes. swarm buy 5000$ into 5

Iceberg#

Shows one slice at a limit price and refills it as it fills; variance varies the visible size. iceberg buy 1000 nvda at 186.5 show 50 variance 20%

Trailing stop#

A stop on your position that follows the best price by a distance in % or $. On mark it keeps a native reduce-only Hyperliquid stop and ratchets it, so the last level survives a closed tab. activate arms it at a price. trail 1% · trail nvda 2.5 activate 195

Several markets at once#

Pair#

A long leg and a short leg, sized by ratio (units), beta, or equal notional (the default). The leg with the wider spread is chased (or the one you name with passive); each passive fill is hedged with an IOC on the other leg once the hedge is at least $10. If the hedge fails both legs are unwound at market, unless you write nounwind. market sends both legs at once. Pairs always open the confirm sheet. pair long skhx short skhy 10000$ ratio 1:10

Basket#

Several long and short legs from one notional, split by weight; with market, any leg that fails unwinds the ones that filled. basket 30000$ long mu sndk short smh 2 chase

Carry#

Long spot and short perp on the same asset (or two perps with vs). The first leg goes at market; the second is chased up to 0.3% for 30 seconds by default, then one IOC for the rest; a shortfall unwinds the first leg's excess. The preview shows the funding rate now, over 7 and 30 days, the basis, the round-trip cost and the break-even days, as data, not a forecast. A spot leg spends USDC from your spot balance. carry hype 5000$ · carry close hype

Grid#

Post-only orders on N levels between two prices; each fill places the opposite order one level away. A long-then-short pair of fills (or the reverse) is one cycle, shown with its P&L after fees. stop and tp outside the range end the grid and close its own size; max N cycles ends it after N. On HIP-3 markets, levels outside today's price band wait until the band covers them, and nothing new is sent while the market is closed. Also in the ticket column as the Grid ticket. grid btc 95000-105000 20 levels 50$ each · grid cancel btc

Conditions and sessions#

Conditional#

Runs an order when up to 5 conditions hold, joined by and or or: a price, a ratio of two markets, a candle close, a time of day, or a session event. within sets an expiry. if nvda > 200 and time > 14:30et then buy 10 nvda · if nvda reopens then twap buy 50 nvda over 20m

Session orders#

  • At reopen: fires when real pricing resumes for that market. buy 10 skhx at reopen (refused on a 24/7 market).
  • Flatten before: closes positions at market a set number of minutes before their own market reopens or closes (15 minutes and all positions by default). flatten before reopen 15m
  • TWAP around the US cash open: twap buy 20000$ nvda over 30m around cash open, or at cash open -10m to start before it.
  • Cancel on session change: buy 10 at 195 cos cancels the order when the market's session state changes.

Copying a public move#

mirror and opposite place your own order, at your own size, on the market a public address just traded. See Mirror and Opposite.

Updated . These pages describe what the product does. They are not investment advice and say nothing about where any price goes next.