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

# Yield Looping

## Strategy Overview

<div align="left"><figure><img src="/files/bwLPVJkH6OOAfcuSfXoO" alt=""><figcaption></figcaption></figure></div>

Let's assume that a user wishes to leverage up on their iBGT yield via Beraborrow.

Looping (or recursive leverage) using Beraborrow involves:

1. **Depositing an asset** (e.g. iBGT)
2. **Borrowing against it** (borrowing the minted NECT debt)
3. **Swapping the minted NECT back to iBGT**
4. **Re-depositing the iBGT**
5. **Repeating the cycle** until the user hits the desired leveraged exposure&#x20;

For instance, repeating the process above 3 times (with an MCR of 140%) essentially replicates a 2x levered long position on iBGT. **Double the exposure, and double the yield.**

## **Link to Strategy**

{% embed url="<https://app.beraborrow.com/den/borrow/iBGT>" %}

## Guide

1\) Navigate to the Beraborrow 'Borrow' tab (link above) and input the amount of iBGT to borrow NECT against. Toggle MCR (minimum collateralisation ratio) to the desired levels.&#x20;

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

2\) Use a DEX, or DEX aggregator (such as Ooga Booga), to swap the newly minted NECT back into more of the underlying asset (iBGT in our example):

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

3\) Take the collateral asset obtained from step 2, and then deposit this into Beraborrow again

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

4\) Repeat process to achieve desired level of levered exposure to the underlying asset.&#x20;

## Leverage Moon Math

Below is a table outlining how much levered exposure to iBGT a user might obtain given x number of loops with an MCR of 140, with the associated effective APY. Note that cycle 0 would be analagous to simply depositing iBGT into a [Beraborrow auto compounding vault](/docs/auto-compounding-vaults.md)

<table data-full-width="false"><thead><tr><th width="96.666748046875">       Cycle</th><th>iBGT Deposited</th><th width="127.66650390625">NECT Minted </th><th width="147.6666259765625">Total iBGT</th><th width="99.3333740234375">Leverage</th><th>APY (%)</th></tr></thead><tbody><tr><td>        0</td><td>100</td><td>0</td><td>100</td><td>1x</td><td>232.09</td></tr><tr><td>        1</td><td>100</td><td>71.43</td><td>171.43</td><td>1.71x</td><td>397.88</td></tr><tr><td>        2</td><td>171.43</td><td>51.02</td><td>222.45</td><td>2.22x</td><td>516.24</td></tr><tr><td>        3</td><td>222.45</td><td>36.46</td><td>258.91</td><td>2.59x</td><td>601.39</td></tr><tr><td>        4</td><td>258.91</td><td>26.34</td><td>285.25</td><td>2.85x</td><td>662.39</td></tr><tr><td>        5</td><td>285.25</td><td>18.81</td><td>304.07</td><td>3.04x</td><td>704.21</td></tr></tbody></table>

Note that in the table above, we take the current APY on vanilla iBGT deposits into Beraborrow at time of writing. This will of course be subject to change based on market conditions.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://beraborrow.gitbook.io/docs/strategies/yield-looping.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
