楼主: slowry
7303 26

[学科前沿] Reproducible Finance with R: Code Flows and Shiny Apps for Portfolio Analysis [推广有奖]

大师

59%

还不是VIP/贵宾

-

威望
12
论坛币
921875 个
通用积分
5839.3397
学术水平
3054 点
热心指数
3446 点
信用等级
3180 点
经验
214024 点
帖子
4706
精华
0
在线时间
12206 小时
注册时间
2018-3-1
最后登录
2022-6-29

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Reproducible Finance with R: Code Flows and Shiny Apps for Portfolio Analysis
by Jonathan K. Regenstein Jr. (Author)

About the Author
Jonathan K. Regenstein, Jr. is the Director of Financial Services at RStudio. He studied international relations at Harvard and law at NYU, worked at JP Morgan, and did graduate work in political economy at Emory.

About 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.

Table of contents
1 Introduction
Returns
2 Asset Prices to Returns
    2.1 Converting Daily Prices to Monthly Returns in the xts world
    2.2 Converting Daily Prices to Monthly Returns in the tidyverse
    2.3 Converting Daily Prices to Monthly Returns in the tidyquant world
    2.4 Converting Daily Prices to Monthly Returns with tibbletime
    2.5 Visualizing Asset Returns in the xts world
    2.6 Visualizing Asset Returns in the tidyverse
3 Building a Portfolio
    3.1 Portfolio Returns in the xts world
    3.2 Portfolio Returns in the tidyverse
    3.3 Portfolio Returns in the tidyquant world
    3.4 Visualizing Portfolio Returns in the xts world
    3.5 Visualizing Portfolio Returns in the tidyverse
    3.6 Shiny App Portfolio Returns
Concluding Returns
Risk
4 Standard Deviation
    4.1 Standard Deviation in the xts world
    4.2 Standard Deviation in the tidyverse
    4.3 Standard Deviation in the tidyquant world
    4.4 Visualizing Standard Deviation
    4.5 Rolling Standard Deviation
    4.6 Rolling Standard Deviation in the xts world
    4.7 Rolling Standard Deviation in the tidyverse
    4.8 Rolling Standard Deviation with the tidyverse and tibbletime
    4.9 Rolling Standard Deviation in the tidyquant world
    4.10 Visualizing Rolling Standard Deviation in the xts world
    4.11 Visualizing Rolling Standard Deviation in the tidyverse
    4.12 Shiny App Standard Deviation
5 Skewness
    5.1 Skewness in the xts world
    5.2 Skewness in the tidyverse
    5.3 Visualizing Skewness
    5.4 Rolling Skewness in the xts world
    5.5 Rolling Skewness in the tidyverse with tibbletime
    5.6 Rolling Skewness in the tidyquant world
    5.7 Visualizing Rolling Skewness
6 Kurtosis
    6.1 Kurtosis in the xts world
    6.2 Kurtosis in the tidyverse
    6.3 Visualizing Kurtosis
    6.4 Rolling Kurtosis in the xts world
    6.5 Rolling Kurtosis in the tidyverse with tibbletime
    6.6 Rolling Kurtosis in the tidyquant world
    6.7 Visualizing Rolling Kurtosis
    6.8 Shiny App Skewness and Kurtosis
Concluding Risk
Portfolio Theory
7 Sharpe Ratio
    7.1 Sharpe Ratio in the xts world
    7.2 Sharpe Ratio in the tidyverse
    7.3 Sharpe Ratio in the tidyquant world
    7.4 Visualizing Sharpe Ratio
    7.5 Rolling Sharpe Ratio in the xts world
    7.6 Rolling Sharpe Ratio with the tidyverse and tibbletime
    7.7 Rolling Sharpe Ratio with tidyquant
    7.8 Visualizing the Rolling Sharpe Ratio
    7.9 Shiny App Sharpe Ratio
8 CAPM
    8.1 CAPM and Market Returns
    8.2 Calculating CAPM Beta
    8.3 Calculating CAPM Beta in the xts world
    8.4 Calculating CAPM Beta in the tidyverse
    8.5 Calculating CAPM Beta in the tidyquant world
    8.6 Visualizing CAPM with ggplot
    8.7 Augmenting Our Data
    8.8 Visualizing CAPM with highcharter
    8.9 Shiny App CAPM
