knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",
  dpi = 300,
  message = F,
  warning = F
)

tidyquant

R-CMD-check Codecov CRAN_Status_Badge

Bringing financial and business analysis to the tidyverse in R.

Mission: Our number 1 goal is to make financial analysis easier in R. We've designed tidyquant to give you the flexibility of the tidyverse with the performance of the R xts system. The result: easier, faster, and more scalable financial analysis.

Start: 2-Minutes To tidyquant

Our short introduction to tidyquant on YouTube.

Anomalize

Features of tidyquant

tidyquant integrates the best resources for collecting and analyzing financial data, zoo, xts, quantmod, TTR, and PerformanceAnalytics, with the tidy data infrastructure of the tidyverse allowing for seamless interaction between each. You can now perform complete financial analyses in the tidyverse.

New Excel Functionality in tidyquant

One-Stop Shop for Serious Financial Analysis

With tidyquant all the benefits add up to one thing: a one-stop shop for serious financial analysis!

Core Functions

Comparing Stock Prices

Visualizing the stock price volatility of four stocks side-by-side is quick and easy...

knitr::include_graphics("man/figures/sample_img_1_volatility.png")

Evaluating Stock Performance

What about stock performance? Quickly visualize how a $10,000 investment in various stocks would perform.

knitr::include_graphics("man/figures/sample_img_2_stock_returns.png")

Evaluating Portfolio Performance

Ok, stocks are too easy. What about portfolios? With the PerformanceAnalytics integration, visualizing blended portfolios are easy too!

knitr::include_graphics("man/figures/sample_img_3_portfolio_returns.png")

This just scratches the surface of tidyquant. Here's how to install to get started.

Installation

Development Version with Latest Features:

``` {r, eval = FALSE}

install.packages("devtools")

devtools::install_github("business-science/tidyquant")

CRAN Approved Version: 

```r
install.packages("tidyquant")

Further Information

The tidyquant package includes several vignettes to help users get up to speed quickly:

Want to Learn tidyquant?



business-science/tidyquant documentation built on Feb. 2, 2024, 2:50 a.m.