Skip to content
MiramarketMiramarket

Polymarket definitive guide

How to Set a Stop Loss on Polymarket

Polymarket has no native stop-loss order: its four order types either rest on the book or fill at once. A real stop loss requires an external rule watching the best bid around the clock — plus an honest look at what fails in practice and what no stop can prevent.

Research snapshot: November 29, 2026

The exact rule, shown as nodes

Polymarket's order lifecycle documentation lists four order types: GTC and GTD limit orders that rest on the CLOB, and FOK / FAK orders that fill immediately. None of them holds a sell order off the book until a trigger price is hit.

In Miramarket, a stop loss is a child rule directly beneath the position it protects: an ROI Condition (for a percent drawdown from your actual fill price, entry fee included) or a Price Condition (for a fixed probability level), followed by an Exit action back to your wallet. Placing a Time Condition beside it covers the one event a price stop cannot beat: holding into binary resolution. Sibling branches under the same position are either/or — whichever fires first closes the position and cancels the other.

Exact node structure

Buy YES ($100) with a −15% ROI stop and a 72h pre-close time exit

One entry action with two sibling exit branches. The ROI Condition watches the position's live best bid against your actual entry cost; the Time Condition watches the market close clock. Whichever condition holds first triggers Exit 100% to your wallet.

In the Miramarket builder

Miramarket builder Condition panel showing Price Condition, Time Condition, Resolution, and Exit and Hold under Utils

Condition and Utils cards in the Miramarket builder: pair an ROI or Price Condition with Exit to arm a stop loss, or add a sibling Time Condition to exit before resolution.

Worked example with numbers

Suppose you buy $100 of YES on a Polymarket market trading at 50¢, and attach an ROI stop at −15%. No return is promised; the table below is pure arithmetic showing how entry fees, trigger math, slippage, and recovery behave on the same $100 outlay.

Assume a 3% entry fee (~$2.91 of the $100 outlay goes to the fee, leaving ~$97.09 in YES shares at 50¢ = 194.17 shares, for an effective entry cost of 51.5¢/share). Because Miramarket's ROI Condition counts the entry fee in cost basis and values the position at the best bid:

  • Trigger price: 51.5¢ × (1 − 0.15) = 43.8¢ best bid (notice this is slightly higher than the naive 50¢ × 0.85 = 42.5¢ because the 3% entry fee is included in cost).
  • Sell fee note: the exit fee is not counted in the ROI trigger itself, so net proceeds returned to your wallet land slightly below the headline −15%.
Market pathBest bid at fillRule actionGross proceeds (pre-sell fee)
Orderly decline (50¢ → 43.8¢ → 25¢)43.8¢Stop fires at −15%; skips later drop to 25¢$85.05
Headline gap (50¢ → 30¢ in one print)30.0¢Stop fires at first bid below 43.8¢ (slippage)$58.25
Whipsaw dip & rebound (50¢ → 42¢ → 70¢)43.8¢Stop fires on the dip; misses recovery to 70¢$85.05
Instant resolution to NO (50¢ → 0¢)0.0¢No intermediate bids; stop cannot fill$0.00

Interactive simulator: test a 15% stop on three paths

Run the rule below across three illustrative paths (fees and spread excluded in the model). Pay special attention to the middle path: a stop loss turns a temporary dip into a realized loss, which is the exact trade-off you accept for cutting a real slide short.

Strategy simulator

Buy YES, sell if down 15%

One buy and one stop rule. Each scenario is an illustrative price path; fees, spread and slippage are excluded.

You typeBuy YES on “Fed cuts rates in December” with $100. Sell everything if I’m down 15%.

YES price

Entry30 days later
  1. When the strategy starts: Buy YES with $100
  2. When the position is down 15%: Sell everything to the wallet

Pick a scenario above to run the strategy against it.

Made-up prices, not market data. Fees, spread and slippage are left out, and a real order may fill at a worse price or not at all.

Build this in Miramarket

What does not work, and why

