The Stock Analysis Program is a Python-based toolkit designed to fetch and visualize financial data and metrics for stocks. It is ideal for financial analysts, traders, and anyone interested in stock market analysis. The program offers functionalities such as retrieving historical stock data, computing moving averages, analyzing revenue growth, and plotting financial metrics.
To use this program, ensure you have Python installed on your system. Clone this repository and install the required dependencies:
git clone https://github.com/visionary-code-works/stock-analysis-program.git
cd stock-analysis-program
pip install -r requirements.txt
The program consists of multiple Python classes categorized into Fetchers and Plotters.
StockDataFetcher
StockSummaryFetcher
FinancialMetricsFetcher
RevenueGrowthFetcher
StockPricePlotter
FinancialMetricsPlotter
RevenueGrowthPlotter
StockVolatilityPlotter
StockExchangePerformancePlotter
CurrentPricesTickerDisplay
from plotter.stock_price_plotter import StockPricePlotter
# Plotting stock prices for Apple and Microsoft
price_plotter = StockPricePlotter(['AAPL', 'MSFT'])
price_plotter.plot_closing_prices('2021-01-01', '2021-12-31')
For detailed documentation on each component, please refer to the docs
directory.
Contributions to enhance the program are welcome. Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.