This project is a smart investment advisor application built using Python, Streamlit, OpenAI, and yfinance. It uses OpenAI's GPT-3 model to answer user queries and provide investment advice based on the latest stock prices fetched using yfinance.
- Fetches the latest stock prices using yfinance.
- Uses OpenAI's GPT-3 model to answer user queries.
- Provides a chat interface for user interaction.
- Stores chat history in session state.
- Clone the repository.
- Install the required Python packages using pip:
make setup
- Clone the
.env.example
file and rename it to.env
. Then, replace the values with your own.
cp .env.example .env
- Run the Streamlit app:
make run
- Open the provided local URL in your web browser.
- Enter your OpenAI API key in the sidebar.
- Click "Start Chat" to begin interacting with the smart investment advisor.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the terms of the MIT license.
This application is for informational purposes only. It is not intended to provide any investment advice. Always do your own research before making any investment decisions.