# Expanding Price Availability with RAM Purchase

To extend the availability of historical price data within the Alcor Price Oracle, users can purchase additional RAM. The cost of purchasing RAM is determined by the current market price on the EOSIO blockchain, which can vary based on supply and demand. To calculate the RAM required for the desired data availability period, users can use the following formula:&#x20;

| RAM Required (in bytes) = Number of Observations \* Size of Each Observation |
| ---------------------------------------------------------------------------- |

For instance, if a user wishes to have the price data available for 3 hours and each observation requires 160 bytes of RAM, they would need to calculate:&#x20;

| <p>RAM Required = 160 bytes \* 3 hours \* 60 minutes \* 60 seconds = 1.728 MB.<br><br>WAX Token = 0.4073 \* 1728 = 703.81440000 WAX (with RAM price is 0.4073 WAX per KB)</p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Once users have determined the required RAM size, they can proceed with the RAM purchase process by following:

| Transfer WAX to the swap.alcor account with the memo: "addoraclerow#poolId". |
| ---------------------------------------------------------------------------- |

Additionally, users can easily track the number of observations they have purchased by reviewing their [**transaction history**](https://wax.bloks.io/transaction/8430511460ddd7232cd35461fe0088966e3d71346cf5f860dee168561dca0dba)


---

# 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://docs.alcor.exchange/alcor-swap/alcorswap-v2-price-oracles/expanding-price-availability-with-ram-purchase.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.
