This project is a Stock Analysis Application that uses Yahoo Finance, Screener.in, and AI-based analysis to provide insights about a company's financial position, key metrics, and technical analysis. It also allows users to ask follow-up questions for more detailed insights.
- Fetch historical stock data and calculate moving averages (50-day and 200-day) using Yahoo Finance.
- Extract key financial metrics and data tables from Screener.in.
- AI-driven analysis and recommendations using LangChain and Anthropic's Claude model.
- Interactive user interface built with Streamlit.
- Support for follow-up questions for detailed stock insights.
- Python Libraries: Streamlit, yfinance, requests, BeautifulSoup, pandas.
- AI Tools: LangChain, Anthropic's Claude model.
- APIs: Yahoo Finance, Screener.in.
- Visualization: Line charts for moving averages using Streamlit.
-
Install Dependencies
Ensure Python 3.8 or higher is installed. Install the required libraries using pip:pip install streamlit yfinance requests beautifulsoup4 pandas langchain-anthropic
-
Run the Application
Launch the Streamlit app:streamlit run app.py
-
Usage
- Enter a stock symbol (e.g.,
RELIANCE
,INFY
) to analyze. - View financial data, moving averages, and AI-driven analysis.
- Ask follow-up questions for more insights.
- Enter a stock symbol (e.g.,
The insights and analyses provided by this application are for informational purposes only and are based on the available data. The stock market is inherently unpredictable, and outcomes may vary. Please consider the risks before making investment decisions.
SS