Copy trading infrastructure

Polymarket Copy Trading Bot — Mirror Profitable Wallets Without Building the Pipeline

A Polymarket copy trading bot mirrors the on-chain trades of a target wallet in real time. The pipeline requires wallet watching, low-latency signal detection, sizing math, filters, and the same EIP-712 signing stack as any other bot. Here is what PredictEngine handles.

What is a Polymarket copy trading bot?

A Polymarket copy trading bot watches a target wallet's on-chain Polymarket activity and replicates each of its trades against the copier's wallet. The target picks the markets; the copier rides the same positions, scaled to their own bankroll, with optional filters that block trades the copier does not want.

Copy trading on Polymarket is structurally simpler than on a centralized exchange — every trade is an on-chain event, the source wallet is public, and the replication can happen against the same CLOB API the original trader used. There is no "secret signal" to obtain; the data is fully transparent on Polygon.

The reason copy trading is popular: most traders cannot consistently identify profitable strategies, but they can identify profitable traders. The Polymarket leaderboard shows hundreds of wallets with track records spanning months; copying the best ones is a strategy unto itself.

Why building a copy trading bot yourself is hard

The pipeline looks deceptively simple — watch a wallet, fire matching orders — but the infrastructure underneath is exactly the same as any other bot, plus a real-time signal layer:

  • On-chain event watching — you subscribe to Polygon logs filtered by the target wallet address and the Polymarket exchange contract. Missed events = missed trades.
  • Signal-detection latency — the target fills a position at 10:00:00; if you detect at 10:00:30 and the market has moved 2 cents, you are copying at worse pricing.
  • Trade attribution — Polymarket trades go through multiple contracts (CTF, exchange, conditional tokens). You decode the event payload to extract market ID, side, size, and price — without misclassifying a redemption as a buy.
  • Sizing math — the target trades $5,000; the copier has $500. You scale proportionally, respecting per-position caps and orderbook depth limits.
  • Slippage when copying late — even with sub-second detection, you fill after the original trade, often at slightly worse prices. The bot has to know when slippage exceeds a configurable threshold and skip the copy.
  • Filter logic — copier wants to skip politics markets, or markets above 90¢, or trades smaller than $10. Each filter is a check before the copy fires.
  • Wallet management — the copier needs a Polygon wallet with USDC.e and approvals set against the exchange contract. The bot manages provisioning, funding flow, and signing.
  • EIP-712 order signing — every copied order is signed against the copier's key, not the target's. Same signing stack as any other Polymarket bot.
  • Reconciliation — when the target closes a position, the bot detects the close event and fires the corresponding sell on the copier's side. Drift between target and copier positions accumulates if reconciliation is wrong.
  • VPS hosting + monitoring — 24/7, because the target trades 24/7 and a missed signal is a missed trade.

Building copy trading yourself vs PredictEngine

The work split:

ConcernBuilding yourselfPredictEngine
On-chain event watcherYou run a node or use Alchemy + filter logsBuilt-in wallet watcher
Trade attribution / decodingYou decode CTF + exchange eventsHandled in service
Sizing mathYou write the proportional scalerConfigurable allocation
Filter logicYou write each filter rulePre-built filters (markets, size, price)
EIP-712 signing on copierHand-rolled via py-clob-clientHandled per copier
Slippage guardYou write the late-copy checkBuilt-in price-deviation cap
Wallet provisioningYou generate, fund, encrypt keysPer-user wallet auto-provisioned
VPS hostingYou run a server 24/7Hosted infra
Position reconciliationYou track target vs copier per marketPer-position tracking

How PredictEngine handles copy trading

PredictEngine's copy trading bot lets users pick any public Polymarket trader — from the platform leaderboard or by wallet address — and configure: allocation (what percentage of the copier's bankroll the bot can use), maximum position size per copied trade, market filters (skip politics, skip resolution-hunting trades above 90¢, etc), and a slippage cap that aborts copies which would fill worse than the original by more than the configured threshold.

Under the hood, the platform watches the target wallet via Polygon log subscriptions, decodes Polymarket event payloads to extract market and trade details, applies sizing and filter rules, and fires the copied order against the copier's own wallet using the same CLOB API. The signing is handled by PredictEngine; the copier never sees an EIP-712 payload.

For users browsing for traders to copy, the leaderboard surfaces opt-in profitable wallets sorted by realized PnL and consistency. For users who already know a wallet by address, the bot accepts the raw 0x address as the copy target.

What makes copy trading work (and what makes it fail)

Copy trading is not magic. It works when the underlying trader's edge is real and the copier's pipeline does not destroy too much of that edge through latency or slippage. It fails in three predictable ways:

  • Trader edge was variance, not skill — a 60% win rate over 30 trades is not a track record. Copying short-history traders is gambling on regression.
  • Late-copy slippage eats the edge — if you fill 3 cents worse than the target on average, a strategy with 5 cents of edge becomes a 2-cent strategy. Tight slippage caps protect against this but reduce copy fill rate.
  • Trader changes strategy — the wallet that made money on election markets in 2024 may now trade crypto markets where they have no edge. PredictEngine's leaderboard cache and per-trader stats help identify when a trader's strategy has shifted.
  • Position sizing mismatch — the target risks 10% of their bankroll per trade; the copier scales that to 10% of their own. When the target is wrong, the copier loses 10% too — every time.

When to build a custom copy trading bot vs use PredictEngine

Build your own when you need sub-second copy latency (you have a research edge that requires faster signal detection than the public pipeline), when you have a proprietary trader-selection model that picks copy targets in ways PredictEngine's filters cannot express, or when you are copying enough wallets in parallel that running your own pipeline is cheaper than per-bot subscription cost.

Use PredictEngine for everything else. The platform handles the on-chain watcher, the signing, the sizing math, and the filters. You pick a trader and set an allocation. The rest is operational overhead PredictEngine carries on your behalf.

Mirror a top trader without building the pipeline.

PredictEngine watches the target wallet, decodes the trades, applies your sizing and filters, and fires the copied orders. You pick the trader; the platform handles the infrastructure.

Frequently Asked Questions

Related