Creating Charts with Quantmod

Premium

Apart from loading data from external and local sources,Ā QuantmodĀ is also suitable for making beautiful charts. There are three types of charts: lines, bars and candlestick. We will learn how to create these charts to show historical data for SPY index.Ā In Quantmod, the function to create charts is calledĀ chartSeries. With theĀ typeĀ parameter we can change the chart type.

Unlock Premium Content

Upgrade your account to access the full article, downloads, and exercises.

You'll get access to:

  • Access complete tutorials and examples
  • Download source code and resources
  • Follow along with practical exercises
  • Get in-depth explanations