Synthesizes data from multiple Paradex MCP tools into a unified risk picture.
Answers the question: "Am I safe?" with specific numbers and actionable recommendations.
| Tool | Risk data it provides |
|---|---|
| --- | --- |
paradex_vault_account_summary | Margin usage, total equity, maintenance margin, available balance |
paradex_vault_positions | Open positions, unrealized PnL, entry prices, sizes |
paradex_vault_balance | Cash available for new positions |
paradex_market_summaries | Current prices, 24h changes, funding rates, volatility context |
paradex_markets | Position limits, margin params, price bands width |
paradex_bbo | Current prices for mark-to-market |
paradex_funding_data | Funding cost/income over time |
paradex_orderbook | Liquidity available for exit |
Pull paradex_vault_account_summary and compute:
Pull paradex_vault_positions and analyze:
Concentration risk:
Directional bias:
Unrealized P&L:
For each open position, estimate funding cost:
paradex_market_summariesReport:
For each position, check exit liquidity via paradex_orderbook:
Run simple what-if scenarios:
Price shock scenarios:
Calculation for each scenario:
For each position: position_size × price_change × direction_multiplier
Sum to get portfolio impact, subtract from equity, check against maintenance margin.
Correlation stress:
If user holds multiple crypto positions, note that crypto assets are highly correlated.
A -10% BTC move often means -12 to -20% in alts. Apply asset-specific beta adjustments:
Break down the day's P&L into components:
Compute an overall risk score (1-10) based on:
| Factor | Weight | Score 1 (Low Risk) | Score 10 (High Risk) |
|---|---|---|---|
| --- | --- | --- | --- |
| Margin utilization | 30% | <30% | >90% |
| Position concentration | 20% | No position >25% | Single position >60% |
| Effective leverage | 20% | <2x | >10x |
| Funding cost (daily) | 15% | Net positive | >0.2% of equity |
| Liquidity risk | 15% | All positions liquid | Major positions illiquid |
Weighted sum → Risk Score 1-10
## Risk Check — [Account/Vault]
🟢/🟡/🟠/🔴 **Risk Score: X/10**
| Metric | Value | Status |
|---|---|---|
| Margin Used | X% | 🟢/🟡/🟠/🔴 |
| Free Margin | $X | — |
| Net Exposure | $X (Xx leverage) | 🟢/🟡/🟠/🔴 |
| Largest Position | MARKET (X% of exposure) | 🟢/🟡 |
| Unrealized P&L | $X (X% of equity) | — |
| Daily Funding Cost | $X | — |
| Tightest Liquidation | MARKET @ $X (X% away) | 🟢/🟡/🟠/🔴 |
### Recommendations
- [specific, actionable items if risk is elevated]
## Full Risk Report — [Account/Vault]
### Account Overview
[equity, margin, free capital]
### Position Breakdown
[table of all positions with notional, direction, P&L, liquidation distance]
### Concentration Analysis
[exposure distribution chart/table]
### Funding Analysis
[per-position funding costs, net daily cost]
### Stress Test Results
[scenario table: -5%, -10%, -20% impact]
### Liquidity Assessment
[exit capacity per position]
### Recommendations
[prioritized list of risk-reducing actions]
mark price which can differ from last traded price
See margin-model.md for detailed Paradex margin formulas and risk scoring methodology.
共 1 个版本