Skip to content
DeVOLTDocs

Risk grades

Each market has a letter from A to F. It grades the market, not a position. The letter is the weakest of a small set of pillars, and each pillar is earned by something we measured.

What the letter describes

Whether the price the market liquidates against has held. Whether the market has enough liquidity to enter and to leave. How its borrowing cost has behaved. And how much recorded history those answers rest on. It never looks at leverage or at a health factor. You choose those, and the letter does not change with your choice.

The pillars

oracle depeg
A pair that is meant to hold a peg is graded on its worst recorded fall. A pair whose price floats, such as ether against a dollar stablecoin, is not graded on its moves. How much of a move a position can take is the health factor you set. This pillar also checks that the oracle contract exists, that the price is read and not assumed, how old a heartbeat feed was when we last read it, and how far the oracle was from the market price.
liquidity
How much can be borrowed now, compared with the size of a reference position. For a leverage market, what it would cost to sell the collateral and leave at that size. And any bad debt the venue reports. Low liquidity can hold a grade down but never makes it F. Bad debt can.
rate
A leverage market is graded on how often its borrow rate went past the point where the loop stops paying. This is tested at the most leverage the venue allows, which is the worst case for any health factor you could choose. A borrow market is graded on how far its rate jumps above its usual level on its worst days.
data history
How many days of price and borrow rate history the other pillars rest on. A short record holds the grade down but never makes it F, because missing evidence is not a measured hazard.

How the letter is chosen

Oracle
has the price this market liquidates against held, and can it be read at all
Liquidity
is there enough to borrow now, and what would leaving cost at a reference size
the weakest of them here
Rate
how has the cost of the debt behaved on its worst days
History
how much recorded evidence do the answers above stand on
The market takes the letter of its weakest pillar, so an A means every pillar that could be measured earned an A.
An illustration of the rule, not a measurement of any market. No letter is shown, because a letter here would be a grade nobody measured. A pillar that could not be measured is listed with its reason. It does not count for or against the market. This is why the list of what was not measured is never hidden.

Each check earns a letter against limits written down in the code of the product, and the table below is read from them. One band, the oracle deviation fail band, was added after a market was found priced by an oracle that was clearly wrong. A pillar takes the letter of its weakest check, and the market takes the letter of its weakest pillar. One weak pillar is enough, so an A means every pillar that could be measured earned an A.

The cut-offs for every check are listed below. They are read from the same constants the grade is worked out from.

Oracle depeg
CheckABCDF
Worst depegPairs meant to hold a pegup to 0.5%up to 1.5%up to 3%up to 8%over 8%
Oracle contractListed only when there is no contract at the oracle addressneverneverneverneverno contract at the oracle address
Price sourceEvery market whose price source is knownread from the venue’s own oracleneverassumed, not read from an oraclenevernever
Feed freshnessHeartbeat feeds, aged at the moment we read themup to 1 dayneverup to 3 daysup to 7 daysover 7 days
Oracle deviationFeeds that track the market priceup to 25 bpsup to 100 bpsup to 300 bpsup to 1000 bpsover 1000 bps
Cost to move the PT pricePrincipal token collateral, unless its oracle prices it from a discount curveat least $1,000,000at least $250,000at least $50,000under $50,000never
Liquidity
CheckABCDF
DepthEvery market, what can be drawn nowat least $5,000,000at least $1,000,000at least $250,000under $250,000never
Exit price impactEvery market except borrow markets, an unwind at the reference position sizeup to 30 bpsup to 100 bpsup to 300 bpsup to 1000 bpsover 1000 bps
Exit vs oracleEvery market except borrow markets, where the rate is measuredat least 99%at least 97%at least 94%at least 90%under 90%
Bad debtWhere the venue reports it, as a share of supplier claimsunder 0.1%neverunder 1%never1% or more
Rate
CheckABCDF
CarryLeverage markets, share of recorded days the borrow rate passed breakeven, at the most leverage the venue allowsHeld at B when the loop loses at the 95th-percentile borrow rate, and at most D when it loses at today’s rates.up to 2%up to 10%up to 25%up to 50%over 50%
Borrow rate jumpBorrow markets, the 95th-percentile rate above the medianup to 1 ptsup to 2.5 ptsup to 5 ptsup to 10 ptsover 10 pts
Data history
CheckABCDF
Price historyEvery market. One whose price history was read and holds no record grades Dat least 365 daysat least 180 daysat least 90 daysunder 90 daysnever
Rate historyEvery market. One whose rate history was read and holds no record grades Dat least 120 daysat least 60 daysat least 30 daysunder 30 daysnever
Your position
Net yield: collateral carry times leverage, minus debt carry times leverage less one
Liquidation price: debt divided by the product of the collateral amount and the loan to value limit
Health factor: comfortable at 1.5 or above, to watch from 1.2 up to 1.5, and in danger below 1.2
These are the cut-offs the grade uses. They are read from the product and not copied, so a change to a threshold changes this table. A market takes its weakest pillar. A pillar takes its weakest check. A check that could not be measured does not count for or against the market. A cell that says never is a letter that check cannot give.

The Risk tab says which pillar limits the grade. When more than one pillar has the same letter, it names each of them. When a single check holds the grade down, the tab also shows what that check would need for the grade to rise.

What was not measured

A check that could not be measured does not count toward the letter, up or down. It is still listed, with the reason, and the tab says how many checks were measured. A read that failed is shown as a failed read, never as an empty result.

What sits beside the grade

Some facts are stated but not graded. The largest supplier withdrawing is shown as a scenario, because nothing measured says it will happen. The price, borrow rate and liquidation histories each have their own tab on the market page. The Risk tab links to them and does not repeat them.

What a grade does not tell you

A grade sums up what was measured. It is not a forecast, and it says nothing about the leverage you choose. A market with a good letter can still liquidate a position opened close to its limit. If this market's own history would have liquidated a position at the leverage in view, the Risk tab says so above the letter.