Skip to main content

Risk Framework

Quantitative risk scoring and capital adequacy

PercoSec's risk model evaluates each perpetual market on four quantitative dimensions. Scores determine capital requirements, premium rates, and insolvency thresholds.

Risk Score Formula

The composite risk score is computed as a weighted linear combination of four market-specific indicators. Each factor is normalized to a 0–1 scale before aggregation. The score updates on each epoch (every 15 minutes by default).

Risk Score = 0.35 · Leverage + 0.25 · (OI / Liquidity) + 0.20 · Volatility + 0.20 · Funding Variance

Score range: 0.00 (lowest risk) to 1.00 (extreme risk). Scores above 0.75 trigger automatic market restriction.

Factor Definitions

L

Leverage Concentration

weight0.35

Weighted average leverage across all open positions in the market. Higher leverage multiplies both gains and losses, increasing the probability of rapid position degradation and liquidation cascades.

Measured as the volume-weighted mean leverage ratio. A market where 60% of open interest carries 20x leverage scores significantly higher than one averaging 5x.

Unit: Ratio (1x–100x normalized to 0–1)

OI/L

Open Interest / Liquidity Ratio

weight0.25

The ratio of total open interest to available on-book liquidity depth. A high ratio means that closing large positions will cause significant market impact, increasing liquidation deficit risk.

Liquidity depth is measured as the sum of bid and ask liquidity within 2% of the oracle price. Ratios above 0.7 are flagged as high concentration risk.

Unit: Dimensionless ratio (0–1+)

V

Realized Volatility

weight0.20

30-day realized volatility of the underlying asset, computed from on-chain oracle price feeds. High volatility increases the probability that price moves will outpace liquidation engine response time.

Calculated as annualized standard deviation of log returns over the trailing 30 days, sampled at 15-minute intervals from the protocol's oracle source.

Unit: Annualized % (normalized to 0–1 above 200% threshold)

FV

Funding Rate Variance

weight0.20

Variance in the 8-hour funding rate over the trailing 30 days. High variance indicates sustained directional imbalance or speculative positioning, both of which increase systemic stress probability.

Computed as the population variance of the funding rate time series. Markets with persistent positive or negative funding rates score higher than balanced markets.

Unit: Basis points² (normalized)

Risk Grade Bands

Risk scores are mapped to four operational grades. Each grade carries specific reserve requirements, premium multipliers, and operational restrictions.

Risk grade bands with corresponding reserve ratios and premiums
GradeScore RangeReserve RatioPremium RateStatus
Low0.00 – 0.305–8%Base rateStable market with conservative leverage, balanced positioning, and low historical volatility. Standard reserve requirements apply.
Moderate0.31 – 0.558–12%+25–50% above baseElevated risk from one or more factors. Heightened monitoring required. Pool utilization may be restricted above 70%.
High0.56 – 0.7512–20%+75–150% above baseSignificant risk across multiple dimensions. New capital deposits restricted. Existing positions may trigger increased margin requirements.
Extreme0.76 – 1.0020%+ (capped)Market suspendedImminent insolvency risk. New position opening halted. Liquidation engine put on heightened alert. Insolvency handler on standby.

Insolvency Threshold and Reserve Ratios

Insolvency Trigger Definition

A market enters insolvency state when the realized deficit from a liquidation event exceeds the market-specific insolvency threshold parameter set at deployment.

Deficit = Entry Price - Liquidation Fill Price
Claim triggers when: Deficit > Threshold × Position Size

Reserve Ratio Calculation

The minimum reserve ratio is the fraction of total open interest that must be maintained in the insurance pool at all times. The ratio scales with the market's current risk score.

Min Reserve = Base Rate × (1 + Risk Score)
Pool Utilization = Active Coverage / Pool TVL

Pool Utilization Model

Pool utilization determines available coverage capacity and dynamically adjusts premium rates to attract more capital when utilization is high. The model prevents over-leveraging the insurance pool relative to its capitalization.

0% – 50% Utilization

Normal operation. Premium multiplier: 1.0x. New deposits and withdrawals unrestricted.

50% – 70% Utilization

Elevated utilization. Premium multiplier increases to 1.25x. Withdrawal requests queued to next epoch.

70% – 85% Utilization

High utilization. Premium multiplier: 1.75x. New coverage issuance paused for high-risk markets.

85% – 100% Utilization

Critical utilization. Premium multiplier: 3.0x. All new coverage paused. Insolvency handler on standby.

Stress Scenario Modeling

The following scenarios define the design envelope for the protocol's capital adequacy model. Pool reserve requirements are calibrated to withstand each scenario independently.

Oracle Flash Crash

Trigger

Asset price drops 30% in under 60 seconds

Market Impact

Simultaneous liquidations across all long positions

Pool Response

Liquidation penalties recouped; deficit absorbed up to pool cap

Expected Outcome

Covered if deficit < 15% of pool TVL

Liquidation Bot Failure

Trigger

Keeper network goes offline for >5 minutes during extreme volatility

Market Impact

Positions cross maintenance margin with no executor

Pool Response

Deficit accumulates; handler program activates on-chain fallback

Expected Outcome

Covered up to reserve ratio; socialized above cap

Correlated Market Cascade

Trigger

Multiple BTC/ETH perp markets breach insolvency simultaneously

Market Impact

Cross-market bad debt exceeds single-pool reserves

Pool Response

Per-market pools pay independently; no cross-contamination

Expected Outcome

Isolated per market; Phase 2 cross-pool reinsurance addresses at scale

Sustained Funding Imbalance

Trigger

Directional market bias persists for >14 days

Market Impact

Funding payments drain minority side; potential de-listing pressure

Pool Response

Premium rates automatically escalate with funding variance score

Expected Outcome

Incentive mechanism corrects imbalance before insolvency threshold