riu-rd commited on
Commit
39c9aa2
·
verified ·
1 Parent(s): 72162a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,8 +15,8 @@ def get_stock_signal(symbol: str, interval: str) -> str:
15
  Retrieves intraday stock data for the given symbol using the Alpha Vantage API, computes exponential moving averages (EMA),
16
  and generates a trading signal based on an EMA crossover strategy.
17
  Args:
18
- symbol (str): Stock symbol to analyze (e.g., "AAPL", "GOOG", "MSFT", "TSLA").
19
- interval (str): Time interval between data points (e.g., "1min", "5min", "15min", "60min").
20
  """
21
  API_KEY = 'RG9XKRIYBL2EV3V3'
22
 
 
15
  Retrieves intraday stock data for the given symbol using the Alpha Vantage API, computes exponential moving averages (EMA),
16
  and generates a trading signal based on an EMA crossover strategy.
17
  Args:
18
+ symbol: A string representing the stock symbol to analyze (e.g., "AAPL", "GOOG", "MSFT", "TSLA").
19
+ interval: A string representing the time interval between data points (e.g., "1min", "5min", "15min", "60min").
20
  """
21
  API_KEY = 'RG9XKRIYBL2EV3V3'
22