Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ if __name__ == "__main__":
|
|
50 |
API_KEY = "QR8F9B7T6R2SWTAT"
|
51 |
|
52 |
def fetch_alpha_vantage_data(api_key, symbol):
|
53 |
-
|
54 |
url = f'https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol={symbol}&interval=5min&apikey={api_key}'
|
55 |
response = requests.get(url)
|
56 |
alpha_vantage_data = response.json()
|
|
|
50 |
API_KEY = "QR8F9B7T6R2SWTAT"
|
51 |
|
52 |
def fetch_alpha_vantage_data(api_key, symbol):
|
53 |
+
|
54 |
url = f'https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol={symbol}&interval=5min&apikey={api_key}'
|
55 |
response = requests.get(url)
|
56 |
alpha_vantage_data = response.json()
|