tttarun commited on
Commit
a33d005
1 Parent(s): cd5b322

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = stock_name.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
 
 
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