Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions source/_components/sensor.alpha_vantage.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ featured: false
ha_release: "0.60"
---

The `alpha_vantage` sensor platform uses [Alpha Vantage](https://www.alphavantage.co) to monitor the stock market.
The `alpha_vantage` sensor platform uses [Alpha Vantage](https://www.alphavantage.co) to monitor the stock market. This platform also provides detail about exchange rates.

To enable the `alpha_vantage` platform, add the following lines to your `configuration.yaml` file:

Expand All @@ -23,8 +23,17 @@ To enable the `alpha_vantage` platform, add the following lines to your `configu
sensor:
- platform: alpha_vantage
api_key: YOUR_API_KEY
symbols:
- symbol: GOOGL
name: Google
foreign_exchange:
- name: USD_EUR
from: USD
to: EUR
```

Either a symbol or a foreign exchange must be configured, otherwise you will not get any data.

{% configuration %}
api_key:
description: "The API Key from [Alpha Vantage](https://www.alphavantage.co)."
Expand All @@ -33,7 +42,6 @@ api_key:
symbols:
description: List of stock market symbols for given companies.
required: false
default: GOOGL
type: map
keys:
name:
Expand Down