A comprehensive investment advisory system that uses artificial intelligence techniques to help users make informed investment decisions.
- Risk Assessment using Fuzzy Logic: Evaluates the user's risk profile based on age, income, risk tolerance, and market volatility.
- Portfolio Optimization using Genetic Algorithms: Selects the optimal investment portfolio that balances risk and return.
- Automated Recommendations using an Intelligent Agent: Provides personalized investment advice based on portfolio health and market conditions.
- Interactive Dashboard: Displays risk assessment, portfolio optimization, and investment recommendations.
This project integrates four artificial intelligence concepts:
- Fuzzy Logic: Used to determine the user's risk level based on multiple factors.
- Genetic Algorithm: Used to optimize portfolio allocation across different asset classes.
- Intelligent Agent: Monitors market conditions and provides automated investment advice.
- Web-based Visualization: Presents recommendations via an interactive Streamlit dashboard.
- Ensure you have Python 3.8+ installed.
- Clone this repository.
- Install the required dependencies:
pip install -r requirements.txt
- Navigate to the project directory:
cd smart_investment_advisor
- Run the application:
streamlit run main.py
- Access the application in your web browser at
http://localhost:8501
.
-
Enter your profile information in the sidebar:
- Age
- Monthly income
- Risk tolerance
-
Configure advanced settings (optional):
- Market volatility
- Asset classes to include
-
Click "Analyze Profile" to generate:
- Risk assessment
- Optimized portfolio allocation
- Personalized investment advice
User Age | Income | Risk Tolerance | System Recommendation |
---|---|---|---|
22 | $2000 | High | Invest 70% in stocks |
50 | $5000 | Low | Invest 40% in bonds |
35 | $3000 | Medium | Invest 50% in stocks, 30% in gold |
- This system is for educational purposes only and does not constitute financial advice.
- Historical performance is not indicative of future results.
- The system uses publicly available market data which may have limitations.
- Always consult with a qualified financial advisor before making investment decisions.
- Python 3.8+
- Scikit-Fuzzy for fuzzy logic implementation
- DEAP for genetic algorithm implementation
- YFinance for market data
- Streamlit for web interface
- Pandas and NumPy for data manipulation
- Matplotlib for visualization =======