Chainlink TWAP60: the BTC price Polymarket settles on

Updated 2026-10-19

Guides

TWAP60 is Chainlink’s BTC/USD time-weighted average price over a trailing 60-second window, published as its own data stream about once a second. Since 2026-08-14 00:00 UTC it is the price that settles Polymarket’s 5-minute Bitcoin Up or Down markets. In our data from 2026-08-14 to 2026-10-18, 1,960 of 17,357 rounds (11.3%) would have had the opposite result if they had been settled on Chainlink’s plain BTC/USD price instead.

TWAP60 and the plain price

Chainlink publishes both, as two separate streams. Our files keep them apart in the same way:

Plain BTC/USD price BTC/USD TWAP60
Chainlink stream btc-usd btc-usd-twap-60s-streams
One value is the price at that second the time-weighted average over the 60 seconds up to that second
Computed by Chainlink Chainlink
How it moves jumps with the market smooth; on a steady trend it trails the price by about 30 seconds
Settles Polymarket 5-minute BTC until 2026-08-07 (then a 30-second TWAP for a week) since 2026-08-14
Our daily file btc-price-YYYY-MM-DD.jsonl.gz btc-twap60-YYYY-MM-DD.jsonl.gz

The two are rarely far apart, but they are almost never equal. Over 18,141 round boundaries (seconds divisible by 300), the gap between them was:

Gap at a boundary second Plain price vs TWAP60
Median $7.79
90% of boundaries within $31.07
99% of boundaries within $75.99
Largest $300.35

The largest gap was at 2026-08-23 05:15:00 UTC. BTC had fallen about $520 in 90 seconds, and TWAP60 was still averaging the minute before.

Why TWAP60 decides the 5-minute rounds

Polymarket’s changelog records two changes:

  • 2026-08-07: crypto Up/Down markets moved to “Chainlink-computed time-weighted average prices instead of a single price snapshot”. Both the price to beat and the final price come from the TWAP feed. 5-minute markets got a 30-second window.
  • 2026-08-14, 00:00 UTC: all 5-minute crypto markets moved to a 60-second Chainlink TWAP.

Every 5-minute BTC market since then names the same source in its rules: the BTC/USD TWAP 60s stream, and not any other source or spot market. A round is Up when TWAP60 at its end second is greater than or equal to TWAP60 at its start second. How Polymarket’s 5-minute Bitcoin markets settle covers the full rule: boundary seconds, ties and the midnight round.

The changelog gives no further reason. What the average does is plain from the data below: a move in the last few seconds of a round counts for only those few seconds out of 60.

How many rounds would have gone the other way

We settled every round twice, once on TWAP60 and once on the plain price at the same two boundary seconds, and counted the rounds where the results differ: 17,357 rounds from 2026-08-14 to 2026-10-18, each compared on the values both files hold for its two boundary seconds.

Days (UTC) Rounds compared Different result Share
2026-08-14 to 2026-08-31 4,260 457 10.7%
2026-09-01 to 2026-09-30 8,134 944 11.6%
2026-10-01 to 2026-10-18 4,963 559 11.3%
All 66 days 17,357 1,960 11.3%

About one round in nine, and steady from month to month. What the flipped rounds have in common:

  • No direction wins. In 995 of them TWAP60 settled Down where the plain price says Up; in 965 it is the other way round. The plain price is not a biased stand-in, only a different one.
  • They are close calls. The median move of TWAP60 from price to beat to final price is $35.88 over all rounds, but $10.01 over the flipped ones. In 978 of the 1,960 flips TWAP60 moved less than $10, and in 1,585 less than $25.
  • Polymarket agrees with TWAP60. We looked up every flipped round in Polymarket’s Gamma API on 2026-10-19: all 1,960 resolved the way TWAP60 says, and none the way the plain price says.

So a backtest or a bot that reads the plain price gets roughly one round in nine wrong, and the errors pile up in the closest rounds.

One round that went the other way

2026-10-08, 15:35 to 15:40 UTC (btc-updown-5m-1791473700, titled “October 8, 11:35AM-11:40AM ET”). The shaded bands are the 60 seconds averaged into each boundary value.

15:34 15:35 15:36 15:37 15:38 15:39 15:40 TWAP60 $81,252.86 → $81,173.87 · settled ▼ Down Chainlink price $81,149.83 → $81,244.43 · would be ▲ Up
Chainlink price TWAP60 60 s averaged into the boundary TWAP60

At 15:35:00 the price had just dropped, so the price to beat on TWAP60 ($81,252.86) still reflected the higher minute before. The price then fell to $80,907 at 15:38 and recovered to $81,244.43 by 15:40:00, above where it opened. On the plain price the round is Up by $94.59. But the last minute of the round averaged $81,173.87, below the price to beat, so on TWAP60 it is Down by $78.99. Polymarket resolved it Down.

We record TWAP60, we don’t compute it

Each row of a twap60 file is the value Chainlink published for that second, as it reached our collector; lag says how long that took. We do not derive it from the price file, and the difference matters.

A plain average of our price rows over the same 60 seconds lands close to Chainlink’s value but not on it: $0.65 away at the median, within $2.57 at 90% of boundaries, and up to $52.15. That is enough to settle 168 rounds (1.0%) differently from the published TWAP60. To settle or backtest a round, use the TWAP60 value itself.

Fields

Both files have the same fields, one row per second at most, sorted by ts. Full details are in the API docs.

Field Type Meaning
ts int The second the value belongs to (Unix seconds). Rounds start where ts % 300 == 0
p string The value at full precision, up to 23 significant digits in TWAP60. Compare this one
v float The same value as a float, for charts
lag int Milliseconds from Chainlink’s timestamp to our collector: recv_ms − feed_ts_ms
feed_ts_ms int Chainlink’s timestamp for the value (ms)
server_ts_ms int or null When the upstream server sent it (ms), when given
recv_ms int When our collector received it (ms)

