Margin
Account Risk
Your Account Risk is a measurement of how close you are to getting liquidated. It's a function of your Margin Fraction and Maintenance Margin Fraction. The higher your Account Risk, the closer you are to liquidation. Make sure your account risk never reaches 100!
Warning!
The account risk formula linearizes the relationship between the Margin Fraction and the Maintenance Margin Fraction. This equation serves mostly a front-end purpose. If you plan on doing your own risk calculations, it is probably easier to just compare the MF and MMF directly, rather than the Account Risk.