# FARMING

Prize calculation

Yield Farm APR calculations include both: LPs value APR earned through providing liquidity and; The farm base reward that APR earns from the LP Tokens staked in the Farm. Why? Because when you stake your LP tokens on a farm for $IDS, you are still providing liquidity to the liquidity pool, so you also get LP rewards!

## Calculating Farm Base Reward APR

The Farm Base APR is calculated according to the farm multiplier and the total amount of liquidity on the farm -- this is the amount of $IDS distributed to the farm.

## Calculating LP Reward APR

In addition, farmers receive LP rewards for providing liquidity.

Here's an example of calculating the prize

LP: Liquidity: $387.42M 24H Volume: $96.97M 7D Volume: 709.73M

Calculate annual fee Use 24-hour volume

to calculate the liquidity provider's share of fees in the pool (based on a 0.17% trading fee structure): $96,970,0000.17/100 = $164,849

Next, use that portion of the cost to estimate the projected annual cost the pool will earn (based on current 24-hour volume): $164,849365 = $60,169,885

We can now use the annual fee to calculate the LP APR reward: It is the annual fee divided by liquidity: ($60,169,885/$387,420,000)\*100 = 15.53% LP APR reward


---

# Agent Instructions: 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:

```
GET https://fundexdoc.gitbook.io/indoswap.net/tentang-indoswap/farming.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
