Skip to content

Welcome to the InvestAI Chatbot! This intelligent virtual assistant is designed to provide a range of financial services to help you make informed decisions about your investments

License

Notifications You must be signed in to change notification settings

Vincent-elgh/Investai

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖️InvestAI Chatbot🤖️

Welcome to the InvestAI Chatbot, a smarter way to manage your investments and financial aspirations. Explore various scenarios and make well-informed choices that align with your financial goals.

Table of Contents

  1. Functions Import
  2. Sample Portfolios
  3. Scenario 1: Creating an Account
  4. Scenario 2: Risk Profile
  5. Scenario 3: Investment Updates
  6. Scenario 4: ETFs Recommendation
  7. Integration of Codes

Functions Import

This section of the code involves importing the necessary functions and libraries that the InvestAI Chatbot relies on.

# Setting up the environment and importing all the functions
!pip install numpy-financial
from numpy_financial import rate
from sklearn.preprocessing import MinMaxScaler
from sklearn.neighbors import NearestNeighbors

import yfinance as yf
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns

# Set a professional theme for plots
sns.set_style("whitegrid")

Scenario 1: Creating an Account

Explanation: In this scenario, the InvestAI Chatbot helps users create an account based on their investment goals and demographic information. It begins by gathering essential customer information, such as their first name, age, residency status, and annual income. The chatbot then validates the user's eligibility for various investment options based on this information. If the user meets the criteria, they are presented with a list of investment goals to choose from, such as building an emergency fund, buying a home, achieving financial independence, saving for retirement, or improving credit score. #1

Scenario 2: Risk Profile

Explanation: In this scenario, the chatbot evaluates the user's risk profile by asking a series of questions and collecting user responses. The questions cover various aspects of risk tolerance, investment time horizon, comfort with fluctuations in investment value, familiarity with investment options, and reactions to market volatility. Based on the user's responses, the chatbot calculates a total risk score and categorizes the user's risk tolerance. The risk categories typically range from "Extreme Low" to "High."

Scenario 3: Investment Updates

Explanation: In this scenario, the chatbot provides users with the ability to receive updates on their investments. Users are prompted to provide their username and password, which allows the chatbot to access their investment portfolios. The chatbot then presents the available portfolios associated with the provided credentials. Users can select a specific portfolio and choose a timeframe to review its performance. Additionally, users have the option to compare their selected portfolio with other Exchange-Traded Funds (ETFs) to gain insights into investment trends.

Scenario 4: ETFs Recommendation

Explanation: In this scenario, the chatbot assists users in making informed decisions about investing in Exchange-Traded Funds (ETFs). The chatbot leverages the user's risk profile from Scenario 2 to recommend suitable ETFs that align with the user's risk tolerance and financial goals. It calculates the user's required rate of return based on their investment horizon, initial investment amount, and desired future value. Using this required rate of return and the user's risk ranking, the chatbot filters a list of ETFs. It recommends ETFs that match or exceed the user's required rate of return and are within their risk tolerance. Users can then explore these recommended ETFs and their historical performance to make informed decisions about diversifying their investment portfolios and optimizing their strategies.

About

Welcome to the InvestAI Chatbot! This intelligent virtual assistant is designed to provide a range of financial services to help you make informed decisions about your investments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 88.2%
  • Python 11.8%