Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ def get_stock_data(stock_name,rsi_window,days_to_monitor,previous_n_days,rsi_thr
|
|
157 |
|
158 |
# Function to save CSV file and return its path
|
159 |
def save_to_csv(stock_input,rsi_window_slider,days_to_monitor,previous_n_days,rsi_threshold1,rsi_threshold2):
|
160 |
-
stock_name =
|
161 |
fstock, profit_data,summary_data = get_stock_data(stock_name,rsi_window,days_to_monitor,previous_n_days,rsi_threshold1,rsi_threshold2)
|
162 |
csv_file_path = f'{stock_name}.csv'
|
163 |
|
|
|
157 |
|
158 |
# Function to save CSV file and return its path
|
159 |
def save_to_csv(stock_input,rsi_window_slider,days_to_monitor,previous_n_days,rsi_threshold1,rsi_threshold2):
|
160 |
+
stock_name = stock_input.upper()
|
161 |
fstock, profit_data,summary_data = get_stock_data(stock_name,rsi_window,days_to_monitor,previous_n_days,rsi_threshold1,rsi_threshold2)
|
162 |
csv_file_path = f'{stock_name}.csv'
|
163 |
|