# Perps Collateral

#### Perpetuals Collateral

SparkDEX Eternal gives traders flexible control over how collateral is added, adjusted, and managed across active perpetual positions. Proper collateralization is essential to maintaining healthy margin ratios and avoiding liquidation risk, and SparkDEX’s onchain design ensures that every adjustment remains transparent and verifiable.

#### Adding Collateral

\
Traders can add collateral to any open position at any time. Increasing collateral raises the margin ratio and reduces liquidation risk, providing a safety buffer during high-volatility periods. Newly added collateral is immediately reflected onchain as part of the open position, providing transparent, verifiable margin.

#### Partial Withdrawals

\
If a position maintains a margin ratio safely above the liquidation threshold, traders can withdraw part of their collateral without closing the position. This flexibility allows efficient capital reallocation between positions or across other DeFi strategies, while keeping trades open and stable.

#### Collateral Types

\
SparkDEX Eternal supports multi-asset collateral, including WFLR, sFLR, FXRP, and USDT0.

#### Automatic Margin Updates

\
Collateral balances update dynamically in response to market changes, funding payments, and realized PnL. These automatic adjustments ensure that margin ratios remain accurate on every block, minimizing errors and protecting traders from surprise liquidations.

#### Liquidations

Liquidations occur only when a position’s margin ratio falls below the required maintenance threshold — meaning the collateral is no longer sufficient to cover potential losses.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sparkdex.ai/tutorials/perpetual-dex-comprehensive-tutorial/perps-collateral.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