Every row is a value Chainlink published for that second; nothing is interpolated or carried over from the second before.

Count it yourself

Method, exclusions and validation

The Poly Tick Tape team collected the two published Chainlink streams and calculated these statistics using the existing scripts/twap60-flips.py analysis. The settlement rule comes from the Polymarket references below; TWAP60 values come from Chainlink, not from an average computed by our team. Contact the team for questions or corrections.

  • Sample selection: read both daily files for each consecutive UTC day from 2026-08-14 through 2026-10-18 (66 days), stopping at the first day without both files. Candidate starts are spaced 300 seconds apart. The final round ending at midnight after 2026-10-18 is excluded before boundary checks because it needs the next day’s file: 19,007 candidates remain.
  • Missing boundaries: require exact rows at both start and end in both streams. This retains 17,357 rounds and excludes 1,650. TWAP60 lacks at least one boundary in 1,583 candidates; plain price does so in 1,624. These counts overlap and must not be added. No interpolation, forward fill or nearest-second substitution is used.
  • Comparison: parse the full-precision p strings as Python Decimal; close greater than or equal to open means Up, otherwise Down. Count disagreements and group by the UTC start month. The 11.3% share applies to comparable rounds in this sample, not to excluded rounds or future markets.
  • Recorded outcome check: the saved Gamma check dated 2026-10-19 covers 1,960 flipped rounds: 1,960 match TWAP60, 0 match plain price, and 0 are unresolved, missing or errors. It checks the flipped subset, not every comparable round. This is the existing saved result; it has not been rerun for this methods update.

Download the standalone reproduction script and the published statistics JSON. The JSON includes every flipped round’s timestamp and TWAP60 direction, the monthly totals, chart data and saved Gamma check. The script preserves the original calculation and Gamma-check logic, with a local output argument in place of repository paths and private archive download configuration. Python 3’s standard library is sufficient.

Place the full daily archives in data/YYYY-MM-DD/btc-price-YYYY-MM-DD.jsonl.gz and data/YYYY-MM-DD/btc-twap60-YYYY-MM-DD.jsonl.gz. Use exactly the published date range to compare with the snapshot. Obtain daily files through the API docs; full-period data requires access to those archives. The free ten-minute sample cannot reproduce the full-period count.

python3 -I twap60-flips.py build data --output rebuilt.json
# Optional live check; updates rebuilt.json and queries the public Gamma API:
python3 -I twap60-flips.py gamma --output rebuilt.json

Compare comparable, missingBoundary, flips, byMonth and flipRounds with the published JSON. A fresh Gamma check records its own date and may differ from the historical check. The diagnostic naiveMean uses whichever price rows exist in each inclusive [t − 59, t] window, even when fewer than 60 exist; it does not require complete windows. The script documents this behavior. The public JSON is a statistics snapshot, not the underlying full daily archive.

Single-day example

With one day’s twap60 and price files and the next day’s (see the API docs), this settles every round both ways and lists the ones that differ. For 2026-08-14 it finds 24 rounds that differ.

flips.py
import gzip
import json
from datetime import datetime, timezone
from decimal import Decimal


def load(path):
    with gzip.open(path, "rt") as f:
        return {row["ts"]: Decimal(row["p"]) for row in map(json.loads, f)}


# The last round of a day ends at 00:00 the next day, so load both days of each stream.
twap = {**load("data/btc-twap60-2026-08-14.jsonl.gz"), **load("data/btc-twap60-2026-08-15.jsonl.gz")}
price = {**load("data/btc-price-2026-08-14.jsonl.gz"), **load("data/btc-price-2026-08-15.jsonl.gz")}


def result(rows, start):
    o, c = rows.get(start), rows.get(start + 300)
    if o is None or c is None:
        return None  # no row at a boundary second
    return "Up" if c >= o else "Down"


day = int(datetime(2026, 8, 14, tzinfo=timezone.utc).timestamp())
compared = differ = 0
for start in range(day, day + 86_400, 300):
    settled, plain = result(twap, start), result(price, start)
    if settled is None or plain is None:
        continue
    compared += 1
    if settled != plain:
        differ += 1
        print(f"btc-updown-5m-{start}: TWAP60 {settled}, plain price {plain}")
print(f"{differ} of {compared} rounds differ")

Get the TWAP60 history

Every day since 2026-08-14 is available as a twap60 file and a price file, published by 05:00 UTC the next day. Ten minutes of 2026-09-20 are free on the home page. Full days are on the pricing page, and the API docs show how to download them with curl or Python.

Sources

  • Polymarket, Predictions changelog: the 2026-08-07 switch to Chainlink TWAP and the 2026-08-14 switch to 60 seconds.
  • Polymarket docs, TWAP Prices: Chainlink-computed TWAPs with a fixed 60-second window.
  • Polymarket market rules, as served by its public Gamma API (gamma-api.polymarket.com/markets/slug/<slug>): btc-updown-5m-1786665600 (the first 60-second round), btc-updown-5m-1792281600 (2026-10-18), btc-updown-5m-1791473700 (the round in the chart), and the resolved outcome of all 1,960 flipped rounds.
  • Chainlink data streams: BTC/USD, BTC/USD TWAP 60s.
  • Our price and twap60 files for 2026-08-14 to 2026-10-18. Numbers computed on 2026-10-19 with exact decimal comparison of p.

Data in this guide runs through 2026-10-18. Rules checked on 2026-10-19.

Further data studies

More guides

Not affiliated with Polymarket or Chainlink. Not investment advice.