Update app.py
Browse files
app.py
CHANGED
|
@@ -221,11 +221,11 @@ def get_technical_analysis(ticker: str, period: str = "1mo") -> pd.DataFrame:
|
|
| 221 |
import requests
|
| 222 |
import pandas as pd
|
| 223 |
import os
|
| 224 |
-
from google.colab import output
|
| 225 |
|
| 226 |
# Retrieve API key
|
| 227 |
@tool
|
| 228 |
-
def get_stock_news(query: str, limit: int = 10, api_key: str = "
|
| 229 |
"""
|
| 230 |
Fetches recent news articles related to a specific stock using NewsAPI.
|
| 231 |
|
|
|
|
| 221 |
import requests
|
| 222 |
import pandas as pd
|
| 223 |
import os
|
| 224 |
+
#from google.colab import output
|
| 225 |
|
| 226 |
# Retrieve API key
|
| 227 |
@tool
|
| 228 |
+
def get_stock_news(query: str, limit: int = 10, api_key: str = "26d4fec27a7f4f28b17c791b653e25b3") -> pd.DataFrame:
|
| 229 |
"""
|
| 230 |
Fetches recent news articles related to a specific stock using NewsAPI.
|
| 231 |
|