lineChart: Technical analysts - Line charts: show prices for each period...

Description Usage Arguments See Also Examples

Description

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

Usage

1
lineChart(ohlc, y = "close", main = "", ...)

Arguments

ohlc

output from get.ohlc.yahoo or get.ohlc.google

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.ohlc.yahoo

get.ohlc.google

Examples

1
2
# google <- get.ohlc.yahoo("GOOG"); lineChart(google)
# apple <- get.ohlc.google("AAPL"); lineChart(apple)

FinCal documentation built on May 2, 2019, 1:29 p.m.