HomeDocumentationAPI Reference
Log In
Documentation

Portfolio Margin Parameters [New]

This page documents the up to date values of all market specific parameters for the portfolio margin manager.

Portfolio Margin Scenarios

These are the scenarios used when computing portfolio margin. Note all regular scenarios have dampening 1.

Scenario NumberSpot Shock (%)Volatility Shock
1+18%Up
2+13.5%Up
3+13.5%Static
4+13.5%Down
5+9%Up
6+9%Static
7+9%Down
8+4.5%Up
9+4.5%Static
10+4.5%Down
11+0%Up
12+0%Static
13+0%Down
14-4.5%Up
15-4.5%Static
16-4.5%Down
17-9%Up
18-9%Static
19-9%Down
20-13.5%Up
21-13.5%Static
22-13.5%Down
23-18%Up

Tail Scenarios

These are the tail scenarios which involve large spot shocks and non trivial dampening. All cases involve volatility spot shock up.

Scenario NumberSpot Shock (%)Dampening
1-66%0.21
2-33%0.42
3+50%0.27
4+100%0.13
5+200%0.069
6+300%0.046
7+400%0.034
8+500%0.027

Account Details

These parameters govern the size and supported expiries of a PMRM subaccount.

ParameterContract VariableETHBTCRangeDescription
MAX_ACCOUNT_SIZEmaxAccountSize128128No boundsThis is the maximum number of assets (options, cash, base, perpetuals) that can be supported by a single portfolio margined subaccount. This is constrained by gas requirements.
MAX_EXPIRIESmaxExpiries1111No boundsThis is the maximum number of unique expiries that can be held by a single portfolio margined subaccount.

Contingency Margin

These parameters govern various pieces of contingency margin which account for possibilities not encoded in the spot and IV shocks.

ParameterContract VariableETHBTCRangeDescription
PEG_FACTOROtherContingencyParameters.pegLossFactor4.04.0[0.0, 20.0]Increases IM_FACTOR when USDC depegs beyond a threshold value.
INITIAL_PERP_FACTOROtherContingencyParameters.perpPercent0.040.04[0.0, 1.0]This is used to compute the perp contingency for initial margin, simply a small percentage (given by PERP_FACTOR) of the spot price.
INITIAL_PERP_FACTOROtherContingencyParameters.perpPercent0.030.03[0.0, 1.0]As above but for maintenance margin
OPTION_FACTOROtherContingencyParameters.optionPercent0.0030.003[0.0, 1.0]A small percentage (OPTION_FACTOR) of the spot price is added per net short contract per strike to the asset contingency.

Volatility Shocks

These parameters govern the shock IVs used when computing portfolio margin.

ParameterContract VariableETHBTCRangeDescription
VOL_RANGE (up)VolShockParameters.volRangeUp0.50.5[0.01, 2.0]Multiplicative scaling of the implied volatility when considering an increase in volatility.
VOL_RANGE (down)VolShockParameters.volRangeDown0.2750.275[0.01, 1.0]Multiplicative scaling of the implied volatility when considering a decrease in volatility.
VEGA_POWER (< 30 DTE)VolShockParameters.shortTermPower0.30.3[0.0, 0.5]A power scaling of the multiplicative volatility shock (for short dated expiries).
VEGA_POWER (> 30 DTE)VolShockParameters.longTermPower0.130.13[0.0, 0.5]A power scaling of the multiplicative volatility shock (for long dated expiries).
DTE_FLOORVolShockParameters.dteFloor1 day1 day[0.01, 100] daysA floor on the time-to-expiry used when computing the volatility shock. Avoids divergence arising from dividing by near 0 values.
minVolShockUpVolShockParameters.minVolShockUp0.40 (40%)0.40 (40%)[0, 20]Minimum evaluated (shock) volatility for the vol up scenario

Discounting

These parameters govern how long sub-portfolios are discounted.

ParameterContract VariableETHBTCRangeDescription
shortRateMultScaleMarginParameters.shortRateMultScale0.00.0[0.0, 10.0]Multiplicative scaling of the risk free rate used when computing the discounting for a short sub-portfolio.
shortRateAddScaleMarginParameters.shortRateAddScale0.100.10[0.0, 10.0]Additive scaling of the risk free rate used when computing the discounting for a short sub-portfolio.
longRateMultScaleMarginParameters.longRateMultScale0.00.0[0.0, 10.0]Multiplicative scaling of the risk free rate used when computing the discounting for a long sub-portfolio.
longRateAddScaleMarginParameters.longRateAddScale0.100.10[0.0, 10.0]Additive scaling of the risk free rate used when computing the discounting for a long sub-portfolio.
STATIC_SCALE_POSMarginParameters.baseStaticDiscountPos0.980.98[0.0, 1.1]A flat scaling of the sub-portfolio's shocked marked value (only applies if positive).
STATIC_SCALE_NEGMarginParameters.baseStaticDiscountNeg1.021.02[0.9, 10.0]A flat scaling of the sub-portfolio's shocked marked value (only applies if negative).

