How Do Lending Protocols Specifically Use Oracles to Calculate Collateralization Ratios?

Lending protocols use oracles to obtain the real-time market value of both the collateral asset and the borrowed asset. The collateralization ratio is calculated as (Value of Collateral / Value of Loan).

The oracle's price is critical because if the collateral's value drops below a certain threshold (the liquidation ratio), the protocol's smart contract automatically allows for the collateral to be liquidated to repay the loan.

How Does the Leverage Ratio in Derivatives Trading Determine the Trigger Point for a Liquidation Cascade?
What Is the Significance of the Loan-to-Value (LTV) Ratio in a Smart Contract Loan?
How Does an NFT-backed Loan Compare to a Traditional Margin Loan on a Security?
Explain the Concept of the “Liquidation Ratio” in DeFi Lending
What Is a “Flash Loan” and How Is It Used in Conjunction with Oracle Manipulation?
What Is a “Flash Loan” and How Does It Relate to Market Manipulation Risks on DEXs?
How Do Decentralized Lending Protocols Use Oracles for Liquidation of Collateral?
What Is the Difference between “Soft Liquidation” and “Hard Liquidation”?