3 |
3 |
4 //two test portfolios |
4 //two test portfolios |
5 |
5 |
6 val blchip_portfolio = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "YHOO", "AMZN", "BIDU") |
6 val blchip_portfolio = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "YHOO", "AMZN", "BIDU") |
7 val rstate_portfolio = List("PLD", "PSA", "AMT", "AIV", "AVB", "BXP", "CBG", "CCI", |
7 val rstate_portfolio = List("PLD", "PSA", "AMT", "AIV", "AVB", "BXP", "CBG", "CCI", |
8 "DLR", "EQIX", "EQR", "ESS", "EXR", "FRT", "GGP", "HCP") |
8 "DLR", "EQIX", "EQR", "EXR", "FRT", "GGP", "HCP") |
9 |
9 |
10 |
10 |
11 // (1) The function below should obtain the first trading price |
11 // (1) The function below should obtain the first trading price |
12 // for a stock symbol by using the query |
12 // for a stock symbol by using the query |
13 // |
13 // |