Create a DeFi position monitoring and alerting system.
Monitoring Requirements:
- Protocols to Monitor: ${{PROTOCOLS}}
- Position Types: ${{POSITION_TYPES}}
- Alert Preferences: ${{ALERT_CHANNELS}}
- Update Frequency: ${{UPDATE_FREQUENCY}}
Monitoring System:
1. **Data Collection**
```javascript
// Subgraph queries
// RPC calls
// Event monitoring
// Price feeds
```
2. **Position Tracking**
- LP positions
- Lending positions
- Staking positions
- Vault positions
3. **Risk Metrics**
- Health factors
- Liquidation prices
- IL calculations
- Exposure analysis
4. **Alert System**
- Threshold alerts
- Price alerts
- Health factor warnings
- Reward notifications
5. **Portfolio Analytics**
- Total value tracking
- PnL calculations
- APY tracking
- Historical performance
6. **Integration Options**
- Telegram bot
- Discord webhooks
- Email notifications
- Mobile push
7. **Dashboard Design**
- Position overview
- Risk dashboard
- Performance charts
- Transaction history
Include monitoring scripts and dashboard templates.Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{PROTOCOLS][{POSITION_TYPES][{ALERT_CHANNELS][{UPDATE_FREQUENCY]