TWAP Oracle
Aug 31, 2026
Reference
Every conversion Ordo makes is priced against a time-averaged price rather than the price in the block it lands in.
Why spot is not enough
A pool's spot price is whatever the last trade left behind, and on a thin market that is a number anyone with enough capital can move for a single block. A router transaction priced on spot is free money for whoever is watching the mempool: push the price, let the route fill at it, push it back.
The band
The oracle publishes an average over a window rather than an instant. A conversion executes only while spot sits inside a tolerance around that average. Outside the band the route simply does not fire.
What that costs you
In a market that is genuinely moving fast, the guard will refuse to route. That is the intended behaviour, not a failure: a missed cadence costs a delay, a manipulated fill costs the pool. The next window picks it up.
What it is not
It is not a price feed for anything outside Ordo, and it cannot protect a swap you make yourself. It guards the protocol's own conversions and nothing else.