Learn R Programming

iqfeed (version 0.2)

crapmod: Simple xts plot

Description

Simple xts time-series plot in the style of quantmod.

Usage

crapmod(x, title = "", col = 4, lwd = 2, lty = 1)

Arguments

x
An xts time-series object to plot.
title
The plot title.
col
The plot color.
lwd
The plot line width.
lty
The plot line type.

Value

Graphical side-effects.

References

http://www.optionsclearing.com/initiatives/symbology/

Examples

Run this code
require(iqfeed)
iqConf()
x <- HIT("MSFT",interval=60,start=format(Sys.Date()-5,"%Y-%m-%d"),beginFilterTime="092900",endFilterTime="155900")
crapmod(x[,"Close"], title="MSFT Close")

Run the code above in your browser using DataLab