riu-rd commited on
Commit
3823318
·
verified ·
1 Parent(s): 0eb4b7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -15,6 +15,8 @@ def get_stock_signal(symbol: str, interval: str):
15
  Args:
16
  symbol: A string representing the stock symbol to analyze (e.g., "AAPL", "GOOG", "MSFT", "TSLA").
17
  interval: A string representing the time interval between data points (e.g., "1min", "5min", "15min", "60min").
 
 
18
  """
19
  API_KEY = 'RG9XKRIYBL2EV3V3'
20
 
 
15
  Args:
16
  symbol: A string representing the stock symbol to analyze (e.g., "AAPL", "GOOG", "MSFT", "TSLA").
17
  interval: A string representing the time interval between data points (e.g., "1min", "5min", "15min", "60min").
18
+ Returns:
19
+ str: A complete sentence summarizing the latest closing price and the recommended trading decision (Buy, Sell, or Hold).
20
  """
21
  API_KEY = 'RG9XKRIYBL2EV3V3'
22