perpilot:~/keepers

A keeper runs the rules whose condition holds (stop-losses, take-profits, entries, recurring openings) and liquidates the positions that fell under their maintenance margin. Anyone can run one and earn the keeper fee on every rule it runs and the liquidation fee, without ever holding anybody's money: the vault and the engine check everything again by themselves.

Rule run
0.01%
of the size it trades
Liquidation
0.5%
of the size, out of the margin
You need
a little HYPE
for gas, nothing else
Permission
none
no sign-up, no stake
How it happens

Watch, check, send.

01

Watch

Every rule and every position is public. Your keeper reads them and the oracle prices, which follow Hyperliquid's mark price.

02

Check

A rule can run when its price level is reached and the vault's limits leave room. A position can be liquidated when its value is under its maintenance margin.

03

Send

Call run(id) on the vault or liquidate(vault, market) on the engine. The first keeper to land it gets the fee.

A call that does not hold (price not reached, healthy position, price too old) simply fails and nobody is paid. Run a keeper: the guide →