Skip to content

API ReferenceReact provider and hooksType Alias

CollateralFactorBasis

type CollateralFactorBasis = 'liquidation' | 'creation';

Which of a pair’s two configured collateral factors a risk score is measured against. They are different numbers and must not be conflated.

  • liquidation (the default) scores against collateralFactorBasisPoints, the threshold at which an open position becomes liquidatable.
  • creation scores against creationCollateralFactorBasisPoints, the lower bar a new LOC must clear. A creation preview is not a statement about liquidation.