Skip to Content
StrategiesAggregation

Oracle Aggregation Strategies

Implementations

Minimum

An observation aggregation strategy that calculates the minimum price and the total liquidity of the observations.

Maximum

An observation aggregation strategy that calculates the maximum price and the total liquidity of the observations.

Median

An observation aggregation strategy that calculates the median 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.

Last updated on