This project performs in-depth analysis on stock data, building upon a previous stock picker project. It provides detailed insights on selected stocks including historical performance, risk metrics, and comparative analysis.
- Historical performance analysis
- Risk assessment (volatility, Sharpe ratio, etc.)
- Comparative analysis against market indices
- Visualization of key metrics
- Technical indicator calculations
- Python 3.8+
- Required packages:
- pandas
- numpy
- matplotlib
- yfinance
- requests
-
Clone the repository:
git clone https://github.com/yourusername/stock-depth-analysis.git cd stock-depth-analysis -
Install dependencies:
pip install -r requirements.txt
Run the main analysis script:
python stock_analysis.py
You can modify the input stock tickers in the config.py file or pass them as command-line arguments.
stock_analysis.py: Main script for running the analysisconfig.py: Configuration settings including API keys and default parametersfetcher.py: Module for fetching stock data from various sourcesanalyzer.py: Contains analysis functions and algorithmsvisualizer.py: Handles data visualizationutils.py: Utility functions
MIT