Skip to content

Intelligent Stock Market Analysis & Prediction System

Notifications You must be signed in to change notification settings

TechQuanta/StockVerse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ˆ StockVerse โ€” Intelligent Stock Market Analysis & Prediction System

Empowering smarter investment decisions through Machine Learning and Data-Driven Insights.

๐Ÿง  Overview

StockVerse is a powerful machine learningโ€“based project designed to analyze and predict stock market trends using both classification and regression models. It processes NIFTY 50 historical data to predict:

๐Ÿ“‰ Whether the stock price will go UP or DOWN

๐Ÿ’ฐ The next dayโ€™s closing price

Built with Streamlit, scikit-learn, and Pandas, it provides an intuitive dashboard for visualization and live prediction.

๐Ÿš€ Features

โœ… Dual Machine Learning Models

Logistic Regression โ†’ Predicts movement direction (Up/Down)

Linear Regression โ†’ Predicts next-day closing price

โœ… Streamlit Dashboard

Real-time prediction from user input

Visualized recent stock trends

โœ… Data Engineering Pipeline

Cleans and processes raw NIFTY50 data

Handles missing values and scaling

โœ… Modular Structure

Separate scripts for training, prediction, and UI

โœ… Open for Contribution

Anyone can fork this repo and enhance the features further

๐Ÿงฉ Tech Stack Component Technology Language Python 3.x Framework Streamlit ML Libraries scikit-learn, Pandas, NumPy, Joblib Data Source NIFTY50 Historical Stock Data Version Control Git & GitHub ๐Ÿ—‚๏ธ Project Structure StockVerse/ โ”‚ โ”œโ”€โ”€ data/ โ”‚ โ”œโ”€โ”€ engineered_stock_data.csv โ”‚ โ””โ”€โ”€ engineered_stock_data_sample.csv โ”‚ โ”œโ”€โ”€ models/ โ”‚ โ”œโ”€โ”€ logistic_model.pkl โ”‚ โ””โ”€โ”€ linear_model.pkl โ”‚ โ”œโ”€โ”€ src/ โ”‚ โ”œโ”€โ”€ app.py # Streamlit dashboard โ”‚ โ””โ”€โ”€ model_trainer.py # Model training script โ”‚ โ”œโ”€โ”€ requirements.txt โ”œโ”€โ”€ README.md โ””โ”€โ”€ .gitignore

โš™๏ธ Installation and Setup 1๏ธโƒฃ Clone the Repository git clone https://github.com//StockVerse.git cd StockVerse

2๏ธโƒฃ Create and Activate Virtual Environment python -m venv venv venv\Scripts\activate # On Windows

or

source venv/bin/activate # On Mac/Linux

3๏ธโƒฃ Install Dependencies pip install -r requirements.txt

4๏ธโƒฃ Train the Models

(If you want to retrain with your dataset)

python src/model_trainer.py

5๏ธโƒฃ Run the Streamlit App streamlit run src/app.py

๐Ÿ’พ Model Files

After training, models are automatically saved to:

models/logistic_model.pkl models/linear_model.pkl

๐ŸŒ Deployment

You can deploy this project easily using:

Streamlit Cloud

Render

Hugging Face Spaces

Just make sure your folder structure is preserved and your dataset (or sample dataset) is uploaded inside /data.

๐Ÿงฎ Example Predictions Input Features Logistic Output Linear Output RSI: 48, MA5: 1800, Volatility: 0.5 ๐Ÿ“ˆ UP โ‚น1834.76 RSI: 72, MA5: 420 ๐Ÿ“‰ DOWN โ‚น409.22 ๐Ÿ› ๏ธ Commands Reference Task Command Install dependencies pip install -r requirements.txt Run dashboard streamlit run src/app.py Train models python src/model_trainer.py Push changes git add . && git commit -m "update" && git push origin main ๐Ÿค Contributing

We welcome all contributions! ๐ŸŽ‰ You can fork this repository and modify it to give it a better shape โ€” add new models, data sources, or improve visualization.

Steps to contribute:

Fork this repo

Create your feature branch

git checkout -b feature/NewFeature

Commit your changes

git commit -m "Added new feature"

Push to branch and open a Pull Request

git push origin feature/NewFeature

๐Ÿ’ฌ Contact

๐Ÿ“ง Developer: [Your Name or GitHub Profile] ๐ŸŒ GitHub: https://github.com//StockVerse

๐Ÿ“„ License: MIT

โญ If you like this project, give it a star on GitHub and share it with your community!

Letโ€™s make StockVerse smarter together ๐Ÿš€

About

Intelligent Stock Market Analysis & Prediction System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published