Skip to content
Mango Markets logoMango

Mango Markets risk engine

Built to survive the bad days

Leverage is only as good as the risk engine behind it. Mango Markets checks every account against strict per-token settings, filters oracle prices, caps how fast any pool can be drained, and liquidates in small steps instead of all at once.

SOL Parameters

Init Asset/Liability Weight0.80 | 1.20

Maint Asset/Liability Weight0.90 | 1.10

Borrow Fee0.05%

Liquidation Fee5.00%

Deposit/Borrow Scaling$5M / $5M

Net Borrow Period24 hrs

Net Borrow Limit$1,000,000

OraclePyth

Oracle Confidence10.00%

Stable Price Delay60 min

AccountSwapTradeBorrowMore

Safeguards

Layers of protection

No single mechanism carries all the weight. Each one covers a gap the others might leave.

Oracle filters

Prices with wide confidence bands or stale updates are rejected before they can move any account.

Stable price

A slow-moving reference price limits how much borrowing power a sudden spike can create.

Deposit and borrow caps

Each token has hard limits, so one thin market can't put the whole protocol at risk.

Net borrow limits

A rolling 24 hour ceiling on new borrows per token stops fast drains.

Partial liquidations

Only enough of a position is closed to restore health. You keep the rest.

Insurance fund

Fee revenue builds a reserve that covers bad debt before lenders ever feel it.

Isolated accounts

Run risky strategies in a separate account so they can't touch your main balance.

Audited code

Contracts are open source and reviewed by independent auditors before each major release.

Interactive

Stress test an account

Drag the price and watch how health reacts. Liquidation only starts when health reaches zero.

Example account: 50 SOL deposited at $20.84, with 600 USDC borrowed against it.

SOL price

$20.84

Liquidation at

$13.33

36%

Health

Healthy

Asset weights

Not every token counts the same

Weights decide how much a deposit is worth as collateral and how heavy a borrow weighs on your account. Initial weights apply when you open positions, maintenance weights decide liquidation.

TokenInit assetMaint assetInit liabilityMaint liability
USDC1.001.001.001.00
SOL0.800.901.201.10
ETH0.800.901.201.10
JitoSOL0.750.851.251.15
JUP0.500.601.501.40
BONK0.250.402.001.60

What happens in a liquidation

  1. 1

    Maintenance health drops below zero after a price move.

  2. 2

    Open orders on the account are cancelled to free up collateral.

  3. 3

    A liquidator takes over part of the weakest position at a small discount.

  4. 4

    Health climbs back above zero and the process stops there.

  5. 5

    If an account goes negative, the insurance fund covers the gap.

Staying out of trouble

  • Keep health above 30% if you can. It leaves room for normal volatility.
  • Watch the health impact line on every order form before you confirm.
  • Spread collateral across a few strong tokens instead of one volatile one.
  • Use a separate account for high leverage experiments.
  • Turn on health alerts in settings so you hear about trouble early.

Trade with guardrails

Strong defaults, clear numbers and a risk engine designed for volatile markets.