StockAnalysisProgram

Plotter

Overview

The plotter package facilitates the visualization of financial and stock market data. It is designed to assist traders, investors, financial analysts, and anyone interested in market trends, financial performance, and risk assessment through graphical representations.

Classes


CurrentPricesTickerDisplay

Description

Displays current stock prices in a ticker-like format for real-time monitoring.

Initialization

CurrentPricesTickerDisplay(tickers, interval=10)

Parameters

Methods

fetch_current_prices

Fetches current prices for the stock tickers.

Returns

display_ticker

Displays the current prices in a rolling ticker format.


FinancialMetricsPlotter

Description

Plots financial metrics of stocks in a histogram format for comparison.

Initialization

FinancialMetricsPlotter(tickers)

Parameters

Methods

plot_metrics

Plots histograms of various financial metrics.


RevenueGrowthPlotter

Description

Visualizes year-over-year revenue growth of stocks in a bar chart format.

Initialization

RevenueGrowthPlotter(tickers)

Parameters

Methods

plot_revenue_growth

Plots year-over-year revenue growth.


StockExchangePerformancePlotter

Description

Compares and visualizes the performance of different stock indices over time.

Initialization

StockExchangePerformancePlotter(indices)

Parameters

Methods

plot_performance

Plots normalized closing prices of the indices for comparison.


StockPricePlotter

Description

Visualizes stock prices and their moving averages over a selected period.

Initialization

StockPricePlotter(tickers)

Parameters

Methods

plot_closing_prices

Plots the closing prices of the stocks.

plot_moving_averages

Plots moving averages along with closing prices.


StockVolatilityPlotter

Description

Calculates and visualizes the rolling volatility of stock prices.

Initialization

StockVolatilityPlotter(tickers)

Parameters

Methods

plot_volatility

Calculates and plots rolling volatility.