# Overview

**marginfi gives traders a single interface to trade across defi.** The protocol unifies liquidity to a single margin account, enabling traders to compose atomic positions across underlying trading protocols (UTPs).

Traders can finally run strategies like cross-DEX perp funding rate arbitrage, or cross-DEX atomically hedged market making — fully on-chain, with unified liquidity, unlocked leverage, and a single trader interface to manage everything.

Rebalance your portfolio on the upside, remove single protocol liquidation risk on the downside, and compose a complex portfolio with products at the best prices across DeFi.

![](/files/eWs0T4rEB9jeXOk2S1aO)


---

# 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://marginfi.gitbook.io/marginfi/overview.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.
