Skip to content

Commit 9733185

Browse files
committed
Attempt to fix the build
1 parent 882d486 commit 9733185

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

docs/notes/financial-data-sources/alphavantage-api.qmd

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ For example, requesting [unemployment rates](https://www.alphavantage.co/documen
4242
```{python}
4343
from pandas import read_csv
4444
45-
request_url = (
46-
"https://www.alphavantage.co/query?function=UNEMPLOYMENT"
47-
f"&apikey={API_KEY}&datatype=csv"
48-
)
45+
request_url = f"https://www.alphavantage.co/query?function=UNEMPLOYMENT&apikey={API_KEY}&datatype=csv"
4946
df = read_csv(request_url)
5047
df.head()
5148
```
@@ -57,10 +54,7 @@ Requesting [stock prices](https://www.alphavantage.co/documentation/#dailyadj):
5754
from pandas import read_csv
5855
5956
symbol = "NFLX"
60-
request_url = (
61-
"https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED"
62-
f"&symbol={symbol}&apikey={API_KEY}&datatype=csv"
63-
)
57+
request_url = f"https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol={symbol}&apikey={API_KEY}&datatype=csv"
6458
df = read_csv(request_url)
6559
df.head()
6660
```

0 commit comments

Comments
 (0)