Skip to content
Solana
TRADINGIn reel-vaultsTrade

Limit orders

Escrow a trade with a price limit; anyone fills it once the pool pays the limit.

Where it runs

Trading

Something a trader uses, not the pool's creator.

Status on reel

In reel-vaults

Live in reel-vaults on Solana mainnet (the `orders` module).

Set by

The trader

Trade · Live

What it does

A trader escrows a trade and a tip. Once the pool pays at least the limit after every fee, anyone can fill the whole order and take the tip. The trader can cancel any time for a full refund.

How it works on reel

reel-vaults' orders module: an order escrows one exact-in reel swap with a minimum output, a lifetime of 60 s to 365 days and a lamport bounty of up to 0.01 SOL. Any keeper or agent fills the whole escrow through reel's Swap once the pool pays the limit, and takes the bounty; the output goes straight to the recipient, and the owner can cancel for a full refund.

Settings

No settings of its own.

Fees and who's paid

Paid to

Whoever fills the order, from its bounty.

Protocol share

reel takes no share of it.

Requires and can't be combined with

Requires

No other block.

Can't be combined with

Nothing: it sits beside any block.

Worked example

Escrow 1 SOL to buy at most 0.00001 SOL per token with a 0.001 SOL bounty; when the price dips, a keeper fills it and takes the bounty.

Solana notes

It works as on hookr; amounts are in SOL or the pool's quote, and times in seconds.

On hookr: Trade · Live

Other blocks in Pools and trading