iamharisai commited on
Commit
63409f6
·
verified ·
1 Parent(s): 485d711
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -35,10 +35,11 @@ def get_current_time_in_timezone(timezone: str) -> str:
35
 
36
  @tool
37
  def get_stock_price(symbol: str) -> float:
38
- """The tool that provides the current stock price for a given symbol.
39
- Args:
40
- symbol: A string representing the valid stock symbol (eg., 'meta' or 'aapl').
41
  """
 
42
  return None
43
  # api_url = 'https://api.api-ninjas.com/v1/stockprice?ticker={}'.format(symbol)
44
  # response = requests.get(api_url, headers={'X-Api-Key': 'tLxWjj6xXdYXkyajGKBdKQ==ncmATTD1rqr2s2Hb'})
 
35
 
36
  @tool
37
  def get_stock_price(symbol: str) -> float:
38
+ """A tool that fetches the current stock price for a specified stock.
39
+ Args:
40
+ symbol: A string representing a valid stock (e.g., 'aapl').
41
  """
42
+
43
  return None
44
  # api_url = 'https://api.api-ninjas.com/v1/stockprice?ticker={}'.format(symbol)
45
  # response = requests.get(api_url, headers={'X-Api-Key': 'tLxWjj6xXdYXkyajGKBdKQ==ncmATTD1rqr2s2Hb'})