Each pool has one Price Provider that returns a bid, an ask and a reference price. Providers can use Metric's shared Chainlink and Pyth feeds, the gas-optimised Compressed Oracle where market makers publish their own prices, or custom logic. If the provider can't quote, the pool rejects every swap, while deposits and withdrawals keep working.
The three prices#
| Input | Role |
|---|---|
| Bid | Price at which the pool buys the asset |
| Ask | Price at which the pool sells the asset |
| Reference | Sets 0% deviation; fees and markouts are measured from it |
Shared oracle infrastructure#
| Oracle | Who sets the price | Notes |
|---|---|---|
| Chainlink and Pyth | Chainlink or Pyth (signed updates) | Anyone can relay an update; the signature is checked. Only Metric pools and approved integrators can read them on chain |
| Compressed Oracle | The feed's creator or an updater they authorise | Up to four values per 32-byte word, about 8,000 gas per feed. Not independently verifiable |
| Multiplier Oracle | Pyth share price × the issuer's multiplier | For tokenized stocks; see tokenized stock pools |
When a pool stops trading#
- The latest update is older than the provider's staleness limit (capped at 7 days when created; Best Practices pools need 15 seconds or less).
- The feed reports itself stalled, too much uncertainty, or a price outside its configured range.
- The provider reverts or returns no valid price. Metric calls halting an accepted safe state.
Anchored pricing#
An Anchored Price Provider takes its reference from Chainlink or Pyth and clamps the curator's quotes: they can be wider than the oracle price, never through it. In the docs' example, with a $100 reference and limits of $99 and $101, a strategy proposing $99.50 / $100.50 is clamped to $99 / $101. That's a key part of the Best Practices tier.
Metric's docs warn that a quote can pass the pool's checks and still trade at a bad price, and a misleading reference can inflate reported markouts. See risks.
FAQ#
What oracles does Metric use?
Shared Chainlink and Pyth feeds, a Compressed Oracle where market makers publish their own prices, and a Multiplier Oracle for tokenized stocks. Providers can also use custom logic.
What happens if a Metric pool's oracle goes stale?
Once the latest update is older than the provider's staleness limit, the provider halts and the pool rejects swaps. Deposits and withdrawals still work, subject to the pool's extensions.
Sources checked
- Metric docs: Price Providers
- Metric docs: oracles
- Metric docs: anchored standard
- Metric docs: freshness and ordering
All checked on 28 Nov 2026. Metric can change its product, docs and terms at any time; always confirm in the app and the official docs.
Disclosure: this site is independent and uses referral links. Not financial advice. Providing liquidity can lose your entire deposit. Details.