Lifecycle
Anything still resting when a round freezes is cancelled for you.
round_number vs market_id
Prices
strike and settle_price are integers in units of 1e-8 USD. A strike of
6399240000000 is $63,992.40.
Contract prices are different: integer ticks from 1 to 99, in cents,
representing implied probability. See
Placing orders.
Settlement
At freeze, the round’s settle price is a true time-weighted average (TWAP) of the sequenced oracle BTC price over the last N seconds of the round (default N = 10, or per-series viatwap_window_by_category; each round
row exposes the resolved twap_window_secs).
winner becomes "yes" if that TWAP is strictly above the strike, "no"
otherwise (exact equality settles "no"). Winning contracts pay 100¢, losing
ones 0¢.
fresh_source_count_at_freeze reports how many independent price sources were
live at freeze — useful if you want to weight your confidence in a settlement.
Reading rounds
GET /v1/rounds?limit=1 returning status: "trading" is the normal way to find
what to trade right now.
Categories
category groups rounds into series. Today the BTC 60-second series is
category 1. Filter on it if you only care about one series.