Forward Contingency

These are parameters that govern the forward contingency. This accounts for forward basis movements against the trader.

ParameterContract VariableETHBTCRangeDescription
ADD_FACTORBasisContingencyParameters.baseContAddFactor0.50.5[0,5.0]Additive scaling factor when computing the basis contingency
MULT_FACTORBasisContingencyParameters.basisContMultFactor2.02.0[0,5.0]Multiplicative scaling factor when computing the basis contingency.
UP_SCENARIO_MOVEBasisContingencyParameters.scenarioSpotUpSpot up 1.045 (IV static)Spot up 1.045 (IV static)N/AOne of the spot shock scenarios used to compute the basis contingency.
DOWN_SCENARIO_MOVEBasisContingencyParameters.scenarioSpotDownSpot down to 0.955 (IV static)Spot down to 0.955 (IV static)N/AThe other scenario used to compute the basis contingency.

Initial Margin and Oracle Contingency

These govern how initial margin is typically defined, as well as circumstances where it may increase due to stable coin depeggings and/or low data confidence.

ParameterContract VariableETHBTCRangeDescription
IM_FACTORMarginParameters.imFactor1.01.0[0.5, 10.0]This scales the maxLoss and contingencies when computing the initial margin for a portfolio margined subaccount.
MM_FACTORMarginParameters.mmFactor0.800.80[0.5, 10.0]As above, but for maintenance margin.
USDC_THRESHOLDOtherContingencyParameters.pegLossThreshold0.990.99[0.0, 1.05]Value of USDC beneath which the depeg contingency comes into effect.
CONFIDENCE_THRESHOLDOtherContingencyParameters.confThreshold0.550.55[0.0, 1.0]Value of the confidence beneath which the relevant data is considered low confidence (thereby attracting additional initial margin).
CONFIDENCE_SCALEOtherContingencyParameters.confMargin1.01.0[0, 2.0]Percentage of the spot price added when considering the oracle contingency.

Skew Shock Parameters

ParameterETHBTCRangeDescription
linearBaseCap0.250.25<= 10Sets the maximum multiple of the volatility for the linear scenario
absBaseCap0.250.25<= 10As above for the abs scenario
linearCBase-0.1-0.1> = -10Sets how much to lower the maximum multiple for longer dated expiries
absCBase-0.1-0.1> = -10As above for the abs scenario
minKStar0.010.01> = 0Minimum width before flattening the vol increase for the skew scenarios
widthScale4.04.0<= 10How many std deviations based on ATM vol after which we cap the increase in IV
volParameterStatic0.600.60[0, 10]Estimate of IV used to approximate Kstar
volParameterScale0.00.0[-20, 20]Corrects vol for longer timescales

Risk Cancellation

Risk Cancelling Collateral for the ETH PM:

  • (w)ETH
  • wstETH
  • weETH
  • rswETH
  • rsETH

Risk Cancelling Collateral for BTC PM:

  • (w)BTC
  • LBTC
  • cbBTC
  • eBTC
  • solvBTC
  • xSolvBTC
AssetETH MM HaircutETH IM HaircutBTC MM HaircutBTC IM Haircut
ETH5.6%7%Same as std managerSame as std manager
wstETH5.6%10%Same as std managerSame as std manager
weETH15.6%17%Same as std managerSame as std manager
rswETH30.6%32%Same as std managerSame as std manager
rsETH20.6%22%Same as std managerSame as std manager
wBTCSame as std managerSame as std manager10.6%12%
LBTCSame as std managerSame as std manager15.6%17%
cbBTCSame as std managerSame as std manager15.6%17%
eBTCSame as std managerSame as std manager15.6%17%
solvBTCSame as std managerSame as std manager20.6%22%
xsolvBTCSame as std managerSame as std manager20.6%22%

All other assets (e.g. sUSDe, OP) have the same haircuts as in the standard manager.

Open Interest Caps

Open interest caps on options, base and perpetual instruments.

ParameterContract VariableETHBTCRangeDescription
UNDERLYING_OI_CAPbaseAsset.totalPositionCap75015[0, no upper bound]Maximum open interest of the underlying asset.
OPTION_OI_CAPoption.totalPositionCap2000,000100,000[0, no upper bound]Maximum open interest of options.
PERP_OI_CAPperp.totalPositionCap250,00012,000[0, no upper bound]Maximum open interest of perpetuals.

Fees

These are fees charged by the managers on the protocol layer.

ParameterContract VariableETHBTCRangeDescription
SPOT_FACTORmanager.OIFeeRateBPS0.70 (70%)0.70 (70%)[0, 5.0]Percentage of the spot price charged when the trade increases the open interest.
MIN_OI_FEEminOIFee$800 USDC$800 USDC[0, 800]Minimum fee charged when open interest is increased.