Risk Factors
Each stablecoin risk score is calculated from the following factors:Factor | Description |
---|---|
Peg Deviation | Magnitude and frequency of price drifting from $1.00 |
Volume Volatility | Variance in trading volume over time |
Liquidity Change | TVL shifts across key pools and chains |
Collateral Quality | Risk level of the assets backing the stablecoin |
Sentiment Analysis | Social/media signals about stability or risk events |
Endpoints
GET /stress-test/scores
- Returns the current risk scores for all tracked stablecoins.
Example Response:
GET /stress-test/weights
- Returns the current weighting setup for each risk factor.
Example Response:
POST /stress-test/weights
- Allows updating the custom risk factor weights. (Admin access required.)
Notes
Risk Score Ranges:- 0–10 → Low Risk
- 10–20 → Moderate Risk
- 20+ → High Risk
- Prices are fetched from on-chain oracles and major exchanges.
- Updated periodically based on issuer disclosures and third-party audits.
- Risk scores are recalculated hourly or on major data events.