# Yield Looping

## Strategy Overview

<div align="left"><figure><img src="https://1570492309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FffzDCMBDa391vIMqruBP%2Fuploads%2FDthTw1KPuLJ1ODhrLuUF%2Fimage.png?alt=media&#x26;token=f414f6e0-ffe7-4b70-8603-d339f81d7206" 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="https://1570492309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FffzDCMBDa391vIMqruBP%2Fuploads%2FQmNl4TPf8NMFI7nknRAf%2Fimage.png?alt=media&#x26;token=b8e0cec6-186f-4d10-9258-c9717506be8b" 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="https://1570492309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FffzDCMBDa391vIMqruBP%2Fuploads%2FLa36tfkqlQxvBCXoEq1S%2Fimage.png?alt=media&#x26;token=69cf52d8-7e6b-45a2-b74a-e88cf8454183" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1570492309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FffzDCMBDa391vIMqruBP%2Fuploads%2FhemdY0pDCGDZoGn87ffr%2Fimage.png?alt=media&#x26;token=5858fee2-28ed-4272-9877-e6bae62ef69d" 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](https://beraborrow.gitbook.io/docs/auto-compounding-vaults)

<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;
