> For the complete documentation index, see [llms.txt](https://autofarm.gitbook.io/autofarm-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://autofarm.gitbook.io/autofarm-network/ecosystem/introduction/vault-details.md).

# Vault details (APY & APR)

## Autofarm APY & APR in vault details

The earnings of autofarm vaults can be estimated through the APR and APY value displayed on their respective vault page in the vault details.&#x20;

![](/files/HOXLr4CbpDWbs4NdHZlx)

As can be seen in the vault details screenshot above, there are multiple types of APR, all summing up to the Total APY of a particular vault:

**Base APR:** This is calculated from the latest rewards which are harvested from the underlying farm. Farms may change the reward distribution for particular assets over time.

**Trading APR:** Trading fees are calculated based on the changes in the underlying token reserves of each LP token. The fees over the last 24 hours are averaged and extrapolated over a period of 1 year to calculate the Trading APR. Trading fees, hence APR, can vary significantly over time as it depends on the swap volume on the underlying exchange.

## **APY vs APR**

The strategies designed by Autofarm perform optimally over a long period of time, when the effect of compounding can be really noticed, thus being APY the most accurate to display.

It is also important to notice this displayed APY is dynamic and can change (increase and decrease) through time mainly by two factors:

1. Price of the reward token farmed and compounded into the principal
2. Amount of people or value locked inside the pool (usually rewards are fix so more people or TVL implies that this reward is diluted)

### **Annual Percentage Rate (APR)**

Refers to the simple interest accrued from a particular investment over a 1 year period.

### **Annual Percentage Yield (APY)**

Refers to the compounded interest accrued from a particular investment over a 1 year period.

APY reflects more accurately the expected yearly returns of that investment.

#### **Learn more:**

{% embed url="<https://www.investopedia.com/articles/investing/020614/learn-simple-and-compound-interest.asp>" %}


---

# 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://autofarm.gitbook.io/autofarm-network/ecosystem/introduction/vault-details.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.
