Skip to content

timelyportfolio/rd3fc

Repository files navigation

CRAN_Status_Badge

Install

devtools::install_github("timelyportfolio/rd3fc")

Example

quantmod is an superpower of R. Let's remember how few lines of code we need to make a static candlestick chart.

library(quantmod)

getSymbols("^GSPC", from = "2016-12-31")
#> [1] "GSPC"
chart_Series(GSPC)

I view this as simply amazing, but the only thing missing is some interactivity. rd3fc plans to eventually complete translate chart_Series to an interactive chart, but for now it will just produce the candlestick.

library(rd3fc)
# will use the current.chob() if no arguments
chartseries()

live example

Code of Conduct

I would love help ad ideas, but please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Attribution and Thanks

Thanks to Mike Bostock for d3.js and the team at Scott Logic for d3fc.

About

d3fc financial components for R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published