Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ support_period = st.sidebar.slider("Support Lookback Period (days)", min_value=5
|
|
| 35 |
resistance_period = st.sidebar.slider("Resistance Lookback Period (days)", min_value=5, max_value=50, value=20, step=1)
|
| 36 |
|
| 37 |
# Option to limit the number of stocks to scan
|
| 38 |
-
limit_stocks = st.sidebar.slider("Number of Stocks to Scan", min_value=5, max_value=len(nifty_500_stocks), value=
|
| 39 |
|
| 40 |
# Initialize an empty DataFrame to store the filtered stocks
|
| 41 |
filtered_data = pd.DataFrame(columns=["Stock", "Latest Price", "RSI", "Volume", "Short MA", "Long MA", "Support", "Resistance", "Entry Signal", "Exit Signal"])
|
|
|
|
| 35 |
resistance_period = st.sidebar.slider("Resistance Lookback Period (days)", min_value=5, max_value=50, value=20, step=1)
|
| 36 |
|
| 37 |
# Option to limit the number of stocks to scan
|
| 38 |
+
limit_stocks = st.sidebar.slider("Number of Stocks to Scan", min_value=5, max_value=len(nifty_500_stocks), value=502, step=5)
|
| 39 |
|
| 40 |
# Initialize an empty DataFrame to store the filtered stocks
|
| 41 |
filtered_data = pd.DataFrame(columns=["Stock", "Latest Price", "RSI", "Volume", "Short MA", "Long MA", "Support", "Resistance", "Entry Signal", "Exit Signal"])
|