Sharpaxis commited on
Commit
0a99368
·
verified ·
1 Parent(s): 57f6b9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def my_custom_tool(symbol: str)-> str: #it's import to specify the return type
20
  end_date = datetime.now().strftime("%Y-%m-%d")
21
  ticker = yf.Ticker(symbol)
22
  df = ticker.history(start=start_date, end=end_date, auto_adjust=True)
23
- return f"""
24
  Today's Stock data for {symbol}:
25
  Open : {df['Open'].iloc[0]}
26
  High : {df['High'].iloc[0]}
 
20
  end_date = datetime.now().strftime("%Y-%m-%d")
21
  ticker = yf.Ticker(symbol)
22
  df = ticker.history(start=start_date, end=end_date, auto_adjust=True)
23
+ return f"""
24
  Today's Stock data for {symbol}:
25
  Open : {df['Open'].iloc[0]}
26
  High : {df['High'].iloc[0]}