testing1/drumb.scala
changeset 329 8a34b2ebc8cc
parent 282 ec9773fe1dc0
equal deleted inserted replaced
328:0e591f806290 329:8a34b2ebc8cc
     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")