Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,10 +12,10 @@ import yfinance as yf
|
|
| 12 |
@tool
|
| 13 |
def get_stock_price(stock_symbol: str) -> dict:
|
| 14 |
"""Fetch the latest stock price, date, current Price, price change, and percentage change.
|
| 15 |
-
|
| 16 |
Args:
|
| 17 |
-
stock_symbol (str):
|
| 18 |
-
|
| 19 |
Returns:
|
| 20 |
dict: A dictionary containing:
|
| 21 |
- "Stock" (str): Stock symbol.
|
|
|
|
| 12 |
@tool
|
| 13 |
def get_stock_price(stock_symbol: str) -> dict:
|
| 14 |
"""Fetch the latest stock price, date, current Price, price change, and percentage change.
|
| 15 |
+
|
| 16 |
Args:
|
| 17 |
+
stock_symbol (str): The stock ticker symbol (e.g., "INFY" for Infosys).
|
| 18 |
+
|
| 19 |
Returns:
|
| 20 |
dict: A dictionary containing:
|
| 21 |
- "Stock" (str): Stock symbol.
|