
Add a condition
Open Condition in the left panel. Click a card to add it at the current position, or drag it to place it before, after, or below another node. Configure the node after you add it.Compare conditions
Price Condition
Use Price Condition when a selected market side must reach a price before the strategy continues. Choose the market and side to watch, then set the comparison and threshold. Depending on your strategy, it can watch the market you are about to trade, a market from an earlier step, or another market you select. Examples:- “If the selected
YESside is greater than60¢, continue.” - “If the selected
NOside is less than40¢, continue.”
> and < produce opposite behavior. A displayed market price is not a guarantee that an action will execute at that exact price.
If you add more than one rule to the same condition, every rule must be met. For example, you can wait for a YES side to reach 60¢ and for the market to be within ten minutes of close.
A price condition can also watch a tokenized stock. The threshold is then a share price in dollars rather than a probability: “if TSLA is greater than $400, continue.” The condition watches the stock’s reference share price, which usually sits slightly below the pool price a trade pays. A few newer stocks, such as Palantir and Micron, have no reference price yet; a condition on one of them watches the pool’s average price over the last 15 minutes, which lags the pool price after a fast move.
A price condition can watch a perp the same way, in dollars: “if BTC is less than $80,000, continue.” It watches Hyperliquid’s price for that perp. A perp condition has no LONG or SHORT choice; the price is the same for both sides.
ROI Condition
Use ROI Condition when you want to act on how much a position has gained or lost, in percent, rather than on a price. It measures the return on the position bought just above it, from what that buy actually paid, so you do not need to work out an exit price yourself. Add it below a market action, or below a Hold that keeps that position. It has no market of its own: it always follows the market and side of the buy above it, and keeps following them if you change that buy. If there is no buy above it, the builder refuses it and says so. The node reads ROI reaches+20%, which is where a new one starts. Click the + or - sign to switch direction, and click the number to change the amount:
- “ROI reaches
+20%” is a take-profit. It continues once the position is up 20%. - “ROI reaches
-10%” is a stop-loss. It continues once the position is down 10%.
- The trading fee you paid to buy counts as part of the cost. A new position therefore starts slightly down: about 3–4% on a Polymarket market, well under 1% on a stock or a perp. For example,
YESbought at50¢with a 3% fee reaches+20%at about62¢. - The fee to sell is not counted, so the money you take home lands a little under the percent you set.
- A prediction-market position is valued at the best bid, what a sale would get right now, not the midpoint price.
- A perp’s return is on its margin. At
5xleverage,+10%is a 2% move in the price. For aSHORT, a gain means the price fell. You still set+for a take-profit and-for a stop-loss. - The same signs work for every position:
YES,NO, a stock, aLONG, or aSHORT.
+10%. It keeps that direction when you change its amount.
Time Condition
Use Time Condition when the strategy should continue before a market closes or at a specific time. Choose the market first, then set the timing mode and value. Examples:- “Continue 10 minutes before the selected market closes.”
- “Continue at the chosen date and time.”
Resolution
Use Resolution when the next step depends on a selected market outcome. The node branches according to the outcome that resolves. Examples:- “If the selected outcome resolves
YES, continue to this branch.” - “If it resolves
NO, continue to the other branch.”
Before you run
Choose the right condition
Ask yourself:- Do you need a price threshold? Use Price Condition.
- Do you want to take profit or stop a loss at a percent? Use ROI Condition.
- Do you need a time trigger? Use Time Condition.
- Do you need to branch after an outcome resolves? Use Resolution.
Common mistakes
- Watching the wrong market or side.
- Reversing a price comparison.
- Treating market close and market resolution as the same moment.
- Entering a probability where a stock or perp condition expects dollars. A stock threshold of
0.6means sixty cents a share, not 60%. - Setting a short’s stop-loss below the entry price. A short loses money as the price rises, so its stop-loss is a price above where you entered.
- Setting an ROI stop-loss tighter than the trading fee. On Polymarket a new position starts about 3–4% down, so a stop at
-2%sells right after the buy. Keep a Polymarket stop at-8%or beyond, such as-10%. - Setting a take-profit no price can reach. A prediction-market share never trades above
$1, so+20%onYESbought at90¢would need$1.08and never continues. - Using Run Live before testing with Simulate.