5

Technical Analysis and Building Interactive Dashboards

In this chapter, we will cover the basics of technical analysis (TA) in Python. In short, TA is a methodology for determining (forecasting) the future direction of asset prices and identifying investment opportunities based on studying past market data (especially the prices themselves and the traded volume).

We begin by showing how to calculate some of the most popular TA indicators (with hints on how to calculate others using selected Python libraries). Additionally, we show how to download precalculated technical indicators from reliable financial data vendors. We also touch upon a subfield of TA—candlestick pattern recognition.

At the end of the chapter, we demonstrate how to create ...

Get Python for Finance Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.