Skip to content

subhadipsinha722133/Fuzzy-Expert-System-Stock-BSE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📈 Fuzzy Expert System for Stock Portfolio Selection 🤖

  • 🌟 Overview
    • This project implements a novel Fuzzy Expert System 🧠 designed for optimal stock portfolio selection. The system leverages fuzzy logic and Dempster-Shafer (DS) theory 📊 for rule construction, along with Ant Colony Optimization (ACO) 🐜 for model optimization. The primary goal is to allocate investor assets among various stocks to maximize returns 📈 while minimizing risk 📉.

🎯 Key Features

  • 🧩 Fuzzy Rule Construction using DS-Theory: Implements Dempster-Shafer theory to handle uncertainty and combine evidence from multiple factors efficiently, reducing implementation time and cost ⏱️💰.
  • 🎯 Defuzzification: Converts fuzzy output into crisp values for actionable investment decisions ✅.
  • 🚀 Optimization using ACO: Utilizes Ant Colony Optimization to maximize the objective function: (fuzzy portfolio return - risk free return) / weighted mean semi-variance 📊➗.

📋 Factors Considered

The system evaluates stocks based on the following factors, each with its geometric mean as derived from historical data:

  • SI No. Factor Geometric Mean (M_F)
    • 1️⃣ Earn per share 7.17
    • 2️⃣ Payout ratio 7.00
    • 3️⃣ Price to earning ratio 8.43
    • 4️⃣ Price to sales ratio 8.35
    • 5️⃣ Current ratio 6.02
    • 6️⃣ Price to book value ratio 8.26
    • 7️⃣ Price to cash flow ratio 6.59
    • 8️⃣ Profit margin 6.52
    • 9️⃣ Long term debt to equity ratio 8.20
    • 🔟 Accounts receivable turnover 5.81

⚙️ How It Works

  • 📥 Input Processing: The system takes stock data and applies fuzzy logic to handle imprecise or uncertain information.
  • 🧠 Rule Construction: Using Dempster-Shafer theory, rules are constructed to combine evidence from the listed factors.
  • 🎯 Defuzzification: The fuzzy outputs are converted into crisp values to determine the optimal stock allocation.
  • 🚀 Optimization: ACO is applied to refine the model, ensuring maximum return with minimal risk.

🌍 Global Applicability 🌎

As the outcome of this model found to be satisfactory ✅, this can be implemented for any stock exchanges around the world 🌐 but the selection of critical factors may vary over different stock exchanges. This fuzzy expert system model can be used to rank any set of alternatives based on the factors influencing them.


🔮 Future Enhancements & Research Directions

  • 🌐 Integration of expert system on integrated data of assets from different stock exchanges and mutual funds 🤝.
  • 🔄 Alternative Optimization Algorithms: Researchers can use other meta-heuristic algorithms such as:
  • Simulated Annealing 🔥
  • Tabu Search 🚫
  • Particle Swarm Optimization 🐦‍🔥
  • Genetic Algorithm 🧬
  • 📊 Enhanced Visualization tools for results interpretation 📉➡️📈.
  • ⏰ Real-time Data Feeds integration for live analysis 📡.

🚀 Usage

To use this system, provide stock data corresponding to the factors listed above. The model will process the inputs and output a recommended portfolio allocation.


📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

[Final Year Project🎖️Work on it] This project represents the fusion of computational intelligence 🧠 and financial expertise 💼, creating tools that make sophisticated investment strategies accessible to everyone!

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors