- A ChatGPT powered AI chatbot for assisting real time information regarding searched stocks.
- Python
- Pandas
- Matplotlib
- Streamlit
- Yahoo Finance API (yfinance)
- OpenAI API (openai)
-
Gives the real time price of the searched stock, fetched through the yahoo finance API to the user.
-
Plots the visualizations and graphs of the stock performance in the specified time period by the user.
-
Calculates Simple Moving Average(SMA), Exponential Moving Average(EMA), Relative Strength Index(RSI) and Moving Average Convergence / Divergence(MACD) for given time frame of a specific stock asked.
- Clone the repository locally:
git clone https://github.com/SCube27/financial-ai-chatbot.git
- Install the required libraries:
pip install -r requirements.txt
-
From Open AI create your account if not already present and generate an
API Key
. -
Create a file named
API_KEY
in this cloned reposeitory and paste the generated key from OpenAI. -
Run the model:
streamlit run main.py
- Follow the link given in the console to access the chatbot.
*** (Note: The OpenAi API requires some amount of credits. If using the API for first time the credits might be free else a small amount has to be paid to use API services and make model running.) ***
- The outputs for the project are present in the outputs folder.