equal
deleted
inserted
replaced
1 // Core Part 6 about a really dumb investment strategy |
1 // Main Part 1 about a really dumb investment strategy |
2 //===================================================== |
2 //===================================================== |
3 |
3 |
4 |
4 |
5 // generate jar with |
5 // generate jar with |
6 // > scala -d drumb.jar drumb.scala |
6 // > scala -d drumb.jar drumb.scala |
7 |
7 |
8 |
8 |
9 object CW6b { |
9 object M1 { |
10 |
10 |
11 |
11 |
12 //two test portfolios |
12 //two test portfolios |
13 |
13 |
14 val blchip_portfolio = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "AMZN", "BIDU") |
14 val blchip_portfolio = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "AMZN", "BIDU") |