How do DeFi protocols know how much your collateral is worth?
Lending and derivatives protocols use prices provided by oracles to calculate collateral value and trigger liquidations.
When prices rise or fall sharply, oracle prices may differ slightly from exchange quotes, so leave enough of a buffer in your lending positions.
$LINK is the token of the Chainlink oracle network.
If anything is unclear, ask in the comments.