Strategies
Aggregation

Oracle Aggregation Strategies

Implementations

Minimum

An observation aggregation strategy that calculates the minimum (opens in a new tab) price and the total liquidity of the observations.

Maximum

An observation aggregation strategy that calculates the maximum (opens in a new tab) price and the total liquidity of the observations.

Median

An observation aggregation strategy that calculates the median (opens in a new tab) price and the total liquidity of the observations.

Weighted mean (average)

An observation aggregation strategy that calculates weighted mean price and the total liquidity of the observations. By default, the weight of each observation is 1, making this a simple average.

Token weighted mean

An observation aggregation strategy that calculates the mean price weighted by the token liquidity of each observation, and the total liquidity of the observations.

Quote token weighted mean

An observation aggregation strategy that calculates the mean price weighted by the quote token liquidity of each observation, and the total liquidity of the observations.