Welcome to the Advanced Indian Stock Market Dashboard! ๐ This tool helps you understand and analyze the Indian stock market with real-time data, smart AI recommendations, and comprehensive charts. Whether you're new to trading or looking for deeper insights, this dashboard is designed to be user-friendly and informative. ๐
Project link-> https://indianstockai.streamlit.app/

Here's what this dashboard can do for you:
- ๐ Real-time Stock Data: Get instant updates on stock prices, daily highs and lows, and trading volumes.
- ๐ค Smart AI Trading Recommendations: Receive intelligent BUY, SELL, or HOLD signals with a confidence score, powered by advanced mathematical models.
- ๐ Comprehensive Technical Charts: Visualize stock performance with detailed charts showing key indicators like Moving Averages, RSI, MACD, and Bollinger Bands.
- ๐ Intelligent Stock Symbol Validation: โ No more guessing! The dashboard tells you if you've entered a wrong stock symbol.
- ๐ผ Trading Simulation: Practice your trading strategies without risking real money using the built-in buy/sell simulator and transaction log.
- ๐ Auto-Refresh: Keep your data fresh with an optional automatic refresh every 60 seconds. โ
- ๐ก Derivatives Market Insights: Explore specific data for the Indian derivatives market (Futures & Options).
You don't need to be a trading expert to use this dashboard! Here's a simple breakdown of each feature:
This is where you analyze individual company stocks.
- ๐ Stock Symbol: In the left sidebar, simply type the short name (symbol) of the Indian company stock you want to check (e.g., TCS for Tata Consultancy Services, RELIANCE for Reliance Industries).
- ๐ Refresh Data: Click the Refresh button to get the very latest information right away. ๐
- Auto Refresh (60s): Check this box if you want the dashboard to automatically update the stock data every 60 seconds, so you always have fresh numbers. โณ
- Current Price: This is the price of one share of the stock right now. The number next to it shows how much the price has changed from yesterday and its percentage change.
- Volume: This tells you how many shares of the stock have been traded today. A higher volume usually means more people are actively buying or selling that stock. ๐ฅ
- Day High: The highest price the stock reached today. ๐ข
- Day Low: The lowest price the stock touched today. ๐ด
This is like having a smart assistant giving you advice!
- ๐ BUY / SELL / HOLD:
- BUY (๐ข): The AI thinks the stock price might go up soon.
- SELL (๐ด): The AI suggests the stock price might go down soon.
- HOLD (๐ก): The AI isn't sure, or the market is mixed. It's best to wait and see.
- Reason: A short explanation of why the AI made that recommendation (e.g., "RSI oversold," "MACD bullish crossover"). Don't worry if you don't understand the terms yet; the main signal is the BUY/SELL/HOLD. ๐
- Confidence: This is how sure the AI is about its recommendation. More green circles (๐ข) mean higher confidence. For example, ๐ข๐ข๐ข๐ข๐ข๐ข๐ข๐ขโชโช means 80% confidence.
This section shows you graphs that help visualize how the stock price has moved over time and what the indicators are suggesting.
- Candlestick Chart: This is the main chart. Each "candle" shows the opening price, closing price, highest price, and lowest price for a specific day. Green candles mean the price went up that day, and red candles mean it went down. ๐ฏ๏ธ
- Moving Averages (SMA 20, SMA 50, SMA 200): These are lines that smooth out the price data to show the average price over 20, 50, or 200 days. They help identify trends. ๐
- Bollinger Bands: These are three lines (upper, middle, lower) that show how much the price is moving around its average. They can help spot when a stock is "overbought" (price near upper band) or "oversold" (price near lower band). ๐
- RSI (Relative Strength Index): This indicator tells you if a stock is "overbought" (too many people buying, price might drop) or "oversold" (too many people selling, price might rise). It ranges from 0 to 100. ๐
- MACD (Moving Average Convergence Divergence): This indicator helps spot changes in a stock's momentum and trend. It has two lines and a histogram (bars) that show if the buying or selling pressure is increasing. ๐๐
This section shows you the exact numbers for the technical indicators mentioned above, along with some performance metrics like daily and monthly returns.
This is your practice zone! ๐ฎ
- Quantity: How many shares you want to "buy" or "sell."
- Price per Share: The price you want to "buy" or "sell" at.
- Buy / Sell / Hold Buttons: Click these to record your simulated trades.
- ๐ Transaction Log: All your practice trades are recorded here, so you can review your decisions.
If you type a stock symbol that doesn't exist or can't be found, the dashboard will show a clear red box with "โ Invalid Stock Symbol" and suggestions on what to do.
This section provides specialized data for more advanced trading instruments called "derivatives." If you're new to trading, you might want to focus on the Equity Dashboard first.
-
NSE Equity Market:
- price_volume_and_deliverable_position_data: Shows historical price, trading volume, and how many shares were actually "delivered" (bought to keep, not just for quick trading).
- bhav_copy_equities: A daily report from NSE showing opening, closing, high, and low prices for all listed stocks on a specific date.
- nifty50_equity_list: Lists all the stocks that make up the Nifty 50 index (India's top 50 companies). ๐
- india_vix_data: Shows the "India VIX" index, which measures how much the market expects prices to swing in the near future (higher VIX means more expected volatility). ๐
- market_watch_all_indices: Gives you real-time data for various market indexes (like Nifty 50, Bank Nifty, etc.).
-
NSE Derivative Market:
- fno_bhav_copy: A daily report for Futures and Options contracts, similar to the equity bhav copy but for derivatives.
- nse_live_option_chain: Shows all available Options contracts for a specific stock or index, including their prices and how many contracts are open.
- future_price_volume_data: Gives historical price and volume data for Futures contracts.
The AI recommendation aims for high accuracy (around 80%) by using a sophisticated, rule-based system that combines multiple proven technical analysis strategies. It's not a random guess!
To run this powerful dashboard on your own computer, follow these simple steps:
- Python 3.8+: Make sure you have Python installed. You can download it from python.org.
- pip: This is usually installed with Python.
- Save the Code: Copy the entire Python code for the dashboard into a file named
app.py
on your computer. - Open Terminal/Command Prompt:
- On Windows, search for "Command Prompt" or "PowerShell."
- On macOS/Linux, open "Terminal."
- Navigate to the Folder: Use the
cd
command to go to the folder where you savedapp.py
.- Example:
cd C:\Users\YourName\Documents\StockDashboard
- Example:
cd ~/Documents/StockDashboard
- Example:
- Install Libraries: You need to install all the necessary tools (libraries) for the dashboard to work. Run this command:
pip install streamlit pandas numpy plotly requests beautifulsoup4 streamlit-autorefresh yfinance nselib
Once all libraries are installed, run the dashboard using this command in your terminal/command prompt (from the same folder where app.py
is):
streamlit run app.py
Your web browser should automatically open a new tab with the dashboard! If not, it will provide a local URL (e.g., http://localhost:8501
) that you can copy and paste into your browser. ๐
This Advanced Indian Stock Market Dashboard is provided for educational and informational purposes only. It is NOT financial advice. Stock market investments carry inherent risks, and you could lose money. Always conduct your own thorough research, understand the risks involved, and consult with a qualified financial advisor before making any investment decisions. The AI recommendations are based on historical data and mathematical models, which do not guarantee future performance.
Happy Analyzing! ๐๐๐# ๐ Advanced Indian Stock Market Dashboard 2025 ๐
Welcome to the Advanced Indian Stock Market Dashboard! ๐ This tool helps you understand and analyze the Indian stock market with real-time data, smart AI recommendations, and comprehensive charts. Whether you're new to trading or looking for deeper insights, this dashboard is designed to be user-friendly and informative. ๐
Here's what this dashboard can do for you:
- ๐ Real-time Stock Data: Get instant updates on stock prices, daily highs and lows, and trading volumes.
- ๐ค Smart AI Trading Recommendations: Receive intelligent BUY, SELL, or HOLD signals with a confidence score, powered by advanced mathematical models.
- ๐ Comprehensive Technical Charts: Visualize stock performance with detailed charts showing key indicators like Moving Averages, RSI, MACD, and Bollinger Bands.
- ๐ Intelligent Stock Symbol Validation: โ No more guessing! The dashboard tells you if you've entered a wrong stock symbol.
- ๐ผ Trading Simulation: Practice your trading strategies without risking real money using the built-in buy/sell simulator and transaction log.
- ๐ Auto-Refresh: Keep your data fresh with an optional automatic refresh every 60 seconds. โ
- ๐ก Derivatives Market Insights: Explore specific data for the Indian derivatives market (Futures & Options).
You don't need to be a trading expert to use this dashboard! Here's a simple breakdown of each feature:
This is where you analyze individual company stocks.
- ๐ Stock Symbol: In the left sidebar, simply type the short name (symbol) of the Indian company stock you want to check (e.g., TCS for Tata Consultancy Services, RELIANCE for Reliance Industries).
- ๐ Refresh Data: Click the Refresh button to get the very latest information right away. ๐
- Auto Refresh (60s): Check this box if you want the dashboard to automatically update the stock data every 60 seconds, so you always have fresh numbers. โณ
- Current Price: This is the price of one share of the stock right now. The number next to it shows how much the price has changed from yesterday and its percentage change.
- Volume: This tells you how many shares of the stock have been traded today. A higher volume usually means more people are actively buying or selling that stock. ๐ฅ
- Day High: The highest price the stock reached today. ๐ข
- Day Low: The lowest price the stock touched today. ๐ด
This is like having a smart assistant giving you advice!
- ๐ BUY / SELL / HOLD:
- BUY (๐ข): The AI thinks the stock price might go up soon.
- SELL (๐ด): The AI suggests the stock price might go down soon.
- HOLD (๐ก): The AI isn't sure, or the market is mixed. It's best to wait and see.
- Reason: A short explanation of why the AI made that recommendation (e.g., "RSI oversold," "MACD bullish crossover"). Don't worry if you don't understand the terms yet; the main signal is the BUY/SELL/HOLD. ๐
- Confidence: This is how sure the AI is about its recommendation. More green circles (๐ข) mean higher confidence. For example, ๐ข๐ข๐ข๐ข๐ข๐ข๐ข๐ขโชโช means 80% confidence.
This section shows you graphs that help visualize how the stock price has moved over time and what the indicators are suggesting.
- Candlestick Chart: This is the main chart. Each "candle" shows the opening price, closing price, highest price, and lowest price for a specific day. Green candles mean the price went up that day, and red candles mean it went down. ๐ฏ๏ธ
- Moving Averages (SMA 20, SMA 50, SMA 200): These are lines that smooth out the price data to show the average price over 20, 50, or 200 days. They help identify trends. ๐
- Bollinger Bands: These are three lines (upper, middle, lower) that show how much the price is moving around its average. They can help spot when a stock is "overbought" (price near upper band) or "oversold" (price near lower band). ๐
- RSI (Relative Strength Index): This indicator tells you if a stock is "overbought" (too many people buying, price might drop) or "oversold" (too many people selling, price might rise). It ranges from 0 to 100. ๐
- MACD (Moving Average Convergence Divergence): This indicator helps spot changes in a stock's momentum and trend. It has two lines and a histogram (bars) that show if the buying or selling pressure is increasing. ๐๐
This section shows you the exact numbers for the technical indicators mentioned above, along with some performance metrics like daily and monthly returns.
This is your practice zone! ๐ฎ
- Quantity: How many shares you want to "buy" or "sell."
- Price per Share: The price you want to "buy" or "sell" at.
- Buy / Sell / Hold Buttons: Click these to record your simulated trades.
- ๐ Transaction Log: All your practice trades are recorded here, so you can review your decisions.
If you type a stock symbol that doesn't exist or can't be found, the dashboard will show a clear red box with "โ Invalid Stock Symbol" and suggestions on what to do.
This section provides specialized data for more advanced trading instruments called "derivatives." If you're new to trading, you might want to focus on the Equity Dashboard first.
-
NSE Equity Market:
- price_volume_and_deliverable_position_data: Shows historical price, trading volume, and how many shares were actually "delivered" (bought to keep, not just for quick trading).
- bhav_copy_equities: A daily report from NSE showing opening, closing, high, and low prices for all listed stocks on a specific date.
- nifty50_equity_list: Lists all the stocks that make up the Nifty 50 index (India's top 50 companies). ๐
- india_vix_data: Shows the "India VIX" index, which measures how much the market expects prices to swing in the near future (higher VIX means more expected volatility). ๐
- market_watch_all_indices: Gives you real-time data for various market indexes (like Nifty 50, Bank Nifty, etc.).
-
NSE Derivative Market:
- fno_bhav_copy: A daily report for Futures and Options contracts, similar to the equity bhav copy but for derivatives.
- nse_live_option_chain: Shows all available Options contracts for a specific stock or index, including their prices and how many contracts are open.
- future_price_volume_data: Gives historical price and volume data for Futures contracts.
The AI recommendation aims for high accuracy (around 80%) by using a sophisticated, rule-based system that combines multiple proven technical analysis strategies. It's not a random guess!
To run this powerful dashboard on your own computer, follow these simple steps:
- Python 3.8+: Make sure you have Python installed. You can download it from python.org.
- pip: This is usually installed with Python.
- Save the Code: Copy the entire Python code for the dashboard into a file named
app.py
on your computer. - Open Terminal/Command Prompt:
- On Windows, search for "Command Prompt" or "PowerShell."
- On macOS/Linux, open "Terminal."
- Navigate to the Folder: Use the
cd
command to go to the folder where you savedapp.py
.- Example:
cd C:\Users\YourName\Documents\StockDashboard
- Example:
cd ~/Documents/StockDashboard
- Example:
- Install Libraries: You need to install all the necessary tools (libraries) for the dashboard to work. Run this command:
pip install streamlit pandas numpy plotly requests beautifulsoup4 streamlit-autorefresh yfinance nselib
Once all libraries are installed, run the dashboard using this command in your terminal/command prompt (from the same folder where app.py
is):
streamlit run app.py
Your web browser should automatically open a new tab with the dashboard! If not, it will provide a local URL (e.g., http://localhost:8501
) that you can copy and paste into your browser. ๐
This Advanced Indian Stock Market Dashboard is provided for educational and informational purposes only. It is NOT financial advice. Stock market investments carry inherent risks, and you could lose money. Always conduct your own thorough research, understand the risks involved, and consult with a qualified financial advisor before making any investment decisions. The AI recommendations are based on historical data and mathematical models, which do not guarantee future performance.
Happy Analyzing! ๐๐๐