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