Welcome to the Stock-Analysis-Chatbot project! This application is designed to assist users in analyzing stock data by providing functionalities such as fetching stock prices, calculating technical indicators, and visualizing stock performance over the past year.
- Get the latest stock price for any company.
- Calculate Simple Moving Average (SMA) and Exponential Moving Average (EMA).
- Compute Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD).
- Visualize stock price trends using plots.
- Python
- Streamlit
- OpenAI API
- yFinance
- Matplotlib
- Pandas
- NumPy
Ensure you have Python installed on your machine. You can download it from python.org.
- clone this project on your local machine,
git clone https://github.com/vikky1701/Stock-Analysis-Chatbot.git
- Create a file named API_KEY in the project directory and add your OpenAI API key to this file.
API_KEY
- create a virtual environment inside Stock-Analysis-Chatbot folder,
python3 -m venv venv
- activate virtual environment
source venv/bin/activate
- install project dependencies from requirements.txt,
pip install -r requirements.txt
- Revert to the Older OpenAI Python Library Version
pip install openai==0.28.0
- run project on your local machine,
streamlit run main.py