How a grid trading bot actually works

A grid bot divides a price range into levels and places an order at each one, buying as price falls through them and selling as it rises back. It profits from movement inside a range rather than from a directional call — which is why it needs no forecast, and why it fails in a way worth understanding before you run one.

6 min read

The ladder

Picture a price at 100 and a ladder of levels below it: 99, 98, 97, and so on. Each level holds a buy. As price falls through 99 the first buys, at 98 the second, and so on down. Each filled level then carries its own sell, set some distance above the price it bought at.

If price oscillates — down through three levels, back up through two — the bot has bought three times and sold twice, and the difference between those pairs is the result, minus fees. Nothing about that requires knowing where price goes next. It requires only that price moves, and comes back.

Why the naive version loses money

A level that fills the instant price touches it is buying a falling knife. In a straight decline, every level fills on the way down, each one immediately underwater, and the bot ends up holding the whole ladder at an average price well above the market. Nothing has gone wrong mechanically; the design simply had no opinion about whether the fall was over.

DexMonk adds a second condition at every step. Reaching a level ARMS it: the engine starts tracking how far price continues past it. The order goes out only once price rebounds by a set amount from that extreme. The level buys a bounce rather than a fall.

The same applies in reverse on the way out. A target arms when price reaches it, the engine tracks the peak, and the sell goes out once price pulls back from that peak by a set amount, though never below the target itself. That is what stops a bot selling the first tick of a run that had another two percent in it.

What the second condition costs

It is not free. A rebound that never comes means a level that never fills, and a pullback that never comes means a target that never closes. The bot will do nothing, and say so. That is the honest trade: fewer bad fills, and some missed ones.

What decides whether a grid suits a market

Range, not direction. A grid wants a market that moves within a band it keeps returning to. A strong trend is the worst case: in a rise, the ladder sells its inventory early and watches; in a fall, it buys all the way down.

Spacing follows from volatility. Levels closer together fill more often and earn less per pair; wider apart, they fill rarely and earn more. Neither is correct in the abstract — the question is whether the spacing is large enough that a round trip clears its own costs.

Fees decide more than most people expect

Every pair is two orders, and both pay the venue. A grid that churns dozens of times a day pays that spread dozens of times. A target smaller than the round-trip cost is not a small profit — it is a loss with extra steps.

DexMonk refuses to place that trade. A take-profit is held back if the price it would execute at sits below the level that covers the entry plus the round-trip fees; the level stays open and waits for its target again. A stop loss is never held back, because the whole point of a protective exit is to act when the trade has gone wrong.

Before you run one

Run it on demo first where you can. Binance has a demo mode that uses the same engine and the same rules against test funds, so the behaviour you see is the behaviour you get. The other venues run live only on DexMonk, so there, start with a small amount.

Check the minimum order size. A ladder splits your capital across levels, so the total has to be large enough that every level still clears the venue minimum — about 10 USDT per order on Binance, 5 on AsterDex. DexMonk checks this before launch rather than letting a ladder fail partway down.