Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ csv_file_path = 'ind_nifty500list.csv' # Ensure this file is uploaded to your H
|
|
| 21 |
|
| 22 |
# Check if the file exists
|
| 23 |
if not os.path.isfile(csv_file_path):
|
| 24 |
-
st.error("The stock list file was not found. Please upload '
|
| 25 |
else:
|
| 26 |
# Read the CSV file into a DataFrame
|
| 27 |
stock_df = pd.read_csv(csv_file_path)
|
|
@@ -259,7 +259,7 @@ else:
|
|
| 259 |
scanned_stocks.append({
|
| 260 |
'Company Name': company_name,
|
| 261 |
'Symbol': ticker,
|
| 262 |
-
'RSI': current_rsi,
|
| 263 |
'Volume Trend': volume_trend
|
| 264 |
})
|
| 265 |
|
|
|
|
| 21 |
|
| 22 |
# Check if the file exists
|
| 23 |
if not os.path.isfile(csv_file_path):
|
| 24 |
+
st.error("The stock list file was not found. Please upload 'ind_nifty500list.csv' to your app.")
|
| 25 |
else:
|
| 26 |
# Read the CSV file into a DataFrame
|
| 27 |
stock_df = pd.read_csv(csv_file_path)
|
|
|
|
| 259 |
scanned_stocks.append({
|
| 260 |
'Company Name': company_name,
|
| 261 |
'Symbol': ticker,
|
| 262 |
+
'RSI': round(current_rsi, 2),
|
| 263 |
'Volume Trend': volume_trend
|
| 264 |
})
|
| 265 |
|