> For the complete documentation index, see [llms.txt](https://anticode.gitbook.io/templates/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anticode.gitbook.io/templates/plugins/bubble-financial-data-stocks-forex-etc..md).

# Bubble - Financial Data (Stocks, Forex etc.)

This a Plugin that can be used within Bubble.is&#x20;

### Overview

This Plugin enables you to add a variety of up to date financial Data to your Application. Features include:

* Fetching latest stock quotes
* Fetching current exchange rates
* Fetching current Cryptocurrency exchange rates

\*This Plugin is still in development. More features will be added in the future.

This plugin is based on the API from <https://www.alphavantage.co> You can grab your FREE API Key at <https://www.alphavantage.co/support/#api-key>

### Setup

Head over to "<https://www.alphavantage.co/support/#api-key>" to grab your own Free API Key. Head over to the Plugins Tab of your Application and Enter your API into all fields. Once your API Key is entered, you can start fetching financial information. For example, create a text element on your page, click Dynamic Data--> Get Data from External API and choose the kind of Data you want to fetch.

### Definitions

Symbol : Insert the Ticker Symbol of the Stock you want to fetch information from. You can just go to <https://finance.yahoo.com> , enter the name of the stock you are looking for and take the capital letters that are in brackets next to the stock name. For example, the Symbol for Apple is "AAPL"

From Currency: This is the currency you would like to get the exchange rate for. So if you want the exchange rate for USD/EUR, this field should be set to USD. \*Note: You can use Fiat currencies or Cryptocurrencies.

To Currency: This is the destination currency you would like to get the exchange rate for. So if you want the exchange rate for USD/EUR, this field should be set to EUR.\*Note: You can use Fiat currencies or Cryptocurrencies.


---

# 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://anticode.gitbook.io/templates/plugins/bubble-financial-data-stocks-forex-etc..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.
