Comment on page
Trading positions in the SatoshiSwap protocol can be subjected to a liquidation, in much the same way positions in a traditional centralized leveraged trading system can be liquidated. A liquidation is a forceful closure of a leveraged long or short by the smart contract due the price has increasing or decreasing too much in the opposite direction to what the trader intended. Leveraged trades rely on borrowed funds and to ensure these funds aren't at risk, positions are automatically exited by the system if they veer too close to the trading position having insufficient funds to keep the position open.
More specifically, the 3 main causes of liquidations are:
- 1.Trading pair price rises above the calculated liquidation price for a short position
- 2.Trading pair price falls below the calculated liquidation price for a long position
- 3.The position is left open for so long that the accrued debt has become close to the total position value
Just as in a traditional centralized system, traders should closely monitor their trading positions in order to avoid being forcefully liquidated.
Liquidations are triggered by any external market participant who observes a position has gone past the liquidation price threshold. To provide an incentive for this costly monitoring and execution process a percentage of the liquidation fee is shared with liquidators to reward them for their part in maintaining the system.
The current system configuration sets this to be when less than 10% of the maintenance margin is left.
A liquidated trade gets all of it's proceeds sent to the treasury where they are distributed to SatoshiSwap holders.