Equity Markets and Stock Instruments › Visualizing Market Data

Michael BrenndoerferNovember 2, 20256 min read
Quantitative FinanceAll chapters
Part 2 of 15Equity and Fixed Income Markets
Chapter 10Equity Markets and Stock Instruments › Visualizing Market Data
Reading section 8 of 11 · Visualizing Market Data · 6 minSection 8 of 11 · 6 min

Book contents

Section 8 of 11 · 6 min read

Equity Markets and Stock Instruments › Visualizing Market DataOne section · Sections in this chapter8 / 11 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Understanding how to visualize stock data helps with exploratory analysis and communicating findings. Let's examine common visualization patterns.

Out[28]:
Visualization
Line chart of a synthetic price path and its 50-observation moving average.
Synthetic price path with a 50-observation moving average. These generated prices are not Apple market history.

The moving average smooths daily price fluctuations over the chosen window. This gives a window-dependent summary of prices, not a direct observation of an underlying trend. When price trades above its moving average, the trend is generally considered bullish; below suggests bearish conditions.

Out[30]:
Visualization
Histogram of synthetic daily simple returns with a fitted normal density overlay.
Daily simple returns from a synthetic Gaussian-increment price path, with a fitted normal density for a plotting comparison. This is not empirical Apple data or a test establishing fat tails.

The histogram and boxplots illustrate how to compare a synthetic sample with a fitted normal distribution. The price path was generated from Gaussian increments, not measured market observations. A finite sample can have nonzero excess kurtosis even under a normal generator, so these plots do not establish that Apple returns or the generating population have fat tails. An empirical tail analysis would require identified market data and an appropriate statistical procedure.

Out[32]:
Visualization
Side-by-side boxplots compare synthetic path returns with a matched normal sample. A panel reports both samples’ excess kurtosis and skewness.
Boxplots compare returns from the synthetic price path with a matched normal sample; sample skewness and excess kurtosis are descriptive, not evidence of a population tail law.
Out[34]:
Visualization
Bar chart of synthetic volume over 252 business-day observations.
Synthetic daily trading volume generated to demonstrate a volume chart.
Synthetic high-low ranges enclosing open and close for the final 20 observations.
Synthetic OHLC bars for the final 20 business-day observations; this is not measured company trading data.

Volume spikes often accompany significant price moves, earnings announcements, or news events. The OHLC chart shows the intraday range for each day: the line spans from low to high, while the thick segment spans from open to close. Teal indicates close greater than or equal to open; rose indicates close below open. The generated rows illustrate the display convention, not a relationship between news and volume in observed markets.