On-Chain Loan Risk Analytics
Implementation Details
Class Names
OnChainLoanRiskAnalytics
LoanRiskQueryParams
LoanRiskData
Import Statement
pythonCopyEditfrom satoshi_terminal.models.on_chain_loan_risk_analytics import (
OnChainLoanRiskAnalytics,
LoanRiskQueryParams,
LoanRiskData,
)Parameters
protocol_name
str
Name of the lending protocol to analyze (e.g., Compound, MakerDAO).
None
False
collateral_threshold
float
Minimum collateral ratio to flag loans as at-risk.
1.2
True
time_horizon
int
Forward-looking window (in hours) for risk projection.
24
True
Data
protocol_name
str
Lending protocol being analyzed.
at_risk_loans
int
Number of loans below the collateral threshold.
largest_at_risk_loan
dict
Details of the largest at-risk loan (borrower, amount, collateral).
projected_liquidation_volume
float
Estimated total liquidation volume.
timestamp
datetime
Timestamp of the risk analysis.
Key Features
Real-Time Risk Monitoring: Identifies loans approaching or breaching collateral thresholds.
Liquidation Impact Simulation: Projects potential market impact of at-risk loans.
Protocol-Specific Insights: Tailored analytics for major lending platforms.
Last updated
