Guides

Market maker

You need: a trading key on one DEX: Lighter RH, Bulk, Arcus, RISEx, Nado, Entropy or QFEX.

What it does

It keeps a limit buy just under the price and a limit sell just over it, and moves them as the book moves. When both fill, it has bought low and sold high by the spread. Its volume is almost all maker volume, which costs the least in fees.

Unlike the other bots it is not hedged. Between fills it holds a position, so price moves count. The settings below keep that position small.

Settings

  • DEX and market: one market on one DEX.
  • Money: margin and leverage, and from them the size of each quote and the most it may hold (max inventory).
  • Style: Careful and Balanced quote a little away from the price; Volume joins the best bid and ask for the most fills.
  • Advanced: spread, how hard it leans against its position, a loss stop, a cost cap, and whether stock markets wait for US hours.

How it keeps the position small

  • The more it holds, the further it moves the quote that would add to it and the closer the one that would reduce it.
  • Past 1.25 times max inventory it sells (or buys) back to the limit at market.
  • A position held longer than the time you set (30 minutes by default) is closed.
  • It learns: every 10 fills it checks how the price moved after them and widens or tightens its spread.
  • Five errors in a row pause it and pull its orders. Stopping it closes what it holds.
DZERO

Perpetual futures are risky. A hedge removes most price risk, not all of it: orders can fill unevenly, DEXs can go down and funding can turn against you. Rates shown are past readings, not a promise. Nothing here is financial advice.