*Paid Advertisement. Not financial advice. RugDoc is not responsible for the projects showcased here. DYOR and ape safu.

How to calculate and track the real APR with an Excel template

calculation excel

Deceptive APY/APR‘s are quite a common occurrence in yield farming. Whether incorrect rates are displayed by accident (even trustworthy developers make mistakes) or deliberately (in order to deceive investors), incorrect rates can result in opportunity costs and even loss of your deposit fees. In this article you will learn how to calculate the APR of a farm on your own with a simple excel table.

If you are in some doubt as to the real rewards produced by a pool, you can try depositing a very small amount at first in order to measure the returns – this can protect you against the losses described above. This method is described in this article.

To track the real reward you are receiving, you can use a simple Excel script to calculate the time interval between the different claims. This will help you to decide if the farm rewards are worth your investment of funds and time.

Step 1: Open the excel document #

So starting with a clean excel, we will now add some basic functionality to calculate the APR.

Empty Excel document

Step 2: Add the deposit amount #

First you have to add a field where you write down the amount of your deposit as the base for the reward calculation.

Excel: amount deposited

Step 3: Calculate the time interval #

The next two fields need to be filled with the date and time of the last and the new reward in order to calculate the time interval.

To get the time interval between the last and the new reward you can simply calculate the difference of the two dates and multiply the results with 1440 divided by 60 which gives you the hours between the two rewards. The function is shown in the following codeblock.

=(B6-B5)*1440/60
Excel: calculating time interval

Step 4: Calculate the yield for the new reward #

The next step is to add a field for the received rewards and add the formular to calculate the % between the reward and the initial deposit.

=D6/C2
Excel: calculating yield

In this example the yield is 2,5% which is the results of $2,50 / $100 = 0,025.

Step 5: Calculate the yield per day #

With this information, we can calculate the % per day by dividing 24 by the time interval and multiply this with the 2,5% calculated in the steps before

=24/C6*E6
// 24 / 1 * 0,025 = 0,60 = 60,0% per day
Excel: % yield per day

In order to know which field are filled automatically and which have to be filled manually you can set a different color to the custom fields.

Excel sheet with coloured fields

Now you are able to calculate your own APR and don’t have to rely on the user interface (UI) of the farm when making important decisions with your funds.

Updated on June 12, 2021
How do you feel about this article?
 

Leave a Reply

*Paid Advertisement. Not financial advice. RugDoc is not responsible for the projects showcased here. DYOR and ape safu.

Our mission here at RugDoc is to screen for hard rug code that results in 100% theft of ALL underlying funds for ALL participants.

This is the ONE part of the due diligence process that most people cannot simply do on their own as it costs thousands of dollars to hire a senior solidity developer to look over a farm for safety.

A project coin with terrible code can go up in price, and a project with good code and a good team can also go down in price.

Do NOT use our ratings to refer to your likelihood in making money if you invest in the project. They are ONLY in reference to code safety.

Everything else beyond code safety is YOUR responsibility to go do research on. We just make sure the casino you’re betting in won’t rob you before you even get to place a bet.

Our reviews for projects are organized into a few colors.

🟢 Least Risk
These projects are the least likely to hard or soft rug. Usually reserved for cornerstone projects of an ecosystem where it makes no financial sense for them to rug in any manner as they make more money just being legit.

🔵 Low Risk
These projects are usually established projects in an ecosystem that have a track record of success or have KYC’d to us or other authoritative sources in the real world. As a result, it is extremely unlikely for them to soft rug or hard rug their projects. The projects can still fail and the token price can go down, but usually more as a result of natural market forces.

⚪️ Some Risk
This is the default rating for projects with unknown teams but have code that is unlikely to have hard rug risk. Since the team is unknown and doesn’t have a track record of success, it’s entirely possible that they may try to soft rug by dumping tokens, abandoning the project, etc. Even a last minute contract swap to a malicious contract is possible. The only thing that is unlikely is a complete hard rug as long as you are 100% sure you deposit into the contract we review.

🟠 Medium Risk
Similar to Some Risk, but the underlying code itself is custom enough or complex enough that it warrants an elevated risk rating that needs deeper research. Make sure you read every point presented to make sure you’re comfortable with that before entering. Still unlikely to hard rug, but more chances of custom code behaving incorrectly and causing other issues.

🔴 High Risk
Project contains code or practices that are HIGHLY LIKELY to lead to catastrophic losses as they are right now. Make sure you read the description carefully as we will always warn what these issues are. If you see the words Hard Rug anywhere in the review, STAY FAR AWAY!

⚫️ Not Eligible
We reserve the right to not review exceedingly complex projects that would require tens of thousands of dollars of senior security analyst man hours. Typically these are projects that deal with leverage, lending, options, derivatives, and anything that is overly complex and which requires tons of peer reviews and audits from top audit companies.

Search

🟢 For owners who have made impactful changes and would like an update to their farm review:

1️⃣ Use #update at @RugDocChat with your description and proof of changes and it will be forwarded to our scanners.

2️⃣ This does not guarantee a change in your review.

3️⃣ Owners who have difficulty solving the issues can consider our Consultation Package - please contact @BaymaxCrypto on Telegram to discuss.