How does a smart contract know off-chain prices? Don’t panic, your class rep is here:
Price feed updates are generally triggered when the price changes beyond a set threshold or when a certain heartbeat interval passes.
Using the instantaneous price of a single DEX pool as a price feed carries significant risks: when the pool is shallow, a single flash-loan transaction can skew the price.
When I first got into the space, I thought just knowing how to read candlesticks would be enough, but I realized rules are the first lesson.
$LINK 12.942(+0.44%)

#LINK

This is only a record and share, not investment advice.