Let's talk about the two types of oracle models.
Push-based price feeds generally update when the price deviates beyond a set threshold or at a fixed heartbeat interval.
To be honest, I only learned this later: when using pull-based price feeds in DeFi applications, you need to check the feed's update time and confidence interval. Don't use data that's too old or has too wide a confidence interval.
$PYTH is the token of Pyth, an oracle network designed around a pull-based model. Current price: 0.05351.
Markets are always full of surprises, so decide in advance what to do if your judgment turns out to be wrong.
Push-based price feeds generally update when the price deviates beyond a set threshold or at a fixed heartbeat interval.
To be honest, I only learned this later: when using pull-based price feeds in DeFi applications, you need to check the feed's update time and confidence interval. Don't use data that's too old or has too wide a confidence interval.
$PYTH is the token of Pyth, an oracle network designed around a pull-based model. Current price: 0.05351.
Markets are always full of surprises, so decide in advance what to do if your judgment turns out to be wrong.