A Python-based toolkit for fetching and visualizing financial data and metrics for stocks.
Project description
Stock Analysis Program
Overview
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.
Features
- Data Fetching: Retrieve historical data, financial summaries, and key metrics for stocks.
- Data Visualization: Visualize stock prices, financial metrics, and revenue growth.
- Comparative Analysis: Compare performance of different stocks and stock indices.
- Customizability: Modular design allows for easy customization and extension.
Installation
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
Usage
The program consists of multiple Python classes categorized into Fetchers and Plotters.
Fetchers
StockDataFetcher
StockSummaryFetcher
FinancialMetricsFetcher
RevenueGrowthFetcher
Plotters
StockPricePlotter
FinancialMetricsPlotter
RevenueGrowthPlotter
StockVolatilityPlotter
StockExchangePerformancePlotter
CurrentPricesTickerDisplay
Example
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')
Documentation
For detailed documentation on each component, please refer to the docs
directory.
Contributing
Contributions to enhance the program are welcome. Please fork the repository and submit a pull request with your changes.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stock_analysis_program-1.0.8.tar.gz
.
File metadata
- Download URL: stock_analysis_program-1.0.8.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9980dbd17607d8fec92f32cc38640d9216e0c3db04afddf07c99b3f04387912a |
|
MD5 | 93fcbf64dfd6621cf14d1db05613753d |
|
BLAKE2b-256 | 9494bd9acdd0bafd85e7df4f1a44f9cee73714c4619cc5bb92c177488dda80e9 |
File details
Details for the file stock_analysis_program-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: stock_analysis_program-1.0.8-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d0bedb3b61d40b2e4c2f9d575fd6e123ae9cdcd693fc567bec916de66c591c7 |
|
MD5 | 989e4e8cc9959ee50c66423e57ca6817 |
|
BLAKE2b-256 | 18dbda4ec828b4de61b64a07e18e87b93a840df2f0ee279766d3d4efcf5b8850 |