Risk Monitoring Systems
Learning Objectives
Design a monitoring architecture covering all risk dimensions
Define alert thresholds with appropriate severity levels
Build monitoring dashboards that surface actionable information
Establish review cadences for different monitoring activities
Implement automated alerts using available tools
Analysis without monitoring is a snapshot. Risks evolve continuously.
WHY MONITORING MATTERS
The analysis decay problem:
├── Day 0: You analyze a protocol, score 8/10
├── Day 30: Team member leaves (unknown to you)
├── Day 60: Competitor protocol gets exploited (same code)
├── Day 90: Governance proposal passes (you didn't vote)
├── Day 120: Protocol is exploited
└── Your day-0 analysis didn't predict day-120
What changes:
├── Protocol parameters
├── Team composition
├── TVL and liquidity
├── Security landscape
├── Competitive dynamics
├── Regulatory environment
├── Market conditions
└── Everything, constantly
The solution:
├── Systematic monitoring
├── Automated alerts
├── Regular reviews
├── Updated assessments
└── Continuous awareness
```
COMPREHENSIVE MONITORING ARCHITECTURE
Layer 1: Market Monitoring
├── Price movements (XRP, BTC, ETH)
├── Market sentiment indicators
├── Volume trends
├── Correlation changes
├── Macro factors
└── Frequency: Real-time to daily
Layer 2: Protocol Monitoring
├── TVL changes
├── Governance proposals
├── Parameter changes
├── Team announcements
├── Security advisories
├── Audit updates
└── Frequency: Daily to weekly
Layer 3: Position Monitoring
├── Position values
├── Yield performance
├── Collateral ratios
├── Liquidity metrics
├── IL tracking
├── Fee accrual
└── Frequency: Daily
Layer 4: Counterparty Monitoring
├── Stablecoin peg status
├── Bridge health
├── Oracle status
├── Issuer announcements
├── Regulatory news
└── Frequency: Daily to weekly
Layer 5: System Monitoring
├── Network congestion
├── Gas prices
├── Transaction success
├── Wallet security
├── Access controls
└── Frequency: Real-time to daily
```
DATA SOURCE TAXONOMY
On-Chain Data:
├── Block explorers (XRPScan, Etherscan)
├── Protocol dashboards
├── DeFi aggregators (DefiLlama, DeFi Pulse)
├── On-chain analytics (Dune, Nansen)
└── Direct RPC queries
Off-Chain Data:
├── Protocol announcements (blogs, Twitter)
├── Governance forums
├── Discord/Telegram channels
├── News aggregators
├── Security feeds
└── Regulatory news
Price Data:
├── Exchange feeds
├── Aggregators (CoinGecko, CoinMarketCap)
├── Oracle feeds (Chainlink)
├── DEX prices
└── OTC quotes for large positions
Aggregated Services:
├── Portfolio trackers (DeBank, Zapper)
├── Alert services (various)
├── Security monitors
├── Governance aggregators (Tally, Snapshot)
└── Custom dashboards
SOURCE RELIABILITY RANKING:
├── On-chain data: Highest (verifiable)
├── Official announcements: High
├── Aggregator data: Medium-high
├── Social media: Medium (verify)
├── Anonymous tips: Low (verify extensively)
```
TOOL SELECTION FRAMEWORK
For Market Monitoring:
├── TradingView: Charts, alerts
├── CoinGecko/CMC: Prices, market cap
├── Exchange apps: Quick checks
├── Custom alerts via APIs
└── Recommendation: TradingView for alerts
For Protocol Monitoring:
├── DefiLlama: TVL tracking across protocols
├── Protocol native dashboards
├── Governance tools (Tally, Snapshot)
├── Twitter lists for official accounts
└── Recommendation: DefiLlama + Twitter
For Position Monitoring:
├── DeBank: Multi-chain portfolio
├── Zapper: Portfolio + opportunities
├── Protocol dashboards: Position details
├── Spreadsheet: Custom tracking
└── Recommendation: DeBank + spreadsheet
For Counterparty Monitoring:
├── Stablecoin trackers (Circle attestations)
├── Bridge dashboards
├── Oracle status pages (Chainlink)
├── Regulatory news feeds
└── Recommendation: Mix based on exposure
For Alert Automation:
├── TradingView alerts (price-based)
├── DefiLlama alerts (TVL)
├── Custom webhooks
├── IFTTT/Zapier integrations
├── Telegram/Discord bots
└── Recommendation: Start simple, add complexity
```
THREE-TIER ALERT SYSTEM
LEVEL 1: INFORMATIONAL (Blue)
├── Purpose: Awareness, no action required
├── Response time: Next regular review
├── Examples:
│ ├── Price moved 5%
│ ├── TVL changed 10%
│ ├── New governance proposal submitted
│ ├── Weekly report available
│ └── Routine parameter change
└── Delivery: Email digest, dashboard
LEVEL 2: WARNING (Yellow)
├── Purpose: Attention needed, assess situation
├── Response time: Within 24 hours
├── Examples:
│ ├── Price moved 15%+
│ ├── TVL dropped 25%+
│ ├── Stablecoin off peg 1%+
│ ├── Governance proposal affecting you
│ ├── Protocol security advisory
│ ├── Unusual on-chain activity
│ └── Collateral ratio approaching threshold
└── Delivery: Push notification, SMS
LEVEL 3: CRITICAL (Red)
├── Purpose: Immediate action required
├── Response time: Within 1 hour
├── Examples:
│ ├── Price crashed 30%+
│ ├── TVL collapsed 50%+
│ ├── Stablecoin de-peg 5%+
│ ├── Protocol exploit reported
│ ├── Bridge incident
│ ├── Liquidation imminent
│ ├── Position significantly impaired
│ └── Emergency governance action
└── Delivery: Phone call, multiple channels
```
COMPREHENSIVE ALERT THRESHOLDS
MARKET ALERTS:
├── XRP price change:
│ ├── L1: ±5% in 24hr
│ ├── L2: ±15% in 24hr
│ └── L3: ±30% in 24hr
├── Portfolio value change:
│ ├── L1: ±5% in 24hr
│ ├── L2: ±15% in 24hr
│ └── L3: ±30% in 24hr
└── Correlation spike: L2 if correlation >0.9
PROTOCOL ALERTS:
├── TVL change:
│ ├── L1: -10% in 7 days
│ ├── L2: -25% in 7 days
│ └── L3: -50% in 24 hours
├── Governance:
│ ├── L1: Any new proposal
│ ├── L2: Proposal affecting parameters you use
│ └── L3: Emergency/treasury proposal
├── Security:
│ ├── L1: Minor advisory
│ ├── L2: Medium advisory, similar protocol exploited
│ └── L3: Protocol-specific exploit/incident
└── Team:
├── L1: New hire announcement
├── L2: Key departure
└── L3: Multiple departures, legal issues
POSITION ALERTS:
├── Value change:
│ ├── L1: -5%
│ ├── L2: -15%
│ └── L3: -30%
├── Yield change:
│ ├── L1: -20% from average
│ ├── L2: -50% from average
│ └── L3: Near zero or negative
├── Collateral ratio (if leveraged):
│ ├── L1: <200%
│ ├── L2: <150%
│ └── L3: <130% (near liquidation)
└── Liquidity (position % of pool):
├── L1: >3%
├── L2: >5%
└── L3: >10%
COUNTERPARTY ALERTS:
├── Stablecoin peg:
│ ├── L1: >0.5% deviation
│ ├── L2: >1% deviation
│ └── L3: >3% deviation
├── Oracle:
│ ├── L1: Delayed update
│ ├── L2: >5% deviation from market
│ └── L3: Stale or >10% deviation
└── Bridge:
├── L1: Elevated activity
├── L2: Security advisory
└── L3: Incident reported
```
ALERT RESPONSE PLAYBOOK
LEVEL 1 RESPONSE:
├── Acknowledge: Note in log
├── Assess: Is this expected/explained?
├── Action: Usually none, update monitoring
├── Document: Record observation
└── Time: Next regular review
LEVEL 2 RESPONSE:
├── Acknowledge: Immediate notification received
├── Assess:
│ ├── What caused this?
│ ├── Is it worsening?
│ ├── What's the impact on my positions?
│ └── What's the risk of escalation?
├── Action:
│ ├── Increase monitoring frequency
│ ├── Review affected positions
│ ├── Prepare contingency plans
│ └── Consider partial de-risking
├── Document: Record situation and response
└── Time: Within 24 hours
LEVEL 3 RESPONSE:
├── Acknowledge: Immediate (within minutes)
├── Assess (rapid):
│ ├── What happened?
│ ├── Is my capital at immediate risk?
│ ├── Can I exit? Should I?
│ └── What's my exposure?
├── Action:
│ ├── Execute emergency procedures if needed
│ ├── Exit at-risk positions
│ ├── Move funds to safety
│ └── Protect capital first, analyze later
├── Document: Record everything
├── Post-incident: Full review within 48 hours
└── Time: Within 1 hour, often minutes
```
RISK MONITORING DASHBOARD STRUCTURE
SECTION 1: Portfolio Overview
┌─────────────────────────────────────────┐
│ Total Value: $______ Change: % │
│ DeFi Value: $____ Change: __% │
│ Active Alerts: ___ Status: ___ │
│ Last Updated: ___ │
└─────────────────────────────────────────┘
SECTION 2: Position Summary
┌─────────────────────────────────────────┐
│ Position | Value | Change | Score |Alert│
│ ─────────┼───────┼────────┼───────┼─────│
│ Pos 1 │ $ │ % │ /10 │ 🟢 │
│ Pos 2 │ $ │ % │ /10 │ 🟡 │
│ Pos 3 │ $ │ % │ /10 │ 🟢 │
│ ... │ │ │ │ │
└─────────────────────────────────────────┘
SECTION 3: Risk Metrics
┌─────────────────────────────────────────┐
│ Concentration HHI: _____ (limit: 0.25) │
│ Effective Positions: _____ (target: >4) │
│ VaR (95%, 30d): $______ │
│ Max Counterparty: ___% (limit: 25%) │
│ Status: PASS / WARN / FAIL │
└─────────────────────────────────────────┘
SECTION 4: Key Indicators
┌─────────────────────────────────────────┐
│ XRP Price: $_____ (24h: %) │
│ Market Sentiment: _____ │
│ USDC Peg: $___ (dev: %) │
│ RLUSD Peg: $__ (dev: ___%) │
│ Gas/Fees: Normal / Elevated / High │
└─────────────────────────────────────────┘
SECTION 5: Active Alerts
┌─────────────────────────────────────────┐
│ 🔴 [Critical]: Description │
│ 🟡 [Warning]: Description │
│ 🔵 [Info]: Description │
└─────────────────────────────────────────┘
SECTION 6: Upcoming Events
┌─────────────────────────────────────────┐
│ • Governance vote ends: [date] │
│ • Time lock execution: [date] │
│ • Protocol upgrade: [date] │
│ • Review scheduled: [date] │
└─────────────────────────────────────────┘
```
IMPLEMENTATION APPROACHES
Option 1: Spreadsheet Dashboard
├── Tool: Google Sheets or Excel
├── Pros: Free, customizable, familiar
├── Cons: Manual updates, limited automation
├── Best for: Starting out, simple portfolios
└── Setup time: 2-4 hours
Implementation:
├── Sheet 1: Position inventory (manual)
├── Sheet 2: Calculations (formulas)
├── Sheet 3: Dashboard view
├── Price feeds: Google Finance or manual
├── Alerts: Conditional formatting
└── Update: Manual, daily
Option 2: Portfolio Tracker + Spreadsheet Hybrid
├── Tool: DeBank/Zapper + Spreadsheet
├── Pros: Auto position tracking, custom analysis
├── Cons: Some manual work, multiple tools
├── Best for: Medium complexity
└── Setup time: 3-5 hours
Implementation:
├── Tracker: Auto position values
├── Spreadsheet: Risk calculations
├── Manually sync key data points
├── Alerts: TradingView for prices
└── Update: Semi-automated, daily
Option 3: Custom Dashboard
├── Tool: Python + APIs + Visualization
├── Pros: Fully automated, customizable
├── Cons: Technical skills required, maintenance
├── Best for: Large portfolios, technical users
└── Setup time: 10-20+ hours
Implementation:
├── Data: API pulls from multiple sources
├── Database: Store historical data
├── Calculations: Automated scripts
├── Visualization: Grafana, custom web app
├── Alerts: Programmatic with notifications
└── Update: Automated, real-time possible
```
MVP DASHBOARD (Spreadsheet)
REQUIRED ELEMENTS:
Tab 1: Positions
| Position | Protocol | Asset | Value | % | Score | Last Review |
|---|---|---|---|---|---|---|
| Manual entry, update weekly |
Tab 2: Key Metrics
├── Total value: =SUM(position values)
├── Position HHI: =SUMPRODUCT(weights^2)
├── Effective N: =1/HHI
├── Largest position: =MAX(weights)
├── Top 3: =LARGE(weights,1)+LARGE(weights,2)+LARGE(weights,3)
└── All from formulas, auto-calculate
Tab 3: Counterparty Exposure
| Counterparty | Positions | Total Exposure | Limit | Status |
|---|---|---|---|---|
| Calculated from position data |
Tab 4: Alert Log
| Date | Level | Description | Action Taken | Resolved |
|---|---|---|---|---|
| Manual entry |
Tab 5: Dashboard View
├── Summary metrics from Tab 2
├── Position table from Tab 1
├── Alerts from Tab 4
├── Conditional formatting for limits
└── Visual indicators (red/yellow/green)
TIME TO BUILD: 2-3 hours
UPDATE TIME: 15-30 minutes weekly
---
MONITORING REVIEW SCHEDULE
CONTINUOUS (Automated):
├── Price alerts
├── Critical alerts
├── System health
└── Runs 24/7
DAILY (5-10 minutes):
├── Check alert dashboard
├── Quick portfolio value check
├── News scan (headlines only)
├── Any Level 2+ alerts?
└── Morning routine
WEEKLY (30-60 minutes):
├── Full dashboard update
├── Position value reconciliation
├── Concentration check
├── Protocol news review
├── Governance proposal review
├── Alert log review
└── Weekend preferred
MONTHLY (2-3 hours):
├── Complete portfolio analysis
├── Protocol score updates
├── Stress test refresh
├── Counterparty review
├── Performance review
├── Strategy assessment
└── First weekend of month
QUARTERLY (Half day):
├── Comprehensive review
├── Framework refinement
├── Risk tolerance check
├── Major rebalancing decisions
├── Goal review
├── Process improvement
└── Calendar quarterly
ANNUAL (Full day):
├── Complete framework overhaul
├── Risk methodology review
├── Historical performance analysis
├── Strategy evolution
├── Documentation update
├── Next year planning
└── Year-end
```
WEEKLY REVIEW CHECKLIST
□ Dashboard updated with current values
□ Position values reconciled
□ Concentration metrics checked
□ Position HHI < 0.25
□ No position > 25%
□ Top 3 < 60%
□ Counterparty exposure checked
□ No counterparty > 25%
□ Stablecoin issuer < 40%
□ Protocol updates reviewed
□ Governance proposals
□ Team announcements
□ Security news
□ Alert log reviewed
□ Any unresolved alerts?
□ Patterns in alerts?
□ Market conditions noted
□ Any action items identified
□ Next review scheduled
Time: 30-60 minutes
MONTHLY REVIEW CHECKLIST
□ All weekly items completed
□ Protocol scores reviewed/updated
□ Any material changes?
□ New information incorporated?
□ Stress tests refreshed
□ Parameter updates
□ New scenarios if needed
□ Results within tolerance?
□ Counterparty deep review
□ Stablecoin health
□ Bridge status
□ Oracle performance
□ Performance analysis
□ Returns vs. expectations
□ Risk-adjusted performance
□ Fees and costs
□ Position sizing review
□ Still appropriate?
□ Rebalancing needed?
□ Strategy assessment
□ Thesis still valid?
□ Adjustments needed?
□ Documentation updated
□ Learning captured
Time: 2-3 hours
```
ESCALATION FRAMEWORK
When to escalate monitoring:
Normal → Enhanced:
├── Level 2 alert received
├── Market volatility elevated
├── Protocol-specific concern
├── Approaching position limits
└── Action: Daily → Multiple daily checks
Enhanced → Active:
├── Level 3 alert received
├── Multiple Level 2 alerts
├── Significant market stress
├── Position at risk
└── Action: Continuous monitoring, prepare action
Active → Crisis:
├── Multiple Level 3 alerts
├── Position materially impaired
├── System failure indicators
├── Unable to exit normally
└── Action: Execute emergency procedures
De-escalation:
├── Crisis → Active: Immediate threat resolved
├── Active → Enhanced: Situation stabilizing
├── Enhanced → Normal: Back to baseline
└── Each level: Wait 24-48 hours stable
ESCALATION COMMUNICATION:
├── Self: Immediate awareness
├── Family: If crisis affects household
├── Advisors: If professional advice needed
├── Community: If shared risk information helpful
└── Regulators: If required (rare for retail)
---
✅ Monitoring catches problems early. Many losses could have been prevented with better monitoring.
✅ Automated alerts outperform manual checking. Humans miss things; automation doesn't.
✅ Regular reviews maintain awareness. Scheduled reviews prevent drift.
⚠️ Optimal alert thresholds. Too many alerts cause fatigue; too few miss events.
⚠️ Tool reliability. Third-party tools can fail or provide wrong data.
⚠️ Response speed requirements. How fast is fast enough varies.
📌 Alert fatigue. Too many alerts leads to ignoring them all.
📌 False security from dashboards. Dashboard green doesn't mean safe.
📌 Monitoring without action. Seeing problems but not responding.
Assignment: Build and implement your personal risk monitoring system.
Requirements:
Dashboard (MVP acceptable)
Alert configuration
Review schedule
First week implementation
Time investment: 4 hours setup + ongoing maintenance
1. What's the appropriate response time for a Level 2 (Warning) alert?
A) Next monthly review B) Within 24 hours C) Within 1 hour D) Immediate (minutes)
Correct Answer: B
2. Your stablecoin shows 1.5% peg deviation. What alert level?
A) Level 1 (Info) B) Level 2 (Warning) C) Level 3 (Critical) D) No alert
Correct Answer: B (>1% is L2, >3% is L3)
3. How often should the full risk dashboard be updated minimum?
A) Daily B) Weekly C) Monthly D) Quarterly
Correct Answer: B
End of Lesson 11
Key Takeaways
Five monitoring layers provide comprehensive coverage.
Market, protocol, position, counterparty, system.
Three-tier alerts enable prioritization.
Informational (blue), Warning (yellow), Critical (red).
Dashboards consolidate information.
Build MVP first, add complexity later.
Regular cadences prevent drift.
Daily quick check, weekly full review, monthly deep dive.
Response procedures must be pre-defined.
Know what to do before alerts fire. ---