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).
Plot the cumulative maximum of the adjusted close prices from utils::env_etf$VTI:

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

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.

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.
Also using shiny package in R to create interactive plot.


