Smart contracts can't see off-chain prices themselves. How do those prices get on-chain?
Smart contracts on the blockchain can't access internet data on their own. They rely on oracles to bring external data on-chain—this is what's commonly known as the “oracle problem.”
Don't laugh—I only learned this after taking a loss myself.
If you don't understand a product, avoid taking a large position in it. It's safer to try it out with a small amount.
$LINK 8.818 (+4.1%)

This does not constitute investment advice. You are responsible for any gains or losses.