StockWise : Risk-Aware Stock Decision Support System
[MIHIR KUMAR]
[SATYAM RAO]
[RAKESH SHRIVASTAVA]
Artificial Intelligence (AI) / Financial Technology (FinTech)
The project aims to build a risk-aware stock market decision support system for small and cautious investors.
Instead of focusing on real-time trading execution, the system helps users make pre-investment decisions by analyzing historical market data.
Users input their investment budget and risk appetite, and the system evaluates stocks based on volatility, trend strength, and market capitalization, categorizing them into low, medium, and high risk groups.
-
Integrated Yahoo Finance (yFinance) API for stock market data collection.
-
Implemented budget-based stock filtering.
-
Built rule-based logic for
*Risk classification: *Trend analysis (SMA & EMA) *Volatility calculation *Categorized stocks into Large-cap, Mid-cap, and Small-cap. *Developed a Flask-based backend for data processing and routing. *Designed a clean frontend UI for displaying insights.
This project uses Python, Flask, and Pandas to analyze historical stock market data and generate clear, investor-friendly insights.
The system focuses on:
Helping users understand risk before investing
Filtering stocks based on budget constraints
Providing explainable analytics, not predictions
The platform is especially targeted at beginner and amateur investors who lack deep market knowledge but wish to invest responsibly.
1.Clone the Repository:
Clone the repository to your local system:
git clone https://github.com/M141R/IEEE-Megaproject
2.Navigate to the Project Directory cd stockwise
3.Create a Virtual Environment (Optional but Recommended) python -m venv venv
4.Install Dependencies: pip install -r requirements.txt
5.Run the Flask Application: python app.py
6.Open in Browser http://127.0.0.1:5000/
Main Flask application file that:
Handles routing
Accepts user input
Calls stock analysis logic
Renders results to frontend templates
Contains the core logic for:
*Data filtering
*Volatility calculation
*Trend detection
*Risk scoring and categorization
HTML files for rendering the frontend UI.
Filters stocks based on user-defined investment budget.Only affordable stocks are considered for further analysis.
Classifies stocks into Low, Medium, and High risk categories.Uses volatility, drawdown, and trend behavior.
Uses Simple Moving Average (SMA) and Exponential Moving Average (EMA).Identifies Bullish, Bearish, or Sideways trends.
*Large-cap
*Mid-cap
*Small-cap