|      4 object CW6c { |      4 object CW6c { | 
|      5  |      5  | 
|      6  |      6  | 
|      7 //two test portfolios |      7 //two test portfolios | 
|      8  |      8  | 
|      9 val blchip_portfolio = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "YHOO", "AMZN", "BIDU") |      9 val blchip_portfolio = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "AMZN", "BIDU") | 
|     10 val rstate_portfolio = List("PLD", "PSA", "AMT", "AIV", "AVB", "BXP", "CBG", "CCI",  |     10 val rstate_portfolio = List("PLD", "PSA", "AMT", "AIV", "AVB", "BXP", "CCI",  | 
|     11                             "DLR", "EQIX", "EQR", "ESS", "EXR", "FRT", "GGP", "HCP")  |     11                             "DLR", "EQIX", "EQR", "ESS", "EXR", "FRT", "GGP", "HCP")  | 
|     12  |     12  | 
|     13  |     13  | 
|     14 // (1.a) The function below takes a stock symbol and a year as arguments. |     14 // (1.a) The function below takes a stock symbol and a year as arguments. | 
|     15 //       It should read the corresponding CSV-file and read the January  |     15 //       It should read the corresponding CSV-file and read the January  |