> For the complete documentation index, see [llms.txt](https://guides.instadapp.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.instadapp.io/strategies/compound-strategies.md).

# Compound Strategies

![](/files/pYPm57r57m3pJ1oNp5tQ)

### Deposit & Borrow <a href="#h_816bf2b5a0" id="h_816bf2b5a0"></a>

This function combines two functions; this will deposit an asset from the DSA balance into the protocol and will also borrow an asset. The borrowed asset will be in your DSA balance.

**Deposit & Borrow Example --**

In the top line you can select the collateral you would like to deposit

![](/files/QbZBTNbcbk71UqY50cfS)

In the lower line you enter what you would like to borrow

![](/files/pyPNBG29VtP44OUoFfRY)

You can change the asset type by clicking the asset icons

![](/files/oG6rbVkbr0jSNiuISJKo)

Submit the transaction by clicking the button at the bottom

![](/files/Vu4LDGjMJ0bg6DlAdclW)

After the transaction confirms you will see both the collateral deposit and the debt owed to the protocol.&#x20;

![The borrowed asset is now in your DSA account balance](/files/v0TGzvdoru0m2DdeSxnJ)
