Learn R Programming

FinCal (version 0.6.3)

lineChartMult: Technical analysts - Line charts: show prices for each period as a continuous line for multiple stocks

Description

Technical analysts - Line charts: show prices for each period as a continuous line for multiple stocks

Usage

lineChartMult(ohlcs, y = "close", main = "", ...)

Arguments

ohlcs
output from get.ohlc.yahoo.mult or get.ohlc.google.mult
y
y coordinates: close, open, high, low or adjusted (yahoo data only)
main
an overall title for the plot
...
Arguments to be passed to ggplot

See Also

get.ohlcs.yahoo

get.ohlcs.google

lineChart

Examples

Run this code
# googapple <- get.ohlcs.yahoo(c("GOOG","AAPL"),start="2013-01-01"); 
# lineChartMult(googapple)
# googapple <- get.ohlcs.google(c("GOOG","AAPL"),start="2013-01-01"); 
# lineChartMult(googapple)

Run the code above in your browser using DataLab