> For the complete documentation index, see [llms.txt](https://prodigyfi.gitbook.io/structured-yields/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prodigyfi.gitbook.io/structured-yields/how-prodigy.fi-works/apy-and-reward-calculations.md).

# APY And Reward Calculations

For any given vault, the vault creator (eg; liquidity provider) sets the yield percentage for the vault. This percentage is then used to determine the Annualized Percentage Yield (APY).

Here's how to calculate what you'll receive, based on your vault type and outcome at expiry:

The APY formula is:

`Yield / (Expiry Date - Today ) x 365`

The Reward formula is:

`Subscription Amount * Yield`

The following summarizes the calculation of the total amount the vault subscriber will receive based on the vault direction and linked price outcome.

#### **Buy Low (ETH-USDC)**

In a Buy Low vault, the vault subscriber deposits USDC. There are two possible scenarios at the expiration date:

* Linked price is reached = vault subscriber receives ETH at the linked price + yield in ETH:

`Subscription Amount / Linked Price * (1 + Yield) ETH`

* Linked price is not reached = you receive your original USDC back + yield in USDC:

`Subscription Amount * (1 + Yield) USDC`

#### **Sell High (ETH-USDC)**

In a Sell High vault, the vault subscriber deposits ETH. There are two possible scenarios on the Expiration Date:

* Linked price is reached = vault subscriber sells ETH at the Linked Price and receives USDC + yield in USDC:

`Subscription Amount * Linked Price * (1 + Yield) USDC`

* Linked price is not reached = you receive your original ETH back + yield in ETH:

`Subscription Amount * (1 + Yield) ETH`


---

# 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://prodigyfi.gitbook.io/structured-yields/how-prodigy.fi-works/apy-and-reward-calculations.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.
