Risk Management

This guide helps managers understand and mitigate risks when borrowing from Flux vaults. Learn how to monitor your positions, avoid liquidation, and operate safely with leverage.

Table of Contents


Understanding Your Risk Profile

Key Risk Metrics

As a manager, you need to monitor these critical metrics:

Health Ratio = Total Position Value / True Debt

Liquidation Threshold = 1 + minBondRatio - liquidationBuffer

Liquidatable When: Health Ratio < Liquidation Threshold

Example:

  • Bond: 20K USDC

  • Borrowed: 80K USDC (4x leverage)

  • Wrapper collateral: 50K USDC worth of WETH

  • Total position value: 70K USDC (20K bond + 50K WETH)

  • True debt: 85K USDC (with accrued interest)

  • Health ratio: 70K / 85K = 0.823 (82.3%)

  • Liquidation threshold: 110%

  • Status: LIQUIDATABLE ⚠️

Your Risk Parameters

Different vaults have different risk parameters. Check your vault's strategy:


Health Monitoring

Real-Time Monitoring

Set up continuous monitoring to avoid surprises:

Alert Thresholds

Set up alerts at different safety levels:

Health Ratio
Status
Action Required

> 140%

Safe

Monitor normally

125-140%

Caution

Increase monitoring frequency

115-125%

Warning

Consider reducing leverage or adding collateral

110-115%

Danger

Urgent action needed - reduce position immediately

< 110%

Liquidatable

Position will be liquidated

Monitoring Tools

Option 1: Simple Script

Option 2: Monitoring Service

  • Set up alerts via PagerDuty, Telegram, Discord

  • Use Tenderly alerts for on-chain monitoring

  • Subscribe to Flux SDK event notifications (if available)

Option 3: Dashboard

  • Build custom dashboard with health metrics

  • Display real-time collateral values

  • Show time-until-liquidation estimates


Liquidation Prevention

Strategy 1: Maintain Safety Buffer

Never operate at minimum health ratio. Always maintain a buffer above the liquidation threshold:

Why?

  • Asset prices can drop suddenly

  • Interest accrues continuously

  • Slippage when adding collateral

  • Network congestion can delay transactions

Strategy 2: Add Collateral Proactively

Don't wait until liquidation is imminent:

Strategy 3: Reduce Debt

Pay down debt to improve health ratio:

Strategy 4: Rebalance Collateral

If some collateral assets are falling, rebalance to stronger assets:

Strategy 5: Emergency Exit

If market conditions deteriorate rapidly, close your position:


ADL Prevention

Understanding ADL

Auto-Deleveraging (ADL) is triggered when:

  1. Vault utilization is high (e.g., > 90%)

  2. Your health ratio is below ADL threshold (e.g., < 120%)

  3. You still have positive equity

Unlike liquidation, with ADL:

  • You get your full net equity back

  • No liquidation penalty

  • But your position is force-closed

ADL Monitoring

Avoiding ADL

Prevention Strategies:

  1. Monitor vault utilization

    • If utilization > 85%, increase your safety margin

    • Consider partial position closure

  2. Maintain higher health ratios during high utilization

  3. Voluntary deleveraging

    • Reduce position size proactively

    • Better to control your exit than be ADL'd


Leverage Management

Understanding Leverage

Your effective leverage depends on your bond ratio:

Dynamic Leverage Adjustment

Adjust leverage based on market conditions:


Multi-Asset Position Risks

Correlation Risk

Holding correlated assets provides less diversification:

High Correlation (Risky):

  • WETH + stETH + rETH (all ETH derivatives)

  • If ETH drops, entire position drops

Low Correlation (Better):

  • USDC + WETH + WBTC (different assets)

  • Diversified price movements

Liquidity Risk

Not all assets are equally liquid:

High Liquidity (Safe):

  • USDC, USDT, DAI

  • WETH, WBTC

  • Major protocol tokens (UNI, AAVE)

Lower Liquidity (Risky):

  • Exotic LP tokens

  • NFTs

  • Small-cap tokens

Problem: Low liquidity assets may not be sellable during liquidation, causing bad debt.

Volatility Concentration

Rebalancing Multi-Asset Positions

Periodically rebalance to maintain target allocation:


Market Condition Monitoring

Price Oracle Monitoring

Your collateral is valued using oracles. Monitor for:

Oracle Staleness:

Oracle Deviations:

  • Check if oracle price differs significantly from market price

  • Large deviations can indicate oracle issues

  • Compare Chainlink price vs DEX spot price

Volatility Monitoring

Track market volatility to adjust risk:

On-Chain Liquidity Monitoring

Monitor DEX liquidity for your collateral assets:


Emergency Procedures

If Health Drops Below 115%

Immediate Actions (within 1 hour):

  1. Add collateral

    • Transfer from your wallet

    • Deposit via locked_depositBond() or locked_depositToWrapper()

  2. Reduce debt

    • Sell assets and repay

    • Move bond to working capital

  3. Rebalance to stables

    • Swap volatile assets to USDC

    • Reduces downside risk

If Health Drops Below 112% (Critical)

Urgent Actions (within 15 minutes):

  1. Emergency collateral injection

  2. Partial position close

  3. Stop loss execution

    • If you can't stabilize, better to exit than be liquidated

    • Liquidation penalty > exit costs

If Liquidatable (Health < 110%)

Your position will be liquidated by bots. At this point:

  1. Accept the loss

    • Fighting liquidation is expensive

    • Network fees + slippage may exceed liquidation penalty

  2. Learn from it

    • What went wrong?

    • How to prevent next time?

    • Update monitoring and risk rules


Tools and Resources

Calculation Helpers

Health Ratio Calculator:

Required Collateral Calculator:

Interest Projection:

Last updated