Basics of OHLC charts with Python’s Matplotlib

A quick guide on how to draw these essential charts for stock analysis

Thiago Carvalho
Towards Data Science
7 min readMar 15, 2021

--

OHLC chart with volume — Image by the Author

With a history going back to the 18th century, Open-High-Low-Close (OHLC) charts are among the most popular financial analysis tools, typically used to illustrate stock prices over time.

--

--