progs/trade.scala
changeset 40 135f6a0830ac
parent 35 9fea5f751be4
--- a/progs/trade.scala	Sat Nov 12 15:20:56 2016 +0000
+++ b/progs/trade.scala	Sat Nov 12 18:18:59 2016 +0000
@@ -41,14 +41,14 @@
 
 // some test cases
 
-//query_comp("GOOG")
+//query_company("GOOG")
 
 // some more test cases
 /*
 val indices = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "YHOO", "AMZN", "BIDU")
 
 for (name <- indices) {
-  val times = query_comp(name)
+  val times = query_company(name)
   println(s"Buy ${name} on ${times._1} and sell on ${times._2}")
 }
 */