Oracle
Loading the chart.
Where this price comes from
Loading.
| Source | Latest price | Age | Used |
|---|
Show the method
How a trade settles
Exact rule
Recent settlements
| Expiry | Settled at | How | Sources | Record |
|---|---|---|---|---|
| Loading. | ||||
Check a settlement yourself
- Open its record and remove
hashandsignature. - Write the rest as JSON with keys sorted and no spaces, and take its SHA-256. It must equal
hash. - Check
signature(Ed25519, base64) over the hash bytes with the public key below. - The values it lists must give its price by its stated method.
–Public key
How the oracle works
What an oracle is
A market’s oracle is its official price: the one price every trade on it settles on. Omnibook reads it from outside sources, venues and publishers anyone can check, so nobody on Omnibook can move it by trading here.
One price from several sources
Each source is read on Omnibook’s own clock. A source counts only while its reading is fresh (seconds old, by the venue’s own time where it gives one) and close to the others (inside a band around their median). The price is the median of the sources that count, and it needs a minimum number of them, the quorum. With fewer, the market has no price and trading pauses.
How a trade settles
A trade settles on the first official price at or after it ends. Nothing is averaged over time. With no price within 5 minutes of the end, the trade is void and both sides get their money back. GPU markets are daily: they settle on the first daily value dated at or after the end, and are void if none comes within 5 days.
Every settlement is signed
Each settlement, a void included, is a record signed with Omnibook’s Ed25519 key. It lists the market, the end time, every source’s value and whether it counted, and the price. Anyone can check one with this script (Node 18 or later):