Hello, i just checked the code and i think the issue is very specific to AMPL (although agree that it could be more obvious that the chart renders 6h avg).
It updates every 5 minutes and the 6h is just a resolution setting to limit the dots to be rendered - it could be lowered to 1h, but i think the 6h setting was chosen to reduce noise in the chart.
There are multiple issues with the utilization though:
- the data is based on thegraph an apparently for
AMPL(at least)the utilization data is completely broken. Currently utilization is ~85%, and the graph shows sth around ~ 56% https://thegraph.com/hosted-service/subgraph/aave/protocol-v2?selected=playground
There are even data-points where the utilization for AMPL is negative.
// in case you want to check yourself
{
reserves{
symbol
utilizationRate
}
}
- while deposit/ variable apy are based on accrued index calculation and therefore should be pretty accurate, the utilization on the other hand is just a snapshot taken every 5min (ignoring what happens in between) - didn’t do the math, but can’t imagine this has a huge impact aave-api/RatesHistory.ts at master · aave/aave-api · GitHub
edit: just digged a little and supply is also wrong and therefore apy probably as well. will create a pr to disable the charts on ampl for now

