All Projects → business-science → Tidyquant

business-science / Tidyquant

Licence: other
Bringing financial analysis to the tidyverse

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Tidyquant

Timetk
A toolkit for working with time series in R
Stars: ✭ 371 (-41.57%)
Mutual labels:  tidyverse, dplyr, time-series, timeseries
Sweep
Extending broom for time series forecasting
Stars: ✭ 143 (-77.48%)
Mutual labels:  tidyverse, time-series, timeseries
Simplestockanalysispython
Stock Analysis Tutorial in Python
Stars: ✭ 126 (-80.16%)
Mutual labels:  time-series, timeseries, financial-data
Hurst-exponent-R-S-analysis-
Calculates the Hurst exponent of a time series based on Rescaled range (R/S) analysis.
Stars: ✭ 33 (-94.8%)
Mutual labels:  timeseries, time-series
Time-Series-Transformer
A data preprocessing package for time series data. Design for machine learning and deep learning.
Stars: ✭ 123 (-80.63%)
Mutual labels:  time-series, stock
rbcb
R interface to Brazilian Central Bank web services
Stars: ✭ 63 (-90.08%)
Mutual labels:  time-series, financial-data
imputeFin
Imputation of Financial Time Series with Missing Values and/or Outliers
Stars: ✭ 17 (-97.32%)
Mutual labels:  time-series, financial-data
Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+459.53%)
Mutual labels:  stock, financial-data
parcours-r
Valise pédagogique pour la formation à R
Stars: ✭ 25 (-96.06%)
Mutual labels:  dplyr, tidyverse
Akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 4,334 (+582.52%)
Mutual labels:  stock, financial-data
Pydlm
A python library for Bayesian time series modeling
Stars: ✭ 375 (-40.94%)
Mutual labels:  time-series, timeseries
Tsai
Time series Timeseries Deep Learning Pytorch fastai - State-of-the-art Deep Learning with Time Series and Sequences in Pytorch / fastai
Stars: ✭ 407 (-35.91%)
Mutual labels:  time-series, timeseries
IEX CPP API
Unofficial C++ Lib for the IEXtrading API
Stars: ✭ 34 (-94.65%)
Mutual labels:  stock, financial-data
casewhen
Create reusable dplyr::case_when() functions
Stars: ✭ 64 (-89.92%)
Mutual labels:  dplyr, tidyverse
HistoricalVolatility
A framework for historical volatility estimation and analysis.
Stars: ✭ 22 (-96.54%)
Mutual labels:  time-series, financial-data
okama
Investment portfolio and stocks analyzing tools for Python with free historical data
Stars: ✭ 87 (-86.3%)
Mutual labels:  time-series, financial-data
Tidy
Tidy up your data with JavaScript, inspired by dplyr and the tidyverse
Stars: ✭ 307 (-51.65%)
Mutual labels:  tidyverse, dplyr
Siridb Server
SiriDB is a highly-scalable, robust and super fast time series database. Build from the ground up SiriDB uses a unique mechanism to operate without a global index and allows server resources to be added on the fly. SiriDB's unique query language includes dynamic grouping of time series for easy analysis over large amounts of time series.
Stars: ✭ 438 (-31.02%)
Mutual labels:  time-series, timeseries
akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 5,155 (+711.81%)
Mutual labels:  stock, financial-data
advanced-data-wrangling-in-R-legacy
Advanced-data-wrangling-in-R, Workshop
Stars: ✭ 14 (-97.8%)
Mutual labels:  dplyr, tidyverse

tidyquant

Build Status codecov CRAN_Status_Badge

Bringing financial and business analysis to the tidyverse

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.

  • A few core functions with a lot of power
  • Integrates the quantitative analysis functionality of zoo, xts, quantmod, TTR, and now PerformanceAnalytics
  • Designed for modeling and scaling analyses using the the tidyverse tools in R for Data Science
  • Implements ggplot2 functionality for beautiful and meaningful financial visualizations
  • User-friendly documentation to get you up to speed quickly!

NEW EXCEL in tidyquant 1.0.0

Tidyquant 1.0.0 is the “R for Excel Users” release. My aim is to build functionality that helps users coming from an Excel Background (background I came from). It’s important to have these users feel at home. I have a full suite of functionality to accomplish your Excel-to-R transition.

EXCEL Tutorials:

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

  • Getting Financial Data from the web: tq_get(). This is a one-stop shop for getting web-based financial data in a “tidy” data frame format. Get data for daily stock prices (historical), key statistics (real-time), key ratios (historical), financial statements, dividends, splits, economic data from the FRED, FOREX rates from Oanda.

  • Manipulating Financial Data: tq_transmute() and tq_mutate(). Integration for many financial functions from xts, zoo, quantmod,TTR and PerformanceAnalytics packages. tq_mutate() is used to add a column to the data frame, and tq_transmute() is used to return a new data frame which is necessary for periodicity changes.

  • Performance Analysis and Portfolio Analysis: tq_performance() and tq_portfolio(). The newest additions to the tidyquant family integrate PerformanceAnalytics functions. tq_performance() converts investment returns into performance metrics. tq_portfolio() aggregates a group (or multiple groups) of asset returns into one or more portfolios.

Comparing Stock Prices

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

Evaluating Stock Performance

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

Evaluating Portfolio Performance

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

  • Portfolio 1: 50% FB, 25% AMZN, 25% NFLX, 0% GOOG
  • Portfolio 2: 0% FB, 50% AMZN, 25% NFLX, 25% GOOG
  • Portfolio 3: 25% FB, 0% AMZN, 50% NFLX, 25% GOOG
  • Portfolio 4: 25% FB, 25% AMZN, 0% NFLX, 50% GOOG

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

Installation

Development Version with Latest Features:

# install.packages("devtools")
devtools::install_github("business-science/tidyquant")

CRAN Approved Version:

install.packages("tidyquant")

Further Information

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

Want to Learn tidyquant?

  • Learning Lab #9:

    • Performance Analysis & Portfolio Optimization with tidyquant - A 1-hour course on tidyquant in Learning Labs PRO
  • Learning Lab #10:

    • Building an API with plumber - Build a stock optimization API with plumber and tidyquant
  • Learning Lab #16:

    • Stock Portfolio Optimization and Nonlinear Programming - Use the ROI package with tidyquant to calculate optimal minimum variance portfolios and develop an efficient frontier.
  • Learning Lab #30:

    • Shiny Financial Analysis with Tidyquant API & Excel Pivot Tables - Learn how to use the new Excel Functionality to make Pivot Tables, VLOOKUPs, Sum-If’s, and more!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].