riteshcp commited on
Commit
156a6b4
·
verified ·
1 Parent(s): af6698e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -82,6 +82,7 @@ predefined_setups = {
82
  }
83
  }
84
 
 
85
  @st.cache_data
86
  def fetch_and_calculate_indicators(ticker, start_date, end_date, rsi_length, stoch_length, k_period, d_period):
87
  try:
@@ -222,6 +223,4 @@ def main():
222
  st.sidebar.warning(f"No stocks found meeting the selected criteria.")
223
 
224
  if __name__ == "__main__":
225
- main()
226
-
227
- Version 4 of 4
 
82
  }
83
  }
84
 
85
+
86
  @st.cache_data
87
  def fetch_and_calculate_indicators(ticker, start_date, end_date, rsi_length, stoch_length, k_period, d_period):
88
  try:
 
223
  st.sidebar.warning(f"No stocks found meeting the selected criteria.")
224
 
225
  if __name__ == "__main__":
226
+ main()