What Is Auto-Close?
Auto-close is the layer that decides when to exit. In delta-neutral strategies you’re hedged and in theory you’re safe. But things break. When danger crosses a threshold, we close both legs. No debate. We live to trade another day. The alternative is liquidation. We treat that as unacceptable. What we have: a dedicated background worker that runs every 5 seconds. Each cycle executes a priority-ordered checklist. The first check that says “close” wins. Cascade velocity detection answers “will I be liquidated in less than 5 minutes?” We care about speed toward danger, not just distance. Liquidation proximity is the static fallback: within 5% of liquidation price, we close. Delta drift and ADL detection catch when the exchange has changed your position without your knowledge. Funding rate inversion catches when the trade thesis has flipped. When we close, we retry, verify fills, and use atomic bundles for Solana legs so we never leave you half-closed. Below we spell out each trigger, why it exists, and how we make sure the close actually happens.How Auto-Close Works
Every open position is monitored by a dedicated background worker running on a 5-second cycle. Each cycle runs a priority-ordered check pipeline. The first check that triggers a close wins. Pipeline order (highest priority first):- Cascade velocity detection “Will I be liquidated in less than 5 minutes?”
- Liquidation proximity “Am I within 5% of liquidation price?”
- Delta drift / ADL detection “Did my position size change unexpectedly?”
- Funding rate inversion “Has funding been negative for 3+ hours?”