Prediction market arbitrage

How market making works on Polymarket

A Yes share pays $1 if the event resolves Yes and $0 otherwise. No is the complement. One Yes plus one No merges back to $1. The bot does not bet the outcome. It stands in the book.

Your wallet · your machine · caps bound the inventory

Three ways to get paid

One engine and one risk system. They differ in which orders they want. Doing this by hand does not work: books move, inventory piles up on one side, and a quote that was safe a minute ago can be the wrong side of a news print.

Liquidity rewards

Polymarket pays a daily pool on selected markets when resting orders sit inside a published max spread and minimum size. Tighter quotes score much more than wide ones. Outside that window the score is zero. Between 10¢ and 90¢, quoting one side still counts, at a heavy discount. Near the extremes you must quote both sides or you score nothing. Your share of the pool is your score divided by everyone else’s.

  • Ghost. Minimum size, wide inside the window. Rewards, almost no fills.
  • Steady. Default. Balanced size and offset.
  • Harvester. Larger size, closer to the touch, aimed at big pools.
  • Sniper. Tight quotes. More fills, more inventory.

Custom leaves the advanced knobs editable.

Spread market making

The same two-sided quoting, on liquid markets that may have no reward pool. You get paid the spread when both sides fill, plus maker rebates where the venue pays them.

  • Tight. Sits near the touch.
  • Wide. Rests deeper and waits.
  • Lean. Holds a target inventory, so the quotes express a view while still earning the maker price.

Custom opens the full market-making panel.

Spread scalping

This one does not sit in a reward window. It looks for finance markets whose inside spread is wide enough to buy both outcomes cheaply — by default a 4¢ to 10¢ spread. It posts a maker buy one tick inside the best bid on Yes and on No. The two prices must sum to less than $1 by at least your minimum edge after maker fees. If both fill, you hold a complete set and merge it back to cash. If only one side fills, the bot stops adding and rests the missing side at a price that still locks that edge. If that lone leg moves against you, or sits too long, it sells at the bid and takes the loss. Merging needs a direct private-key wallet and a little POL for gas.

Polymarket US is the same idea on the regulated venue: one Yes-priced contract per market, maker-only orders, and a different reward score — a per-second discount for each tick away from the best price.

Reading a reward score

Hover each term. The score of an order is ((v − s) / v)² × size, where v is the max spread and s is the distance from the midpoint.

((v − s) / v)² × size

Illustrative numbers. The Rewards tab estimates your share of a real pool before you turn an agent on.

v

The published window. An order farther from the midpoint than v scores zero.

s

How far this resting order sits from the mid. Closer means a much higher score, because the gap is squared.

size

Shares resting inside the window. Below the market’s minimum size, the order does not score.

score

((v − s) / v)² × size. Here ((3 − 1) / 3)² × 100 = 44.4. A sample, not a live pool.

How a quote gets placed

About every 10 seconds, for each running agent. An agent is one market plus one quoting style.

Step 1 of 5

Read the book

About every 10 seconds the engine reads the book, your position, and the orders it already has live. A slow loop discovers markets. A fast loop refreshes books, mids, depth, and competitiveness.

Fills arrive on a websocket and update inventory immediately. A separate reconcile compares the local order mirror to the exchange about once a minute. A heartbeat goes out every few seconds. If the process dies, Polymarket cancels the open orders.

You can opt a single agent into pricing v2. Instead of joining the book at an offset, it sets a fair value from the microprice, measures volatility in logit space, and quotes an Avellaneda–Stoikov / GLFT reservation price: fair value minus inventory times risk aversion times variance, with a half-spread wide enough to cover adverse selection, the cost of flattening, and one tick. The market page shows those planned quotes before the agent goes live. The book-following presets remain the default.

What you still decide

The bot does not pick your risk. Before anything quotes, you set the caps.

Gross exposure hits the bankroll

When exposure across agents reaches the bankroll you set, new opening quotes stop. The book goes exit-only until exposure comes back inside the cap.

One market grows too large

A per-market cap bounds inventory on that book. It does not replace the bankroll cap across every agent.

The day goes against you

A daily loss cap pauses every agent. You resume from the Agents screen after you have looked at what filled.

One market hits its hard stop

An optional hard stop flattens that market and shuts that agent off. The other agents keep running.

You need everything off

The Agents screen has a kill switch. Type KILL and every order is cancelled.

The other side knows more

A fill is not free money. The bot records markouts — the signed move after your fill, at a few seconds, half a minute, five minutes, and through settlement — so you can see who is picking you off.

Rewards, spread, and a cut leg pay differently

Rewards can pay you for orders that never trade. Spread capture pays only when both sides fill by more than the adverse move. Scalping pays when the pair edge survives until the merge, and loses when the open leg has to be cut.

Where to go next

Market Making FAQ