Skip to main content

Module liquidation_manager

Module liquidation_manager 

Source
Expand description

Pre-liquidation order blocking logic.

During pre-liquidation / in-liquidation state, only reduce-only orders are allowed. This module contains the checks that determine whether an order is risk-reducing and should be permitted.

Structsยง

LiquidationManager
Stateless helper for pre-liquidation order checks.