Skip to content

The course, authored by Prof. Jerzy in NYU, applies the R programming language to momentum trading, statistical arbitrage (pairs trading), and other active portfolio management strategies. The course implements volatility and price forecasting models, asset pricing and factor models, and portfolio optimization. The course will apply machine lear…

Notifications You must be signed in to change notification settings

BessieChen/Algorithmic-Portfolio-Management-in-R-programming-language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithmic-Portfolio-Management-in-R-programming-language

The course, authored by Prof. Jerzy in NYU, applies the R programming language to momentum trading, statistical arbitrage (pairs trading), and other active portfolio management strategies. The course implements volatility and price forecasting models, asset pricing and factor models, and portfolio optimization. The course will apply machine learning techniques, such as backtesting (cross-validation) and parameter regularization (shrinkage).

The following are some interesting cases I learnt from class:

Case one:

Plot the cumulative maximum of the adjusted close prices from utils::env_etf$VTI: drawdown_plot

drawdown_vti

Case two:

Plot the sub_portfolios from worst to best (based on final price) using a color ramp from red to blue. sp500_sub_portfolios

Case three:

Perform a rolling portfolio optimization over annual intervals, calculate optimized portfolio weights in each year, and apply them to out-of-sample returns in the following year, at the end, plot the cumulative returns of this max sharpe portfolio strategy. backtest_sharpe

Case four:

Calculate efficient portfolios with the lowest variance given a fixed target return.

Plot the efficient frontier and the capital market lines for different values of the fixed target return.

eff_front_tangent

Case five:

Also using shiny package in R to create interactive plot.

interactive_plot beixi chen

About

The course, authored by Prof. Jerzy in NYU, applies the R programming language to momentum trading, statistical arbitrage (pairs trading), and other active portfolio management strategies. The course implements volatility and price forecasting models, asset pricing and factor models, and portfolio optimization. The course will apply machine lear…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published