Technical Documentation

The Logic of
Certainty.

A transparent breakdown of the NEH (Nothing Ever Happens) arbitrage mechanism. Verified technical details on detection, sizing, and execution.

The Arbitrage Guarantee

Polymarket's "Nothing Ever Happens" markets create a structural relationship between a Parent Market and its Child Markets.

  • Child YES = $1. Parent resolves NO ($1).
  • All Children NO. Parent resolves YES (Parent NO = $0).

This is not a bet. It is a mathematical identity. Exactly one of (Parent NO, Child NO) pays $1.00.

Parent NO Price $0.92
Child NO Price $0.04
Combined Cost $0.96
Guaranteed Profit: $0.04 (4%)
Buy 500 shares each → Cost $480 → Payout $500 → Profit $20

Detection Algorithm

1

Live Market Scanning

Watches 30+ markets simultaneously with updates every fraction of a second. Tracks price changes and available volume in real time.

2

Profit Calculation

Add both prices together
Subtract from $1.00 to find the profit margin
Only proceed if the margin is at least 1%
3

Availability Check

Checks how many shares are actually available on both sides. Skips opportunities where there isn't enough volume to place a minimum-sized trade.

4

First Come, First Served

Trades are executed in the order they're found. No chasing the "best deal" — the bot prioritizes reliability over greed.

Configurable Thresholds

  • Min Profit 1.0%
  • Scan Speed 10x per second

All data arrives through a live connection — no delays from repeatedly checking for updates.

Sizing Logic

Fixed Mode

Every trade uses the same dollar amount (e.g., $50). Simple and consistent.

Trade size = your chosen amount per trade

Proportional Mode

Automatically invests more when the profit opportunity is larger.

Trade size scales up with better margins

Safety Cap Logic (Smallest Wins)

Constraint 1
Wallet Balance
minus a safety cushion
Constraint 2
Available Shares
whichever side has less
Constraint 3
Your Set Limit
maximum you allow
Result
Safe Order Size
Execution Ready

Execution Pipeline

Build

< 5ms
Creates fill-or-cancel orders so nothing is left hanging. Adds a tiny price cushion to account for small price movements during placement.

Sign

< 10ms
Both orders are cryptographically signed at the same time. The bot automatically picks the correct signing method for each market type.

Submit

< 50ms
Both orders are sent at the same time. If an order isn't filled immediately, it's automatically cancelled to avoid leaving open positions.

Track

Real-time
Watches your account's live feed for confirmations. Logs the final price, quantity filled, and updates your dashboard within half a second.

Market Discovery

  • 1

    Automatically checks for new sub-markets every 5 minutes so you never miss an opportunity.

  • 2

    Verifies the new market is valid, then instantly starts monitoring its prices.

Live Data Connection

Speed Zero-delay data handling
Processing Ultra-fast data reading
Reliability Smart auto-reconnect
Tracks Prices, Orders, Trades