9 Fama-French Factor Model
    9.1 Importing and Wrangling Fama-French Data
    9.2 Visualizing Fama-French with ggplot
    9.3 Rolling Fama-French with the tidyverse and tibbletime
    9.4 Visualizing Rolling Fama-French
    9.5 Shiny App Fama-French
Concluding Portfolio Theory
Practice and Applications
10 Component Contribution to Standard Deviation
    10.1 Component Contribution Step-by-Step
    10.2 Component Contribution with a Custom Function
    10.3 Visualizing Component Contribution
    10.4 Rolling Component Contribution
    10.5 Visualizing Rolling Component Contribution
    10.6 Shiny App Component Contribution
11 Monte Carlo Simulation
    11.1 Simulating Growth of a Dollar
    11.2 Several Simulation Functions
    11.3 Running Multiple Simulations
    11.4 Visualizing Simulations with ggplot
    11.5 Visualizing Simulations with highcharter
    11.6 Shiny App Monte Carlo
Concluding Practice Applications
Appendix: Further Reading
Index

Series: Chapman & Hall/CRC The R Series
Length: 248 pages
Publisher: Chapman and Hall/CRC; 1 edition (October 10, 2018)
Language: English
ISBN-10: 1138484032
ISBN-13: 978-1138484030

CRC__Reproducible Finance with R_ Code Flows and Shiny Apps for Portfolio Analysis.pdf (71.27 MB, 需要: 15 个论坛币)

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Portfolio Analysis Portfoli Finance Analysi

已有 5 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
jgtech + 5 + 3 + 3 + 3 精彩帖子
cheetahfly + 100 + 1 奖励积极上传好的资料
zl89 + 80 精彩帖子
voodoo + 5 + 5 + 5 太帅啦!爱你,哈!: )
wwqqer + 100 + 1 + 1 + 1 精彩帖子

总评分: 经验 + 180  论坛币 + 110  学术水平 + 5  热心指数 + 9  信用等级 + 9   查看全部评分

本帖被以下文库推荐

沙发
Enthuse 发表于 2018-11-29 02:21:21 |只看作者 |坛友微信交流群
thanks ..
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
slowry + 5 + 1 + 1 + 1 精彩帖子

总评分: 论坛币 + 5  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

藤椅
tsangwm 发表于 2018-11-29 03:10:07 |只看作者 |坛友微信交流群
thank you
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
slowry + 5 + 1 + 1 + 1 精彩帖子

总评分: 论坛币 + 5  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

板凳
军旗飞扬 发表于 2018-11-29 06:44:01 |只看作者 |坛友微信交流群
谢谢分享
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
slowry + 5 + 1 + 1 + 1 精彩帖子

总评分: 论坛币 + 5  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

报纸
ahu13jingji 发表于 2018-11-29 07:43:13 |只看作者 |坛友微信交流群
感谢分享
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
slowry + 5 + 1 + 1 + 1 精彩帖子

总评分: 论坛币 + 5  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

地板
GKINGLIU 在职认证  发表于 2018-11-29 12:14:56 |只看作者 |坛友微信交流群
不错不错不错不错
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
slowry + 5 + 1 + 1 + 1 精彩帖子

总评分: 论坛币 + 5  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

7
孤独红狐 发表于 2018-11-29 12:40:21 |只看作者 |坛友微信交流群
谢谢分享
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
slowry + 5 + 1 + 1 + 1 精彩帖子

总评分: 论坛币 + 5  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

8
e0g411k014z 学生认证  发表于 2018-11-29 16:59:37 |只看作者 |坛友微信交流群
xiexie louzhu
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
slowry + 5 + 1 + 1 + 1 精彩帖子

总评分: 论坛币 + 5  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

9
chicu 在职认证  发表于 2018-11-29 23:32:48 |只看作者 |坛友微信交流群
thanks
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
slowry + 5 + 1 + 1 + 1 精彩帖子

总评分: 论坛币 + 5  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

10
jianyu1118 在职认证  发表于 2018-11-30 00:22:48 |只看作者 |坛友微信交流群
学学!!!
已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
slowry + 5 + 1 + 1 + 1 精彩帖子

总评分: 论坛币 + 5  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jr
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-25 14:58