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