Description Usage Arguments Value Examples
Produce a candelstick chart of a given price history.
Uses ggplot2
graphics.
1 | gg_candles(symbol.xts, title_param = NA, alpha_param = 1)
|
symbol.xts |
price history with |
title_param |
chart title string |
alpha_param |
graphics color alpha |
the plot for further manipulation
1 2 3 4 5 6 | ## Not run:
library(quantmod)
getSymbols("XLP",auto.assign=TRUE)
p <- gg_candles(XLP,"Price History")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.