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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -10,10 +10,8 @@ from Gradio_UI import GradioUI
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
13
- def get_stock_signal(symbol: str, interval: str) -> str:
14
- """
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").
 
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
13
+ def get_stock_signal(symbol: str, interval: str):
14
+ """Retrieves intraday stock data for the given symbol using the Alpha Vantage API, computes exponential moving averages (EMA), and generates a trading signal based on an EMA crossover strategy.
 
 
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").