Questions

  1. How do you import stock data into the R workspace from Yahoo Finance?
  2. How do you generate a momentum strategy using moving average crossover?
  3. Which package helps to calculate the performance metrics of a strategy?
  4. How do you calculate the covariance matrix for a portfolio consisting of five stocks?
  5. Extract MSFT data from Yahoo and test that the closing price series is non-stationary.
  6. Use the distance method to generate trading signals which exit when the spread reverts to mean.
  7. How do you test a pair of stocks for co-integration and write code to test it?
  8. How do you calculate hedge ratio and how does it helps in trading?
  9. How do you calculate portfolio beta? Show it using an example.
  10. How do you use the fundamental factor to create quantiles and ...

Get Learning Quantitative Finance with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.