# Collateral Swap

In cross-margin portfolios, Drake allows you to swap your available balance seamlessly. Currently, swap orders are routed through the Uniswap V3 and Aerodrome AMMs pool to ensure efficient execution. To protect your portfolio from the risk of liquidation, Drake enforces a safeguard that prevents any swap that would reduce your portfolio margin ratio below 200%. This ensures your positions remain secure while giving you the flexibility to manage your collateral.

<figure><img src="/files/PxrfZlmRT2ZraL9JPwx3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/jBsCkMDmTax6rmK9muoy" alt=""><figcaption></figcaption></figure>


---

# 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.drake.exchange/trading/margin/cross-margin/collateral-swap.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.
