kk20krishna commited on
Commit
11a2104
·
verified ·
1 Parent(s): 0e36620

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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): Symbol of the stock
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.