Most Polymarket stop-loss attempts fail for structural reasons that have nothing to do with market direction. Four approaches fail reliably:

  • Placing a resting limit sell below the current price. On a central limit order book, a GTC or GTD sell at 42¢ when buyers are bidding 50¢ is marketable: the matching engine immediately executes it at 50¢. You did not set a stop; you sold your position on the spot.
  • Setting an ROI stop tighter than ~8% on Polymarket. Entry fees on Polymarket are typically 3–4% and are counted in your cost basis, while valuation uses the live best bid rather than the midpoint. A −3% or −5% stop is already true the second the buy settles, so it closes the trade at once. Follow the live-run checklist and keep Polymarket ROI stops at −8% or wider.
  • Triggering off the midpoint or last traded price. In thin prediction markets, the last trade can be hours old and the midpoint can sit 5–10¢ above the best bid. A watcher reading midpoint thinks your position is down 10% while the executable bid is already down 25%.
  • Leaving a naive 60-line Python WebSocket script running unsupervised. Watching best_bid_ask and sending one FAK sell works as a prototype, then fails silently in live trading for seven mundane reasons: partial FAK fills leave unsold shares behind; silent socket stalls never emit a close event without PING heartbeats and REST GET /book fallbacks; dynamic tick_size_change events reject off-tick orders; negative-risk multi-outcome markets require separate exchange contract approvals; process restarts forget whether a sell already fired; your private key sits in plaintext on an always-on server; and if your laptop sleeps, the stop disappears. Write custom Python only if your exit depends on a private signal, order-book depth model, or sole-signer custody requirement.

The limits of a stop loss (what it cannot protect you from)

  • Binary resolution gaps. Prediction-market shares pay $1 or $0. When a court ruling, game finish, or official release decides the market, bids vanish and the contract drops straight to $0. No price or ROI stop can sell between 50¢ and 0¢. The only rule that avoids binary resolution risk is a Time Condition that exits before the deciding event or close time — accepting that it also sells winning positions early and gives up the final stretch to $1.
  • Slippage and partial fills in thin books. A triggered stop sells into whatever bids exist at that instant. A large position in a low-liquidity market will walk down the book and fill below the trigger, or fill only in part.
  • Headline whipsaws. Prediction markets overreact to breaking posts and often mean-revert within minutes. A stop locks in the bottom of the spike. Position sizing — risking only an amount you can lose without forced exits — is the primary defense; a stop is secondary.
  • Close time vs. event time mismatch. A Polymarket market's stated close date can sit days after the real-world announcement, or resolve early. When adding a time exit, check the market's resolution rules and use a fixed calendar timestamp if the event time is known.

Build this rule: docs, builder, and CLI

  1. Start from the builder or assistant. Open the Miramarket strategy builder (or the strategy assistant) and paste the prompt from the simulator above, or follow the ROI stop-loss template in Strategy examples.
  2. Verify every node against the docs. Check how returns and bids are calculated in Conditions (ROI & Time) and confirm every item on the live-run checklist.
  3. Simulate first, then run live. Review Simulation and Live Runs: simulation places no real orders and verifies that the stop attaches to the right position before real funds move.

Prefer the terminal or an AI coding agent? The same strategy runs through the Miramarket CLI (npm install -g @miramarket/cli; see the CLI reference):

Shell
# Generate the stop-loss strategy from plain English
miramarket-cli strategies generate \
  'Buy YES on the December Fed cut market with $100. Sell everything if the position is down 15%, or 72 hours before close.' \
  --out ./stop-loss.json --json

# Validate every node, then simulate (no real orders)
miramarket-cli validate ./stop-loss.json --json
miramarket-cli post ./stop-loss.json --demo --json

To attach a stop loss to a conditional breakout entry alongside a take profit, see Polymarket conditional orders. To offset a crypto- or asset-linked Polymarket bet instead of stopping out, see hedging Polymarket with Hyperliquid perps. Nothing here is financial advice, and no rule removes the risk of loss.

Common questions

Does Polymarket have a native stop-loss order?
No. Polymarket documents four order types: GTC and GTD limit orders, which rest on the order book, and FOK and FAK orders, which fill immediately against resting liquidity. None of the four waits for a trigger price, so a stop loss must come from an external watcher that monitors the best bid and sends a sell when your rule holds.
Can a limit sell order work as a stop loss on Polymarket?
No. A resting limit sell placed below the current price fills immediately against existing buyers because bids are already higher than your limit price. It exits right now instead of waiting for the market to drop.
Why does a 3% or 5% stop loss on Polymarket fire immediately?
On Miramarket, an ROI Condition includes the trading fee you paid on entry as part of the position's cost basis, and values the position at the live best bid. Because a Polymarket entry starts roughly 3–4% below cost after the fee and spread, stops tighter than about -8% can trigger straight away.
Can a stop loss protect a Polymarket position at resolution?
No. When a market resolves against you, the share price drops to zero in a single jump with no intermediate bids to sell into. To avoid holding through the binary outcome, pair your price or ROI stop with a sibling Time Condition that exits before close, such as 72 hours prior.
Is a stop loss guaranteed to fill at my stop price?
No. When the stop triggers, the position sells at the best bids available in the order book at that moment. In a thin book or during a headline gap, the realized fill can land well below the trigger price or fill only partially.

Miramarket

Turn a market view into reviewable conditional logic.

Miramarket turns your trading ideas into strategies that watch perps, tokenized stocks and prediction markets 24/7, with every condition visible before it runs.