Skip to content
Leverage can liquidate a position. Paper results are not a forecast. These pages describe what the app does today.
Docs07
Browse the docs

Order types

Five order types, a reduce-only flag, and stop and target triggers on every position. Each behaves the same way every time, and the rules below are the ones the engine runs.

On this page

The order types#

TypeBehaviorFee role
MarketFills at once at the guarded mark, up to the paper liquidity cap per order.Taker
LimitA buy limit at or above the mark, or a sell limit at or below it, fills now as a taker. Otherwise it rests and fills when the mark reaches the limit, at the limit price.Taker if it fills now, maker if it rests
Post-onlyRests or is rejected. If it would cross the mark it is refused, so it can never pay the taker fee.Maker
IOCImmediate or cancel. Fills what it can now, cancels the rest. A limit away from the mark cancels with nothing filled.Taker
FOKFill or kill. Fills in full now or does nothing. It is refused when the size exceeds the paper liquidity cap or the limit is not marketable.Taker
Reduce-onlyA flag. The order may only shrink a position on the other side, and is clipped to its size. It can never open or flip.As its type

The paper liquidity cap is 50,000 USD per order. It is what makes IOC and FOK differ from market and limit in paper: a bigger order fills 50,000 USD, and its remainder is cancelled for IOC and market or rests for a limit. FOK refuses it.

Resting orders#

A resting order reserves its margin and maker fee, so a second order cannot spend the same collateral. You can hold up to twelve. Cancel one, or all, at any time. A resting order fills when the mark, or the one-minute low or high since the last check, touches its limit. It fills at the limit price. It does not fill while the emergency stop or the trading halt is on.

What a refusal looks like#

Messages from the engine
Post-only: this order would cross the mark, so it was rejected.
FOK: not enough paper liquidity to fill the whole size. Nothing was filled.
IOC: the limit is not marketable, nothing filled.
Reduce-only: there is no position to reduce on this side.
Twelve resting orders is the limit. Cancel one first.
The price is stale. Nothing was filled.

Stop-loss and take-profit#

Every new position carries a stop-loss, and optionally a target. You set them at the ticket as percentages. On an open position you can move them as prices. The engine checks that a stop sits on the losing side of the mark and inside the liquidation price, and that a target sits on the winning side.

CaseRule
Mark crosses a triggerThe position is closed with a reduce-only order. The fill is at the trigger price, or at the mark when the price gapped past it.
A wick between checksThe next check replays the one-minute low and high since the last one. A wick that touched a stop counts, even if the mark has come back.
Stop and target in the same minuteThe stop wins. A target only counts when no stop or liquidation was touched.
Stop and liquidation in the same minuteThe one nearer to the entry fires first.
Stale priceNothing fires on a market whose price is stale or unusable.
Position closedIts reduce-only resting orders are cancelled with it.

Order flow#

Ordertype · size · leverageGuarded markfresh and usable?Type rulescross? depth? reduce?Collateralmargin + fee fits?Filltaker at the markRestingmaker at the limitRefusednothing changesClockfunding · stops · liq.okfar limitreject
Every order passes the same four gates. After a fill, each check of the book runs funding, stops, targets, liquidation and resting orders in that order.

A note on the live path#

The types above describe the paper engine. The gated live adapter is simpler on purpose: it sends a single market IOC order whose price is the venue mark plus your slippage cap. It does not place resting orders or exchange-side triggers.

Elize Bot is not affiliated with or endorsed by Hyperliquid, Elysium, Kinetiq or Montra. Names are used only to say which venue or chain a feature talks to. Leveraged positions can be liquidated, and a paper result is not a forecast of a real one.