quantmod
Quantitative Financial Modelling & Trading Framework for R
    quantmod
    news
    what's next
    documentation
    examples
    gallery
    download
    license
    feeds
    R/quant links
    add to del.icio.us
{ gallery :: charts }

Charting with quantmod falls into two categories:

  1. Price charts
  2. Technical Analysis

At present only number 1 is implemented, though a complete charting facility is planned for the next few releases. A sneak peek is available in the examples section of the site.

The basic charts (bars, candles, and lines) are available, with options fine-tuning the overall look (e.g. select background colour or include volume). Click the images to view the the full chart.

To start - a simple bar chart with volume


A little fancier looking - candles for those who prefer


And for non-OHLC style data, or a just a simple line

All of the above are easy to replicate for your own enjoyment. charts.R > # load quantmod, then some data, and charts away...
> library(quantmod)
> getSymbols("IBM")
>
> barChart(IBM)
> candleChart(IBM)
> lineChart(IBM)

This software is written and maintained by Jeffrey A. Ryan. See license for details on copying and use. Copyright 2008.