Formulas and Calculations
The Throttle Module relies on various formulas and calculations to achieve its functionality
Last updated
The Throttle Module relies on various formulas and calculations to achieve its functionality
Last updated
Rule for comparing pairs is as following:
: Borrowing rate
: Throttle surcharge
: Multiplier on borrowing amount
: Potential liquidation amount at risk over market depth
: Rate of increase in borrowing velocity versus supply velocity
: Output tuple representing delta in borrowing/supply and market health factor
: Threshold values for output control
is set of all rational numbers
This means that:
Throttle Function is calculated
Output values are compared with Threshold Values
Further actions are based on the result of comparison
If sudden 50% downside risk, then:
Where:
Where is a new borrow rate after applying multiplier and surcharge
- primary threshold
- secondary threshold
- pool value at risk
- total value of pool