Take profit and stop loss for grid and DCA bots
Where to put the stop loss and take profit on a grid or DCA bot: price stop beyond the range, whole-bot limits, worked on $1,000 with fees.
By the Prow teamPublished 7 min read
On this page
- What are the four exits of a grid or DCA bot?
- Why does a grid bot need a take profit?
- Worked example: a grid bot on $1,000
- Worked example: a DCA bot on $1,000
- How do Prow's ready settings choose their limits?
- What mistakes do people make with grid and DCA exits?
- Frequently asked questions
- Where should I put a stop loss on a grid bot?
- Should a grid bot have a take profit?
- What is the difference between a take profit and a stop loss on a DCA bot?
- How wide should a DCA bot's stop loss be?
- Does a stop loss guarantee my maximum loss?
- Sources
Put a grid bot's price stop beyond its range and a DCA bot's beyond its last extra buy, set a loss limit at the most you will accept losing, and set a take profit well above the fees of closing. Both limits end the whole bot, open position included, not just one order. On $1,000 that can read: take profit +3% ($30), loss limit −10% ($100).
What are the four exits of a grid or DCA bot?
| Exit | Measures | When hit |
|---|---|---|
| Per-order take profit | One order or deal: a grid sells one step above each buy; a DCA deal closes at a set % above its average entry | That order or deal closes, the bot goes on |
| Price stop loss | Price: a % beyond a grid's range, or a % from a DCA's average entry | The bot closes its position and stops. On futures it rests on the venue, so it works even if Prow is down |
| Whole-bot take profit | Total result, open position included, as a % of the investment | The bot closes and stops |
| Loss limit | Total loss, as a cap in dollars | The bot closes and stops |
The two whole-bot exits are checked on every price update, loss limit first. A DCA bot therefore has two targets: one ends a deal, one ends the bot.
What a stop does. The bot cancels its entry and take-profit orders and closes with reduce-only orders that may cross the book by at most your slippage setting (never above 1%), trying up to five times. A spot bot sells the coin. If it cannot get flat, it says so and leaves the price stop on the venue. A fast market can fill worse than the stop price, so a $100 loss limit can end near $100 plus slippage.
Why does a grid bot need a take profit?
Nothing in a grid says "enough". Its result includes the open position, so a gain from a calm week is given back if the price drifts out of the range, and on futures it pays or receives funding every hour meanwhile. A whole-bot take profit makes the exit a decision taken in advance. In Prow the limits you sign also end within 30 days at most, and you renew them on purpose.
Worked example: a grid bot on $1,000
A long futures grid at 1x on a coin at 100: range 90 to 110, 20 geometric grids, $1,000 invested (the example in Prow's grid bot docs). Each order is about $50 and each completed buy and sell earns about $0.48 before fees.
- Fees. Hyperliquid's base maker fee is 0.015% and Prow's standard fee is 0.025%, on the buy and on the sell: about $0.04 on $50. A round trip nets about $0.44. Closing the bot is a taker order, 0.045% plus the Prow fee on $500: about $0.35 before slippage.
- Price stop. Prow's default is 5% below the lower price, 85.50. If hit, the grid holds about 10 coins at an average near 97.20 and closes for a loss of about $117 (11.7%).
- Take profit: 3%, $30. A flat grid needs about 68 round trips to make it; a rising price can get there sooner because the target counts the open position. It is far above the $0.35 closing cost.
- Loss limit: 10%, $100. It fires before the stop at $117, so it is the real exit and the stop is a backstop for gaps. At 15% ($150) it would never fire first. Prow's form warns when your limit is below the loss at the stop.
- Ratio. Risking $100 to make $30 means the grid must hit its target about 77 times in 100 before the limit just to break even (100 ÷ 130). In our tests the best long grid at 1x lost money in 3 of 4 starts over 90 days, so 77 in 100 is not normal. See How to run a grid bot.
Worked example: a DCA bot on $1,000
A long DCA bot at 1x on a coin at 100: a base order and four extra buys of $200 each, price deviation 2%, step scale 1.2. Orders sit at 100, 98, 95.60, 92.72 and 89.26. If all fill, the bot holds about 10.5 coins at an average of about 94.96.
- Per-deal take profit: 1.5% above the average, at 96.39. On the full position that is about $15, minus at most about $1.40 in taker fees both ways plus the Prow fee: about $13.60. A deal that filled only the base order makes about $3 gross.
- Price stop: 16% below the average, at 79.77, a loss of $160. It must sit beyond every extra buy not yet filled, or it fires before the ladder is used; Prow's form refuses a stop that does. See DCA bot.
- Whole-bot take profit: 3%, $30. About three full deals ($13.60 each after fees) or eleven base-only deals (about $2.70 each), then the bot stops. Without it, the bot repeats deals as long as it can.
- Loss limit: 12%, $120. It fires near 83.57 if every order filled, before the stop at 79.77. $30 against $120 means hitting the target 4 times in 5 to break even.
How do Prow's ready settings choose their limits?
Every ready setting shows both limits in percent and in dollars on your amount before you sign, for example "Take profit +X% (about $Y)" and "Loss limit −15% (about $150)". Change either in the builder before you start.
- Loss limit: 15% of your amount for the 1 to 3 day and 3 to 15 day settings, 20% for 25+ days, about 1.5 times the drawdown cap a setting must stay within (10%, 10% and 15%).
- Take profit: what the setting typically made across many start dates, scaled to the days it is meant to run (2, 9 or 40) and rounded to 0.1%. Never below 0.5%, never below four times the fees of closing, never above the loss limit.
- Your amount: the take profit carries over unchanged; the loss limit is the same share of your amount.
These are results on past prices, so hypothetical: how a setting would have done, not how it will. To see real numbers on your amount, open today's ready settings with their take profit and loss limit and compare them with your own from the examples above.
What mistakes do people make with grid and DCA exits?
- A stop inside the range. Normal swings hit it. Bitsgap's help pages say the orders beyond such a stop stay unfilled, which cuts the grid to part of itself. Put a grid's stop beyond the range.
- A target near the fees. Slippage and one fee then decide the result. Prow's floor is the larger of 0.5% and four times the fees of closing.
- A loss limit wider than the loss at the stop. It never fires. Prow's default is 30% of the investment, or more when the loss at the stop is bigger, so check it.
- A loss limit tighter than the grid's own swing. A grid holding a position is down several percent in a normal dip; a limit under that locks the loss in during ordinary moves.
- A DCA stop above the deepest extra buy. The deal is stopped before the ladder is used.
- Leverage ignored. At 3x the same dollar limit is a one-third smaller price move, and liquidation must come after your stop. Prow refuses a setup whose liquidation could come before its stop.
Before you start, divide the limit by the sum of target and limit to get the hit rate you need, and run it only on an amount you can afford to lose.
To choose between the two bots first, read grid bot vs DCA bot.
Next step: open Start a bot in Prow, pick a ready setting and read the take profit and loss limit in dollars on your amount; nothing is placed until you sign. The Grid bot and DCA bot pages show each step.
Frequently asked questions
Where should I put a stop loss on a grid bot?
Beyond the range: below the lower price for a long grid, above the upper price for a short one. Prow's default is 5% below the lower price. Bitsgap's help pages say its stop can sit inside the range and orders beyond it stay unfilled.
Should a grid bot have a take profit?
Yes, if you want the result decided in advance. A grid never reaches "enough" on its own, and its profit includes an open position that can be lost again.
What is the difference between a take profit and a stop loss on a DCA bot?
A deal's take profit closes that deal above its average entry, and the bot can start the next one. The price stop loss closes the deal below the average. A whole-bot take profit and a loss limit close the bot itself.
How wide should a DCA bot's stop loss be?
Beyond your last extra buy, plus a margin. In the example the last order sits about 10.7% under the base order, and the 16% stop, measured from the average entry, sits at 79.77, below it. Prow's default is how far the extra buys reach plus 3%, rounded up.
Does a stop loss guarantee my maximum loss?
No. It fires at its price and the closing order can fill worse in a fast or thin market. The loss limit is checked on price updates and closes at market within your slippage.
Sources
Checked on the date this guide was last updated:
- Bitsgap helpdesk: Using Stop Loss in Trading Bots, Advanced Bitsgap DCA Bot Settings
- Hyperliquid docs: Fees
- Prow docs: Grid bot, DCA bot, Trading bots, Past results