Spaces:
Configuration error
FinSight AI
FinSight AI is a Streamlit-based application that combines Yahoo Finance data with Google Generative AI to deliver tailored financial insights for various company stocks.
The FinSight AI application is live and can be accessed here.
Introduction
FinSight AI leverages Yahoo Finance API for fetching detailed company data including stock information, financial statements, holders information, and price history. It then uses Google Generative AI models to generate insights and analyses based on user queries and the fetched data.
Features
- Fetch detailed company information including income statements, balance sheets, cash flow statements, major holders, institutional holders, mutual fund holders, insider purchases, recommendations, upgrades/downgrades, and price history.
- Interactive user interface powered by Streamlit.
- Integration with Google Generative AI for generating tailored company analyses based on user queries.
- Custom CSS for enhanced UI/UX.
Setup
Prerequisites
Before running the application, make sure you have the following installed:
- Python (version 3.6 or higher)
- Pip (Python package installer)
- Google Generative AI API key
- Streamlit
Installation
Clone the repository:
git clone https://github.com/your/repository.git cd repositoryInstall dependencies:
pip install -r requirements.txtConfigure Google Generative AI: Obtain your Google API key from the Google Cloud Console and set it in the
GOOGLE_API_KEYvariable inapp.py.
Usage
Run the Streamlit app:
streamlit run app.pyNavigate to the provided URL (usually http://localhost:8501) in your web browser.
Select a company from the dropdown, enter your query, and click "Fetch Data" to retrieve detailed financial information and generated insights.
Dependencies
- pandas
- json
- streamlit
- yfinance
- google.generativeai
File Structure
βββ app.py # Main Streamlit application code
βββ symbols.csv # CSV file containing stock symbols and tickers
βββ README.md # This README file
βββ requirements.txt # List of Python dependencies
Contributing
Contributions are welcome! Please fork the repository and create a pull request with your changes.
License
This project is licensed under the MIT License - see the LICENSE file for details.