This covers the most typical cases you may face liquidation, but it’s not guaranteed to cover all possible cases.
Borrowed Assets Appreciate
Maker / LP positions can be liquidated if the value of the liquidity exceeds your ability to pay back any borrowed tokens.
If a portion of your liquidity is in base token (e.g. ETH, BTC etc.), you must return these borrowed tokens at the current price when you remove liquidity. If the value these borrowed tokens increases to a point near the value of your collateral, your orders may be liquidated to prevent loss to the exchange.
Position Value Drops
If you open an order and the price goes down, you will end up with a long position in the given asset (takers have sold their base tokens (e.g. ETH, BTC etc.) to you). If the price continues to fall, your PnL may decrease until your account balance is too low to cover the value of your position. Your position may be liquidated to prevent loss to the exchange.
Account health is determined using
margin ratio. This is the percentage ratio of your liquidity to your free collateral.
This is the minimum margin ratio required by the exchange. If your margin ratio falls below this, one or more of your orders can be liquidated.
All liquidity positions are canceled if you are liquidated as a maker. Liquidity in these orders is converted into a permanent position (i.e., regular taker position).
- All of your open liquidity positions will be closed, leaving you with permanent positions in a healthy state for each market you were providing liquidity in.
- If the price continues to move against you, your permanent position will be liquidated.
Your positions will be liquidated separately, according to size (the keeper can only liquidate one position at a time, and will generally chose the largest to ensure maximum ability to collect the full liquidation bonus from the position.) This means that liquidation will likely leave other positions (if any) in a healthy state.