Jump to ratings and reviews
Rate this book

The R Series

Reproducible Finance with R: Code Flows and Shiny Apps for Portfolio Analysis

Rate this book

Reproducible Finance with R: Code Flows and Shiny Apps for Portfolio Analysis is a unique introduction to data science for investment management that explores the three major R/finance coding paradigms, emphasizes data visualization, and explains how to build a cohesive suite of functioning Shiny applications. The full source code, asset price data and live Shiny applications are available at reproduciblefinance.com. The ideal reader works in finance or wants to work in finance and has a desire to learn R code and Shiny through simple, yet practical real-world examples.


The book begins with the first step in data science: importing and wrangling data, which in the investment context means importing asset prices, converting to returns, and constructing a portfolio. The next section covers risk and tackles descriptive statistics such as standard deviation, skewness, kurtosis, and their rolling histories. The third section focuses on portfolio theory, analyzing the Sharpe Ratio, CAPM, and Fama French models. The book concludes with applications for finding individual asset contribution to risk and for running Monte Carlo simulations. For each of these tasks, the three major coding paradigms are explored and the work is wrapped into interactive Shiny dashboards.


 


 


 

248 pages, Kindle Edition

Published September 24, 2018

2 people are currently reading
50 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
9 (60%)
4 stars
1 (6%)
3 stars
4 (26%)
2 stars
1 (6%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
Profile Image for Stephen Lung.
47 reviews1 follower
October 14, 2019
During my undergraduate wealth management class, I recall a significant time was spent covering core concepts like diversification, portfolio rebalancing and modern portfolio theory. Despite learning all the theory, one question that I could never answer was how much diversification is enough? Thus, I set an objective find the optimal way to allocate my portfolio. This book has been one of the most beneficial books to get me started with basic yet scalable code flows that can be applied to any portfolio.
Profile Image for Tony Murray.
7 reviews
November 29, 2019
I liked the Shiny apps and the various ways to implement the same functionality with various packages.
Profile Image for Tech Nossomy.
403 reviews4 followers
November 26, 2023
Beautifully typeset book with R-code examples of using finance data and its visualisations in graphical software libraries.
The examples are ever repeated for the xts, tidyquant and tidyverse libraries, which rapidly gives the impression of unwanted handholding.
A truly strange statement: "A normal distribution has a kurtosis of 3, which follows from the fact that a normal distribution does have some of its mass in its tails." I qualify it as strange, even though it is strictly speaking a falsehood, only because the writing style is otherwise very tight.
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.