# HG changeset patch # User Christian Urban # Date 1510155933 0 # Node ID 2ca6db82d207b3184b54874551102ce566662f5b # Parent 1fb90f5d53ee4a818f474b8da6814e5247ab5e7a updated diff -r 1fb90f5d53ee -r 2ca6db82d207 progs/drumb.scala --- a/progs/drumb.scala Wed Nov 08 13:58:11 2017 +0000 +++ b/progs/drumb.scala Wed Nov 08 15:45:33 2017 +0000 @@ -5,7 +5,7 @@ val blchip_portfolio = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "YHOO", "AMZN", "BIDU") val rstate_portfolio = List("PLD", "PSA", "AMT", "AIV", "AVB", "BXP", "CBG", "CCI", - "DLR", "EQIX", "EQR", "ESS", "EXR", "FRT", "GGP", "HCP") + "DLR", "EQIX", "EQR", "EXR", "FRT", "GGP", "HCP") // (1) The function below should obtain the first trading price diff -r 1fb90f5d53ee -r 2ca6db82d207 templates/drumb.scala --- a/templates/drumb.scala Wed Nov 08 13:58:11 2017 +0000 +++ b/templates/drumb.scala Wed Nov 08 15:45:33 2017 +0000 @@ -11,14 +11,23 @@ "DLR", "EQIX", "EQR", "ESS", "EXR", "FRT", "GGP", "HCP") -// (1) The function below should obtain the first trading price -// for a stock symbol by using the query +// (1.a) The function below takes a stock symbol and a year as argument. +// It should read the corresponding CSV-file and read the january +// data from that year. The data should be collected in a list of +// strings for each line in the CSV file. + +//def get_january_data(symbol: String, year: Int) : List[String] = ... + // // http://ichart.yahoo.com/table.csv?s=<>&a=0&b=1&c=<>&d=1&e=1&f=<> // // and extracting the first January Adjusted Close price in a year. - -//def get_january_data(symbol: String, year: Int) : List[String] = ... +// +// (1.b) From the output of the get_january_data function, the next function +// should extract the first line (if it exists) and the corresponding +// first trading price in that year as Option[Double]. If no line is +// given +// //def get_first_price(symbol: String, year: Int) : Option[Double] = ... diff -r 1fb90f5d53ee -r 2ca6db82d207 testing/BIDU.csv --- a/testing/BIDU.csv Wed Nov 08 13:58:11 2017 +0000 +++ b/testing/BIDU.csv Wed Nov 08 15:45:33 2017 +0000 @@ -1,404 +1,242 @@ Date,Adj Close -1998-01-02,12.881863 -1998-01-05,13.051677 -1998-01-06,13.075934 -1998-01-07,13.027420 -1998-01-08,13.075934 -1998-01-09,12.978899 -1998-01-12,12.809084 -1998-01-13,12.615005 -1998-01-14,12.760560 -1998-01-15,12.906120 -1998-01-16,13.391316 -1998-01-20,13.027420 -1998-01-21,13.245763 -1998-01-22,13.415572 -1998-01-23,13.561130 -1998-01-26,13.633914 -1998-01-27,13.803726 -1998-01-28,13.827987 -1998-01-29,13.876501 -1998-01-30,13.803726 -1999-01-04,12.412919 -1999-01-05,12.822422 -1999-01-06,12.848016 -1999-01-07,12.873609 -1999-01-08,12.950387 -1999-01-11,12.975984 -1999-01-12,12.950387 -1999-01-13,12.950387 -1999-01-14,12.848016 -1999-01-15,12.950387 -1999-01-19,13.001580 -1999-01-20,13.027172 -1999-01-21,13.078360 -1999-01-22,13.974134 -1999-01-25,14.025326 -1999-01-26,14.204479 -1999-01-27,13.667009 -1999-01-28,13.487859 -1999-01-29,13.308701 -2000-01-03,13.285901 -2000-01-04,13.069429 -2000-01-05,13.177664 -2000-01-06,13.421191 -2000-01-07,13.908256 -2000-01-10,14.016482 -2000-01-11,13.881197 -2000-01-12,13.664721 -2000-01-13,13.745898 -2000-01-14,13.664721 -2000-01-18,13.529426 -2000-01-19,13.529426 -2000-01-20,13.367077 -2000-01-21,13.231777 -2000-01-24,13.177664 -2000-01-25,13.231777 -2000-01-26,13.285901 -2000-01-27,13.231777 -2000-01-28,13.177664 -2000-01-31,12.988255 -2001-01-02,19.771582 -2001-01-03,19.571873 -2001-01-04,19.429220 -2001-01-05,18.630367 -2001-01-08,18.373596 -2001-01-09,18.459185 -2001-01-10,18.516247 -2001-01-11,18.316526 -2001-01-12,18.516247 -2001-01-16,18.430660 -2001-01-17,18.459185 -2001-01-18,18.601843 -2001-01-19,18.630367 -2001-01-22,18.830076 -2001-01-23,18.944202 -2001-01-24,19.143909 -2001-01-25,19.343628 -2001-01-26,19.001265 -2001-01-29,18.665751 -2001-01-30,18.702274 -2001-01-31,18.533365 -2002-01-02,18.516468 -2002-01-03,18.579411 -2002-01-04,18.632658 -2002-01-07,18.734314 -2002-01-08,18.860172 -2002-01-09,18.835972 -2002-01-10,18.831135 -2002-01-11,18.564890 -2002-01-14,18.564890 -2002-01-15,18.380928 -2002-01-16,18.322830 -2002-01-17,18.250223 -2002-01-18,18.114679 -2002-01-22,18.090477 -2002-01-23,18.153412 -2002-01-24,17.756456 -2002-01-25,17.814537 -2002-01-28,17.775812 -2002-01-29,17.693521 -2002-01-30,17.790342 -2002-01-31,17.737087 -2003-01-02,18.969824 -2003-01-03,19.047144 -2003-01-06,19.114155 -2003-01-07,19.098688 -2003-01-08,18.897652 -2003-01-09,18.944044 -2003-01-10,18.825478 -2003-01-13,18.608976 -2003-01-14,18.474957 -2003-01-15,18.428556 -2003-01-16,18.335777 -2003-01-17,18.119267 -2003-01-21,18.036783 -2003-01-22,18.273920 -2003-01-23,18.227522 -2003-01-24,18.145044 -2003-01-27,18.299690 -2003-01-28,18.413099 -2003-01-29,18.464642 -2003-01-30,18.310003 -2003-01-31,18.505878 -2004-01-02,26.357046 -2004-01-05,26.220480 -2004-01-06,26.291498 -2004-01-07,26.236872 -2004-01-08,26.367979 -2004-01-09,26.466303 -2004-01-12,26.455378 -2004-01-13,26.488148 -2004-01-14,26.701189 -2004-01-15,26.269648 -2004-01-16,26.111223 -2004-01-20,25.974663 -2004-01-21,25.646915 -2004-01-22,26.001980 -2004-01-23,26.247799 -2004-01-26,26.908770 -2004-01-27,27.285692 -2004-01-28,27.001633 -2004-01-29,27.187365 -2004-01-30,27.329382 -2005-01-03,36.435291 -2005-01-04,35.811329 -2005-01-05,34.403152 -2005-01-06,35.032833 -2005-01-07,34.969852 -2005-01-10,34.700817 -2005-01-11,34.134109 -2005-01-12,33.905148 -2005-01-13,34.174179 -2005-01-14,34.277222 -2005-01-18,34.643570 -2005-01-19,34.632130 -2005-01-20,34.609230 -2005-01-21,34.609230 -2005-01-24,34.099762 -2005-01-25,33.367046 -2005-01-26,33.223942 -2005-01-27,32.588531 -2005-01-28,33.195313 -2005-01-31,33.075111 -2006-01-03,46.515560 -2006-01-04,46.688389 -2006-01-05,47.404388 -2006-01-06,48.361118 -2006-01-09,49.015400 -2006-01-10,49.070946 -2006-01-11,48.367283 -2006-01-12,48.046341 -2006-01-13,47.472279 -2006-01-17,47.330315 -2006-01-18,46.910587 -2006-01-19,47.287113 -2006-01-20,47.089581 -2006-01-23,47.416744 -2006-01-24,47.885841 -2006-01-25,47.737690 -2006-01-26,47.966084 -2006-01-27,48.274700 -2006-01-30,48.145073 -2006-01-31,48.305576 -2007-01-03,74.742615 -2007-01-04,74.469246 -2007-01-05,73.162292 -2007-01-08,73.582367 -2007-01-09,74.515892 -2007-01-10,76.056252 -2007-01-11,76.823090 -2007-01-12,77.263191 -2007-01-16,79.163582 -2007-01-17,79.030220 -2007-01-18,78.663452 -2007-01-19,79.970421 -2007-01-22,79.897041 -2007-01-23,80.283836 -2007-01-24,81.304047 -2007-01-25,81.837479 -2007-01-26,81.804138 -2007-01-29,81.650764 -2007-01-30,82.550949 -2007-01-31,84.077950 -2008-01-02,67.484940 -2008-01-03,65.229858 -2008-01-04,62.647461 -2008-01-07,62.138222 -2008-01-08,59.723122 -2008-01-09,61.258034 -2008-01-10,63.280315 -2008-01-11,64.960716 -2008-01-14,64.778831 -2008-01-15,63.338505 -2008-01-16,64.444221 -2008-01-17,63.316692 -2008-01-18,61.963638 -2008-01-22,64.538795 -2008-01-23,68.568825 -2008-01-24,66.779320 -2008-01-25,65.222580 -2008-01-28,67.892326 -2008-01-29,67.761368 -2008-01-30,64.975258 -2008-01-31,66.713844 -2009-01-02,41.512981 -2009-01-05,39.607891 -2009-01-06,41.829235 -2009-01-07,40.180161 -2009-01-08,41.189186 -2009-01-09,39.389530 -2009-01-12,36.595882 -2009-01-13,37.552193 -2009-01-14,34.961861 -2009-01-15,34.871517 -2009-01-16,36.181717 -2009-01-20,30.842939 -2009-01-21,32.492027 -2009-01-22,31.129087 -2009-01-23,32.665215 -2009-01-26,32.906174 -2009-01-27,33.019123 -2009-01-28,35.609451 -2009-01-29,33.327862 -2009-01-30,32.604977 -2010-01-04,52.783085 -2010-01-05,53.585438 -2010-01-06,53.837177 -2010-01-07,54.073162 -2010-01-08,53.373070 -2010-01-11,53.624783 -2010-01-12,53.089870 -2010-01-13,53.963036 -2010-01-14,53.734921 -2010-01-15,53.561859 -2010-01-19,54.694580 -2010-01-20,54.332756 -2010-01-21,51.791920 -2010-01-22,50.564777 -2010-01-25,51.209808 -2010-01-26,50.910900 -2010-01-27,51.186230 -2010-01-28,51.437935 -2010-01-29,51.028893 -2011-01-03,71.912743 -2011-01-04,69.751617 -2011-01-05,70.219337 -2011-01-06,69.243629 -2011-01-07,68.485611 -2011-01-10,68.284050 -2011-01-11,68.267899 -2011-01-12,69.719376 -2011-01-13,70.324150 -2011-01-14,72.146576 -2011-01-18,73.041641 -2011-01-19,72.275597 -2011-01-20,72.533638 -2011-01-21,72.807793 -2011-01-24,72.993286 -2011-01-25,73.589996 -2011-01-26,74.452797 -2011-01-27,75.573677 -2011-01-28,74.759239 -2011-01-31,76.097824 -2012-01-03,83.437302 -2012-01-04,81.798515 -2012-01-05,81.938522 -2012-01-06,81.707947 -2012-01-09,81.230316 -2012-01-10,82.004410 -2012-01-11,82.259697 -2012-01-12,80.876213 -2012-01-13,80.283279 -2012-01-17,81.279716 -2012-01-18,81.674988 -2012-01-19,82.152657 -2012-01-20,82.234978 -2012-01-23,82.943199 -2012-01-24,83.956108 -2012-01-25,85.438423 -2012-01-26,85.380760 -2012-01-27,85.841911 -2012-01-30,84.450218 -2012-01-31,85.685455 -2013-01-02,89.756927 -2013-01-03,89.866341 -2013-01-04,90.447037 -2013-01-07,91.111908 -2013-01-08,90.329216 -2013-01-09,90.522781 -2013-01-10,90.388138 -2013-01-11,90.051491 -2013-01-14,90.354469 -2013-01-15,91.482216 -2013-01-16,90.548035 -2013-01-17,90.152496 -2013-01-18,90.750015 -2013-01-22,91.667366 -2013-01-23,91.532715 -2013-01-24,91.734703 -2013-01-25,92.121826 -2013-01-28,91.591629 -2013-01-29,91.608452 -2013-01-30,89.639107 -2013-01-31,88.603943 -2014-01-02,88.574532 -2014-01-03,89.633301 -2014-01-06,90.630295 -2014-01-07,91.212601 -2014-01-08,90.603844 -2014-01-09,90.647934 -2014-01-10,92.147858 -2014-01-13,91.406708 -2014-01-14,92.253731 -2014-01-15,92.809578 -2014-01-16,92.527260 -2014-01-17,92.412537 -2014-01-21,93.709534 -2014-01-22,94.662415 -2014-01-23,94.318329 -2014-01-24,92.544884 -2014-01-27,92.033165 -2014-01-28,92.924278 -2014-01-29,93.347794 -2014-01-30,95.288857 -2014-01-31,95.368256 -2015-01-02,122.464142 -2015-01-05,123.574402 -2015-01-06,125.972206 -2015-01-07,127.381020 -2015-01-08,127.894150 -2015-01-09,128.537903 -2015-01-12,129.069733 -2015-01-13,128.789810 -2015-01-14,130.301285 -2015-01-15,130.590485 -2015-01-16,131.635422 -2015-01-20,131.103638 -2015-01-21,131.103638 -2015-01-22,133.566727 -2015-01-23,133.109573 -2015-01-26,134.565018 -2015-01-27,134.555725 -2015-01-28,133.398788 -2015-01-29,133.827988 -2015-01-30,129.498901 -2016-01-04,119.440872 -2016-01-05,122.383636 -2016-01-06,122.364395 -2016-01-07,120.191002 -2016-01-08,116.825119 -2016-01-11,117.979126 -2016-01-12,116.373131 -2016-01-13,114.180496 -2016-01-14,115.276810 -2016-01-15,113.911217 -2016-01-19,114.757500 -2016-01-20,111.410843 -2016-01-21,111.593567 -2016-01-22,114.632469 -2016-01-25,113.295746 -2016-01-26,115.738403 -2016-01-27,114.574776 -2016-01-28,111.016556 -2016-01-29,111.757057 -2017-01-03,124.919746 -2017-01-04,128.887955 -2017-01-05,129.506760 -2017-01-06,129.212082 -2017-01-09,127.925377 -2017-01-10,126.501137 -2017-01-11,124.742950 -2017-01-12,126.717216 -2017-01-13,126.216293 -2017-01-17,127.100281 -2017-01-18,128.043228 -2017-01-19,126.167175 -2017-01-20,126.952965 -2017-01-23,128.278976 -2017-01-24,129.860367 -2017-01-25,127.925377 -2017-01-26,129.015640 -2017-01-27,128.426300 -2017-01-30,127.954842 -2017-01-31,128.573624 +2006-01-03,6.350000 +2006-01-04,6.630000 +2006-01-05,6.620000 +2006-01-06,6.584000 +2006-01-09,6.613000 +2006-01-10,6.668000 +2006-01-11,6.535000 +2006-01-12,6.465000 +2006-01-13,6.553000 +2006-01-17,6.474000 +2006-01-18,6.250000 +2006-01-19,6.230000 +2006-01-20,6.086000 +2006-01-23,5.630000 +2006-01-24,5.642000 +2006-01-25,5.250000 +2006-01-26,5.186000 +2006-01-27,5.172000 +2006-01-30,5.251000 +2006-01-31,5.451000 +2007-01-03,12.241000 +2007-01-04,12.600000 +2007-01-05,12.250000 +2007-01-08,12.195000 +2007-01-09,12.372000 +2007-01-10,12.801000 +2007-01-11,13.118000 +2007-01-12,12.470000 +2007-01-16,12.744000 +2007-01-17,12.549000 +2007-01-18,12.138000 +2007-01-19,12.140000 +2007-01-22,12.240000 +2007-01-23,12.455000 +2007-01-24,12.490000 +2007-01-25,12.374000 +2007-01-26,12.340000 +2007-01-29,12.340000 +2007-01-30,12.407000 +2007-01-31,12.494000 +2008-01-02,38.188000 +2008-01-03,37.508999 +2008-01-04,36.099998 +2008-01-07,34.431000 +2008-01-08,34.521000 +2008-01-09,34.410000 +2008-01-10,33.953999 +2008-01-11,32.924999 +2008-01-14,34.040001 +2008-01-15,31.820000 +2008-01-16,29.330000 +2008-01-17,26.499001 +2008-01-18,27.304001 +2008-01-22,27.365999 +2008-01-23,27.020000 +2008-01-24,30.719999 +2008-01-25,29.947001 +2008-01-28,29.132000 +2008-01-29,27.070999 +2008-01-30,25.938999 +2008-01-31,27.995001 +2009-01-02,13.541000 +2009-01-05,13.784000 +2009-01-06,13.573000 +2009-01-07,12.734000 +2009-01-08,12.465000 +2009-01-09,12.064000 +2009-01-12,11.410000 +2009-01-13,11.550000 +2009-01-14,10.975000 +2009-01-15,10.944000 +2009-01-16,11.590000 +2009-01-20,10.965000 +2009-01-21,11.092000 +2009-01-22,11.253000 +2009-01-23,11.195000 +2009-01-26,11.557000 +2009-01-27,11.530000 +2009-01-28,12.716000 +2009-01-29,12.864000 +2009-01-30,12.877000 +2010-01-04,41.002998 +2010-01-05,40.590000 +2010-01-06,41.250000 +2010-01-07,40.463001 +2010-01-08,40.426998 +2010-01-11,40.056999 +2010-01-12,38.648998 +2010-01-13,43.948002 +2010-01-14,46.423000 +2010-01-15,46.768002 +2010-01-19,44.084000 +2010-01-20,43.966999 +2010-01-21,43.997002 +2010-01-22,41.689999 +2010-01-25,41.515999 +2010-01-26,41.938000 +2010-01-27,42.436001 +2010-01-28,41.785000 +2010-01-29,41.171001 +2011-01-03,99.730003 +2011-01-04,100.970001 +2011-01-05,104.629997 +2011-01-06,105.160004 +2011-01-07,106.949997 +2011-01-10,105.980003 +2011-01-11,106.279999 +2011-01-12,105.930000 +2011-01-13,106.250000 +2011-01-14,107.730003 +2011-01-18,108.150002 +2011-01-19,107.309998 +2011-01-20,105.660004 +2011-01-21,105.099998 +2011-01-24,106.360001 +2011-01-25,105.889999 +2011-01-26,107.949997 +2011-01-27,109.050003 +2011-01-28,106.540001 +2011-01-31,108.629997 +2012-01-03,124.290001 +2012-01-04,121.989998 +2012-01-05,123.269997 +2012-01-06,121.089996 +2012-01-09,120.110001 +2012-01-10,126.879997 +2012-01-11,128.190002 +2012-01-12,128.300003 +2012-01-13,127.410004 +2012-01-17,128.850006 +2012-01-18,126.070000 +2012-01-19,123.620003 +2012-01-20,122.800003 +2012-01-23,123.930000 +2012-01-24,121.750000 +2012-01-25,125.029999 +2012-01-26,123.900002 +2012-01-27,131.360001 +2012-01-30,130.729996 +2012-01-31,127.519997 +2013-01-02,104.120003 +2013-01-03,104.980003 +2013-01-04,104.650002 +2013-01-07,102.290001 +2013-01-08,101.089996 +2013-01-09,104.339996 +2013-01-10,110.570000 +2013-01-11,112.970001 +2013-01-14,112.639999 +2013-01-15,111.660004 +2013-01-16,109.930000 +2013-01-17,108.430000 +2013-01-18,109.839996 +2013-01-22,108.910004 +2013-01-23,108.300003 +2013-01-24,107.919998 +2013-01-25,108.010002 +2013-01-28,111.389999 +2013-01-29,109.449997 +2013-01-30,108.980003 +2013-01-31,108.300003 +2014-01-02,179.990005 +2014-01-03,175.279999 +2014-01-06,176.630005 +2014-01-07,178.820007 +2014-01-08,181.789993 +2014-01-09,175.520004 +2014-01-10,179.660004 +2014-01-13,171.000000 +2014-01-14,172.869995 +2014-01-15,170.500000 +2014-01-16,173.000000 +2014-01-17,170.139999 +2014-01-21,172.699997 +2014-01-22,174.429993 +2014-01-23,163.580002 +2014-01-24,161.369995 +2014-01-27,158.679993 +2014-01-28,164.240005 +2014-01-29,158.100006 +2014-01-30,160.809998 +2014-01-31,156.500000 +2015-01-02,223.080002 +2015-01-05,219.789993 +2015-01-06,220.179993 +2015-01-07,224.350006 +2015-01-08,229.210007 +2015-01-09,226.899994 +2015-01-12,220.889999 +2015-01-13,219.600006 +2015-01-14,216.820007 +2015-01-15,215.970001 +2015-01-16,220.199997 +2015-01-20,220.360001 +2015-01-21,228.279999 +2015-01-22,229.880005 +2015-01-23,233.330002 +2015-01-26,229.460007 +2015-01-27,227.529999 +2015-01-28,220.309998 +2015-01-29,220.389999 +2015-01-30,217.919998 +2016-01-04,184.029999 +2016-01-05,187.369995 +2016-01-06,185.610001 +2016-01-07,174.369995 +2016-01-08,171.339996 +2016-01-11,170.369995 +2016-01-12,172.910004 +2016-01-13,166.039993 +2016-01-14,172.229996 +2016-01-15,163.919998 +2016-01-19,166.029999 +2016-01-20,164.990005 +2016-01-21,169.559998 +2016-01-22,171.169998 +2016-01-25,167.539993 +2016-01-26,167.080002 +2016-01-27,158.270004 +2016-01-28,156.940002 +2016-01-29,163.270004 +2017-01-03,168.300003 +2017-01-04,171.960007 +2017-01-05,177.470001 +2017-01-06,176.380005 +2017-01-09,177.160004 +2017-01-10,180.309998 +2017-01-11,179.320007 +2017-01-12,177.570007 +2017-01-13,176.479996 +2017-01-17,176.960007 +2017-01-18,176.539993 +2017-01-19,176.089996 +2017-01-20,173.440002 +2017-01-23,175.970001 +2017-01-24,176.050003 +2017-01-25,176.610001 +2017-01-26,174.949997 +2017-01-27,174.100006 +2017-01-30,174.720001 +2017-01-31,175.070007 diff -r 1fb90f5d53ee -r 2ca6db82d207 testing/ESS.csv --- a/testing/ESS.csv Wed Nov 08 13:58:11 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,262 +0,0 @@ -Date,Adj Close -2005-01-03,7.622935 -2005-01-04,7.697504 -2005-01-05,7.456596 -2005-01-06,7.714709 -2005-01-07,7.892520 -2005-01-10,7.691771 -2005-01-11,7.720445 -2005-01-12,7.743391 -2005-01-13,7.485275 -2005-01-14,7.949881 -2005-01-18,7.599995 -2005-01-19,7.628671 -2005-01-20,7.542635 -2005-01-21,7.559841 -2005-01-24,7.588521 -2005-01-25,7.519694 -2005-01-26,7.427920 -2005-01-27,7.456596 -2005-01-28,7.422180 -2005-01-31,7.439390 -2006-01-03,9.320418 -2006-01-04,9.369244 -2006-01-05,9.271587 -2006-01-06,9.332625 -2006-01-09,9.302104 -2006-01-10,9.357038 -2006-01-11,9.399763 -2006-01-12,9.338728 -2006-01-13,9.161719 -2006-01-17,9.082371 -2006-01-18,9.070164 -2006-01-19,9.161719 -2006-01-20,9.033543 -2006-01-23,9.149513 -2006-01-24,9.143406 -2006-01-25,9.137306 -2006-01-26,9.399763 -2006-01-27,9.527944 -2006-01-30,9.430282 -2006-01-31,9.369244 -2007-01-03,11.952834 -2007-01-04,12.088296 -2007-01-05,11.746417 -2007-01-08,11.630307 -2007-01-09,11.739969 -2007-01-10,11.843178 -2007-01-11,11.914134 -2007-01-12,12.088296 -2007-01-16,12.062494 -2007-01-17,12.101198 -2007-01-18,11.959286 -2007-01-19,12.101198 -2007-01-22,12.197953 -2007-01-23,12.094746 -2007-01-24,12.126997 -2007-01-25,12.165706 -2007-01-26,12.210854 -2007-01-29,12.365672 -2007-01-30,12.539835 -2007-01-31,12.733351 -2008-01-02,9.537648 -2008-01-03,9.243658 -2008-01-04,9.093243 -2008-01-07,9.031712 -2008-01-08,8.744556 -2008-01-09,8.860785 -2008-01-10,8.949666 -2008-01-11,9.004362 -2008-01-14,9.127430 -2008-01-15,8.853946 -2008-01-16,9.161613 -2008-01-17,9.202636 -2008-01-18,9.059056 -2008-01-22,9.147938 -2008-01-23,9.763272 -2008-01-24,9.647043 -2008-01-25,9.811131 -2008-01-28,10.351255 -2008-01-29,10.221351 -2008-01-30,10.050426 -2008-01-31,10.351255 -2009-01-02,7.482453 -2009-01-05,7.158411 -2009-01-06,7.651838 -2009-01-07,7.408808 -2009-01-08,7.268881 -2009-01-09,6.959564 -2009-01-12,6.576607 -2009-01-13,6.745991 -2009-01-14,6.385127 -2009-01-15,6.569242 -2009-01-16,6.944834 -2009-01-20,6.105271 -2009-01-21,6.164188 -2009-01-22,6.223104 -2009-01-23,6.289386 -2009-01-26,6.304115 -2009-01-27,6.473499 -2009-01-28,6.804909 -2009-01-29,6.259927 -2009-01-30,5.972707 -2010-01-04,9.272974 -2010-01-05,9.210585 -2010-01-06,9.241781 -2010-01-07,9.171589 -2010-01-08,8.968815 -2010-01-11,9.039010 -2010-01-12,8.719246 -2010-01-13,8.875228 -2010-01-14,8.844033 -2010-01-15,8.883027 -2010-01-19,9.140393 -2010-01-20,9.163789 -2010-01-21,9.015610 -2010-01-22,8.953218 -2010-01-25,8.984412 -2010-01-26,8.851831 -2010-01-27,8.890829 -2010-01-28,8.812834 -2010-01-29,8.851831 -2011-01-03,14.334681 -2011-01-04,14.182441 -2011-01-05,14.222502 -2011-01-06,14.022191 -2011-01-07,14.158403 -2011-01-10,14.318655 -2011-01-11,14.318655 -2011-01-12,14.438849 -2011-01-13,14.470896 -2011-01-14,14.695253 -2011-01-18,14.599099 -2011-01-19,14.599099 -2011-01-20,14.791399 -2011-01-21,15.047809 -2011-01-24,15.087873 -2011-01-25,15.224088 -2011-01-26,15.368320 -2011-01-27,15.552608 -2011-01-28,15.240113 -2011-01-31,15.408378 -2012-01-03,20.078302 -2012-01-04,19.749151 -2012-01-05,20.070074 -2012-01-06,20.078302 -2012-01-09,19.987789 -2012-01-10,20.316942 -2012-01-11,20.168818 -2012-01-12,20.160591 -2012-01-13,20.168818 -2012-01-17,20.284025 -2012-01-18,20.358082 -2012-01-19,20.522657 -2012-01-20,20.950562 -2012-01-23,20.901186 -2012-01-24,20.901186 -2012-01-25,21.106903 -2012-01-26,21.230341 -2012-01-27,21.287939 -2012-01-30,21.164505 -2012-01-31,21.658239 -2013-01-02,31.170124 -2013-01-03,31.423889 -2013-01-04,31.576143 -2013-01-07,31.635351 -2013-01-08,31.423889 -2013-01-09,31.982153 -2013-01-10,31.973690 -2013-01-11,31.838360 -2013-01-14,31.838360 -2013-01-15,31.897566 -2013-01-16,32.075184 -2013-01-17,32.286652 -2013-01-18,32.591175 -2013-01-22,32.633472 -2013-01-23,32.489674 -2013-01-24,32.946445 -2013-01-25,33.259407 -2013-01-28,33.149445 -2013-01-29,33.538551 -2013-01-30,33.496254 -2013-01-31,33.699257 -2014-01-02,36.595928 -2014-01-03,36.858643 -2014-01-06,37.016273 -2014-01-07,36.902431 -2014-01-08,36.753551 -2014-01-09,37.208927 -2014-01-10,38.154690 -2014-01-13,37.918247 -2014-01-14,38.504978 -2014-01-15,39.100464 -2014-01-16,38.864025 -2014-01-17,38.513729 -2014-01-21,38.636322 -2014-01-22,38.452431 -2014-01-23,38.557518 -2014-01-24,38.180969 -2014-01-27,38.224751 -2014-01-28,39.100464 -2014-01-29,39.091702 -2014-01-30,39.713459 -2014-01-31,39.984928 -2015-01-02,53.389149 -2015-01-05,54.566715 -2015-01-06,55.753349 -2015-01-07,56.559528 -2015-01-08,57.411003 -2015-01-09,57.193604 -2015-01-12,58.008846 -2015-01-13,58.072243 -2015-01-14,58.679146 -2015-01-15,59.258873 -2015-01-16,60.418335 -2015-01-20,60.037876 -2015-01-21,59.911064 -2015-01-22,60.644783 -2015-01-23,60.237164 -2015-01-26,60.445511 -2015-01-27,60.563259 -2015-01-28,60.898407 -2015-01-29,61.043350 -2015-01-30,59.784248 -2016-01-04,82.093315 -2016-01-05,84.505066 -2016-01-06,85.206161 -2016-01-07,84.299423 -2016-01-08,84.047020 -2016-01-11,84.888336 -2016-01-12,84.607895 -2016-01-13,83.710503 -2016-01-14,81.532433 -2016-01-15,80.420021 -2016-01-19,82.728958 -2016-01-20,79.316986 -2016-01-21,79.195450 -2016-01-22,81.653961 -2016-01-25,81.887657 -2016-01-26,84.561165 -2016-01-27,82.953300 -2016-01-28,83.514191 -2016-01-29,84.776161 -2017-01-03,74.699989 -2017-01-04,75.097473 -2017-01-05,76.076683 -2017-01-06,76.784409 -2017-01-09,75.873077 -2017-01-10,74.292793 -2017-01-11,72.373184 -2017-01-12,71.558800 -2017-01-13,70.434181 -2017-01-17,70.812286 -2017-01-18,70.938316 -2017-01-19,70.870453 -2017-01-20,71.180695 -2017-01-23,72.712502 -2017-01-24,72.848244 -2017-01-25,71.520027 -2017-01-26,71.723618 -2017-01-27,70.967400 -2017-01-30,70.094864 -2017-01-31,69.852478 diff -r 1fb90f5d53ee -r 2ca6db82d207 testing/FB.csv --- a/testing/FB.csv Wed Nov 08 13:58:11 2017 +0000 +++ b/testing/FB.csv Wed Nov 08 15:45:33 2017 +0000 @@ -1,916 +1,102 @@ Date,Adj Close -1974-01-02,0.613743 -1974-01-03,0.622036 -1974-01-04,0.622036 -1974-01-07,0.622036 -1974-01-08,0.597155 -1974-01-09,0.597155 -1974-01-10,0.597155 -1974-01-11,0.597155 -1974-01-14,0.597155 -1974-01-15,0.597155 -1974-01-16,0.597155 -1974-01-17,0.597155 -1974-01-18,0.597155 -1974-01-21,0.597155 -1974-01-22,0.597155 -1974-01-23,0.597155 -1974-01-24,0.613743 -1974-01-25,0.630330 -1974-01-28,0.630330 -1974-01-29,0.613743 -1974-01-30,0.613743 -1974-01-31,0.613743 -1975-01-02,0.472748 -1975-01-03,0.481042 -1975-01-06,0.481042 -1975-01-07,0.481042 -1975-01-08,0.481042 -1975-01-09,0.481042 -1975-01-10,0.481042 -1975-01-13,0.481042 -1975-01-14,0.481042 -1975-01-15,0.481042 -1975-01-16,0.489335 -1975-01-17,0.497629 -1975-01-20,0.522511 -1975-01-21,0.522511 -1975-01-22,0.514216 -1975-01-23,0.522511 -1975-01-24,0.547392 -1975-01-27,0.547392 -1975-01-28,0.547392 -1975-01-29,0.547392 -1975-01-30,0.563980 -1975-01-31,0.563980 -1976-01-02,0.729856 -1976-01-05,0.729856 -1976-01-06,0.729856 -1976-01-07,0.738150 -1976-01-08,0.754738 -1976-01-09,0.754738 -1976-01-12,0.771325 -1976-01-13,0.771325 -1976-01-14,0.771325 -1976-01-15,0.779619 -1976-01-16,0.787913 -1976-01-19,0.787913 -1976-01-20,0.787913 -1976-01-21,0.796207 -1976-01-22,0.779619 -1976-01-23,0.796207 -1976-01-26,0.821088 -1976-01-27,0.829382 -1976-01-28,0.829382 -1976-01-29,0.812795 -1976-01-30,0.829382 -1977-01-03,0.887438 -1977-01-04,0.870851 -1977-01-05,0.879145 -1977-01-06,0.895733 -1977-01-07,0.912320 -1977-01-10,0.937201 -1977-01-11,0.928908 -1977-01-12,0.928908 -1977-01-13,0.928908 -1977-01-14,0.920614 -1977-01-17,0.904026 -1977-01-18,0.912320 -1977-01-19,0.912320 -1977-01-20,0.912320 -1977-01-21,0.904026 -1977-01-24,0.920614 -1977-01-25,0.928908 -1977-01-26,0.928908 -1977-01-27,0.937201 -1977-01-28,0.945496 -1977-01-31,0.945496 -1978-01-03,1.061609 -1978-01-04,1.069903 -1978-01-05,1.069903 -1978-01-06,1.028433 -1978-01-09,0.995259 -1978-01-10,1.028433 -1978-01-11,1.011846 -1978-01-12,1.028433 -1978-01-13,1.020140 -1978-01-16,1.028433 -1978-01-17,1.028433 -1978-01-18,1.028433 -1978-01-19,1.003552 -1978-01-20,1.003552 -1978-01-23,0.995259 -1978-01-24,0.986964 -1978-01-25,0.995259 -1978-01-26,0.995259 -1978-01-27,0.995259 -1978-01-30,0.995259 -1978-01-31,0.995259 -1979-01-02,1.011846 -1979-01-03,1.003552 -1979-01-04,1.011846 -1979-01-05,1.003552 -1979-01-08,1.003552 -1979-01-09,1.045022 -1979-01-10,1.045022 -1979-01-11,1.028433 -1979-01-12,1.036728 -1979-01-15,1.045022 -1979-01-16,1.053315 -1979-01-17,1.045022 -1979-01-18,1.045022 -1979-01-19,1.061609 -1979-01-22,1.061609 -1979-01-23,1.045022 -1979-01-24,1.069903 -1979-01-25,1.045022 -1979-01-26,1.061609 -1979-01-29,1.045022 -1979-01-30,1.036728 -1979-01-31,1.028433 -1980-01-02,0.995259 -1980-01-03,1.003552 -1980-01-04,1.003552 -1980-01-07,1.011846 -1980-01-08,1.028433 -1980-01-09,1.011846 -1980-01-10,0.978671 -1980-01-11,1.020140 -1980-01-14,1.011846 -1980-01-15,1.028433 -1980-01-16,1.036728 -1980-01-17,1.053315 -1980-01-18,1.069903 -1980-01-21,1.078196 -1980-01-22,1.103078 -1980-01-23,1.119666 -1980-01-24,1.119666 -1980-01-25,1.111372 -1980-01-28,1.111372 -1980-01-29,1.111372 -1980-01-30,1.136254 -1980-01-31,1.144547 -1981-01-02,1.409950 -1981-01-05,1.426537 -1981-01-06,1.443124 -1981-01-07,1.426537 -1981-01-08,1.393362 -1981-01-09,1.368480 -1981-01-12,1.376774 -1981-01-13,1.351892 -1981-01-14,1.351892 -1981-01-15,1.385068 -1981-01-16,1.376774 -1981-01-19,1.401656 -1981-01-20,1.418243 -1981-01-21,1.451419 -1981-01-22,1.443124 -1981-01-23,1.443124 -1981-01-26,1.459713 -1981-01-27,1.459713 -1981-01-28,1.434831 -1981-01-29,1.434831 -1981-01-30,1.443124 -1982-01-04,1.343599 -1982-01-05,1.318718 -1982-01-06,1.318718 -1982-01-07,1.318718 -1982-01-08,1.318718 -1982-01-11,1.327012 -1982-01-12,1.310424 -1982-01-13,1.310424 -1982-01-14,1.293836 -1982-01-15,1.327012 -1982-01-18,1.310424 -1982-01-19,1.302130 -1982-01-20,1.343599 -1982-01-21,1.418243 -1982-01-22,1.393362 -1982-01-25,1.393362 -1982-01-26,1.401656 -1982-01-27,1.409950 -1982-01-28,1.393362 -1982-01-29,1.409950 -1983-01-03,1.791467 -1983-01-04,1.791467 -1983-01-05,1.758290 -1983-01-06,1.725115 -1983-01-07,1.774877 -1983-01-10,1.758290 -1983-01-11,1.725115 -1983-01-12,1.758290 -1983-01-13,1.791467 -1983-01-14,1.774877 -1983-01-17,1.808053 -1983-01-18,1.808053 -1983-01-19,1.774877 -1983-01-20,1.741701 -1983-01-21,1.741701 -1983-01-24,1.758290 -1983-01-25,1.758290 -1983-01-26,1.791467 -1983-01-27,1.791467 -1983-01-28,1.758290 -1983-01-31,1.774877 -1984-01-03,2.272508 -1984-01-04,2.255919 -1984-01-05,2.272508 -1984-01-06,2.322269 -1984-01-09,2.289094 -1984-01-10,2.305682 -1984-01-11,2.338858 -1984-01-12,2.388621 -1984-01-13,2.372033 -1984-01-16,2.355446 -1984-01-17,2.372033 -1984-01-18,2.388621 -1984-01-19,2.322269 -1984-01-20,2.322269 -1984-01-23,2.289094 -1984-01-24,2.272508 -1984-01-25,2.255919 -1984-01-26,2.272508 -1984-01-27,2.305682 -1984-01-30,2.289094 -1984-01-31,2.338858 -1985-01-02,2.753547 -1985-01-03,2.786724 -1985-01-04,2.819900 -1985-01-07,2.853074 -1985-01-08,2.819900 -1985-01-09,2.753547 -1985-01-10,2.770135 -1985-01-11,2.770135 -1985-01-14,2.753547 -1985-01-15,2.753547 -1985-01-16,2.720372 -1985-01-17,2.703785 -1985-01-18,2.819900 -1985-01-21,2.803311 -1985-01-22,2.869663 -1985-01-23,2.786724 -1985-01-24,2.786724 -1985-01-25,2.819900 -1985-01-28,2.803311 -1985-01-29,2.819900 -1985-01-30,2.869663 -1985-01-31,2.853074 -1986-01-02,3.334116 -1986-01-03,3.284353 -1986-01-06,3.259472 -1986-01-07,3.284353 -1986-01-08,3.309233 -1986-01-09,3.309233 -1986-01-10,3.284353 -1986-01-13,3.284353 -1986-01-14,3.309233 -1986-01-15,3.309233 -1986-01-16,3.334116 -1986-01-17,3.334116 -1986-01-20,3.309233 -1986-01-21,3.383878 -1986-01-22,3.383878 -1986-01-23,3.383878 -1986-01-24,3.358997 -1986-01-27,3.433641 -1986-01-28,3.433641 -1986-01-29,3.334116 -1986-01-30,3.309233 -1986-01-31,3.458522 -1987-01-02,4.030794 -1987-01-05,4.180086 -1987-01-06,4.130323 -1987-01-07,4.130323 -1987-01-08,4.180086 -1987-01-09,4.155204 -1987-01-12,4.180086 -1987-01-13,4.229848 -1987-01-14,4.229848 -1987-01-15,4.229848 -1987-01-16,4.155204 -1987-01-19,4.204966 -1987-01-20,4.180086 -1987-01-21,4.204966 -1987-01-22,4.254729 -1987-01-23,4.404018 -1987-01-26,4.404018 -1987-01-27,4.578188 -1987-01-28,4.553306 -1987-01-29,4.553306 -1987-01-30,4.553306 -1988-01-04,4.119050 -1988-01-05,4.169588 -1988-01-06,4.169588 -1988-01-07,4.295941 -1988-01-08,3.992697 -1988-01-11,3.967428 -1988-01-12,3.891616 -1988-01-13,3.916886 -1988-01-14,3.916886 -1988-01-15,4.017968 -1988-01-18,3.967428 -1988-01-19,3.942155 -1988-01-20,3.916886 -1988-01-21,3.967428 -1988-01-22,3.967428 -1988-01-25,4.017968 -1988-01-26,3.967428 -1988-01-27,3.916886 -1988-01-28,3.942155 -1988-01-29,3.942155 -1989-01-03,4.458841 -1989-01-04,4.485705 -1989-01-05,4.485705 -1989-01-06,4.566285 -1989-01-09,4.566285 -1989-01-10,4.566285 -1989-01-11,4.566285 -1989-01-12,4.539422 -1989-01-13,4.593145 -1989-01-16,4.593145 -1989-01-17,4.646864 -1989-01-18,4.673725 -1989-01-19,4.673725 -1989-01-20,4.566285 -1989-01-23,4.512562 -1989-01-24,4.566285 -1989-01-25,4.539422 -1989-01-26,4.700584 -1989-01-27,4.700584 -1989-01-30,4.781168 -1989-01-31,4.754309 -1990-01-02,5.012437 -1990-01-03,4.955476 -1990-01-04,4.983958 -1990-01-05,4.983958 -1990-01-08,4.955476 -1990-01-09,4.983958 -1990-01-10,4.955476 -1990-01-11,4.841557 -1990-01-12,4.784597 -1990-01-15,4.784597 -1990-01-16,4.813078 -1990-01-17,4.841557 -1990-01-18,4.841557 -1990-01-19,4.784597 -1990-01-22,4.784597 -1990-01-23,4.727639 -1990-01-24,4.727639 -1990-01-25,4.727639 -1990-01-26,4.756117 -1990-01-29,4.727639 -1990-01-30,4.756117 -1990-01-31,4.756117 -1991-01-02,3.515884 -1991-01-03,3.546724 -1991-01-04,3.515884 -1991-01-07,3.454203 -1991-01-08,3.454203 -1991-01-09,3.454203 -1991-01-10,3.392519 -1991-01-11,3.392519 -1991-01-14,3.423360 -1991-01-15,3.546724 -1991-01-16,3.577569 -1991-01-17,3.639249 -1991-01-18,3.670089 -1991-01-21,3.670089 -1991-01-22,3.700930 -1991-01-23,3.670089 -1991-01-24,3.762613 -1991-01-25,3.762613 -1991-01-28,4.009340 -1991-01-29,4.225229 -1991-01-30,4.194386 -1991-01-31,4.256071 -1992-01-02,5.051630 -1992-01-03,5.118537 -1992-01-06,5.185450 -1992-01-07,5.218903 -1992-01-08,5.252358 -1992-01-09,5.419631 -1992-01-10,5.486539 -1992-01-13,5.453087 -1992-01-14,5.586904 -1992-01-15,5.553449 -1992-01-16,5.586904 -1992-01-17,5.553449 -1992-01-20,5.553449 -1992-01-21,5.352722 -1992-01-22,5.453087 -1992-01-23,5.486539 -1992-01-24,5.352722 -1992-01-27,5.419631 -1992-01-28,5.453087 -1992-01-29,5.553449 -1992-01-30,5.553449 -1992-01-31,5.553449 -1993-01-04,7.154995 -1993-01-05,7.047670 -1993-01-06,7.047670 -1993-01-07,7.119226 -1993-01-08,7.083446 -1993-01-11,7.190772 -1993-01-12,7.190772 -1993-01-13,7.226548 -1993-01-14,7.226548 -1993-01-15,7.154995 -1993-01-18,7.226548 -1993-01-19,7.190772 -1993-01-20,7.333868 -1993-01-21,7.369648 -1993-01-22,6.940348 -1993-01-25,7.011897 -1993-01-26,7.047670 -1993-01-27,6.904572 -1993-01-28,6.976122 -1993-01-29,7.047670 -1994-01-03,7.500911 -1994-01-04,7.728212 -1994-01-05,7.879747 -1994-01-06,7.841864 -1994-01-07,7.879747 -1994-01-10,7.917628 -1994-01-11,7.879747 -1994-01-12,7.917628 -1994-01-13,7.917628 -1994-01-14,8.069162 -1994-01-17,8.107049 -1994-01-18,7.803977 -1994-01-19,7.879747 -1994-01-20,7.652442 -1994-01-21,7.690329 -1994-01-24,7.576679 -1994-01-25,7.576679 -1994-01-26,7.538796 -1994-01-27,7.652442 -1994-01-28,7.500911 -1994-01-31,7.311496 -1995-01-03,6.793611 -1995-01-04,6.753173 -1995-01-05,6.834050 -1995-01-06,6.793611 -1995-01-09,6.834050 -1995-01-10,6.631859 -1995-01-11,6.631859 -1995-01-12,6.672298 -1995-01-13,6.753173 -1995-01-16,6.712735 -1995-01-17,6.712735 -1995-01-18,6.672298 -1995-01-19,6.712735 -1995-01-20,6.712735 -1995-01-23,6.672298 -1995-01-24,6.591421 -1995-01-25,6.631859 -1995-01-26,6.753173 -1995-01-27,6.793611 -1995-01-30,6.753173 -1995-01-31,6.753173 -1996-01-02,7.999853 -1996-01-03,7.956373 -1996-01-04,7.869422 -1996-01-05,7.869422 -1996-01-08,7.782465 -1996-01-09,7.912897 -1996-01-10,7.782465 -1996-01-11,7.825945 -1996-01-12,7.782465 -1996-01-15,7.825945 -1996-01-16,7.825945 -1996-01-17,7.782465 -1996-01-18,7.695510 -1996-01-19,7.695510 -1996-01-22,7.652034 -1996-01-23,7.608552 -1996-01-24,7.521599 -1996-01-25,7.521599 -1996-01-26,7.565077 -1996-01-29,7.391168 -1996-01-30,7.434645 -1996-01-31,7.434645 -1997-01-02,9.967930 -1997-01-03,9.967930 -1997-01-06,10.061083 -1997-01-07,10.154243 -1997-01-08,10.293979 -1997-01-09,10.340554 -1997-01-10,10.387138 -1997-01-13,10.480300 -1997-01-14,10.480300 -1997-01-15,10.573455 -1997-01-16,10.526876 -1997-01-17,10.526876 -1997-01-20,10.573455 -1997-01-21,10.666617 -1997-01-22,10.433719 -1997-01-23,10.573455 -1997-01-24,10.387138 -1997-01-27,10.433719 -1997-01-28,10.480300 -1997-01-29,10.480300 -1997-01-30,10.433719 -1997-01-31,10.526876 -1998-01-02,10.285053 -1998-01-05,10.285053 -1998-01-06,10.285053 -1998-01-07,10.210528 -1998-01-08,10.111154 -1998-01-09,9.962094 -1998-01-12,9.962094 -1998-01-13,10.185684 -1998-01-14,9.962094 -1998-01-15,10.036625 -1998-01-16,10.061468 -1998-01-20,10.061468 -1998-01-21,10.011782 -1998-01-22,10.011782 -1998-01-23,9.986935 -1998-01-26,10.011782 -1998-01-27,9.912408 -1998-01-28,9.937252 -1998-01-29,10.011782 -1998-01-30,9.837877 -1999-01-04,10.046636 -1999-01-05,10.474152 -1999-01-06,10.474152 -1999-01-07,10.313835 -1999-01-08,10.260390 -1999-01-11,10.126796 -1999-01-12,10.206952 -1999-01-13,10.367270 -1999-01-14,10.260390 -1999-01-15,10.260390 -1999-01-19,10.313835 -1999-01-20,10.100071 -1999-01-21,10.233673 -1999-01-22,9.966474 -1999-01-25,10.046636 -1999-01-26,9.859591 -1999-01-27,9.859591 -1999-01-28,9.699273 -1999-01-29,9.832875 -2000-01-03,8.765826 -2000-01-04,8.736703 -2000-01-05,8.707580 -2000-01-06,8.969682 -2000-01-07,9.435640 -2000-01-10,9.493882 -2000-01-11,9.144416 -2000-01-12,9.319148 -2000-01-13,9.290029 -2000-01-14,9.202658 -2000-01-18,9.319148 -2000-01-19,9.377393 -2000-01-20,9.406517 -2000-01-21,9.406517 -2000-01-24,9.319148 -2000-01-25,9.319148 -2000-01-26,9.319148 -2000-01-27,9.348270 -2000-01-28,9.348270 -2000-01-31,9.290029 -2001-01-02,9.742064 -2001-01-03,9.965648 -2001-01-04,10.029531 -2001-01-05,9.933706 -2001-01-08,9.901762 -2001-01-09,9.965648 -2001-01-10,10.029531 -2001-01-11,10.029531 -2001-01-12,10.029531 -2001-01-16,10.061474 -2001-01-17,9.965648 -2001-01-18,9.933706 -2001-01-19,10.093415 -2001-01-22,10.061474 -2001-01-23,10.061474 -2001-01-24,10.029531 -2001-01-25,9.933706 -2001-01-26,9.933706 -2001-01-29,10.016754 -2001-01-30,10.139409 -2001-01-31,10.078081 -2002-01-02,12.803737 -2002-01-03,12.987998 -2002-01-04,12.881908 -2002-01-07,12.803737 -2002-01-08,12.976830 -2002-01-09,13.021503 -2002-01-10,13.038255 -2002-01-11,13.194602 -2002-01-14,13.725066 -2002-01-15,13.568717 -2002-01-16,13.429122 -2002-01-17,13.747406 -2002-01-18,13.607803 -2002-01-22,13.429122 -2002-01-23,13.473792 -2002-01-24,13.406792 -2002-01-25,13.429122 -2002-01-28,13.596642 -2002-01-29,13.484964 -2002-01-30,13.618976 -2002-01-31,13.574306 -2003-01-02,17.006739 -2003-01-03,16.976738 -2003-01-06,17.000732 -2003-01-07,16.802774 -2003-01-08,16.706787 -2003-01-09,16.706787 -2003-01-10,16.532824 -2003-01-13,16.442837 -2003-01-14,16.334860 -2003-01-15,16.046913 -2003-01-16,16.292864 -2003-01-17,16.196886 -2003-01-21,16.208883 -2003-01-22,16.256866 -2003-01-23,16.340851 -2003-01-24,16.226877 -2003-01-27,16.082905 -2003-01-28,16.184879 -2003-01-29,16.406845 -2003-01-30,16.568815 -2003-01-31,16.820766 -2004-01-02,24.483887 -2004-01-05,24.515659 -2004-01-06,24.591866 -2004-01-07,24.452143 -2004-01-08,24.420382 -2004-01-09,24.401335 -2004-01-12,24.388636 -2004-01-13,24.534706 -2004-01-14,24.566462 -2004-01-15,24.801460 -2004-01-16,24.604567 -2004-01-20,24.814157 -2004-01-21,24.769691 -2004-01-22,24.845921 -2004-01-23,25.061855 -2004-01-26,25.531849 -2004-01-27,25.951021 -2004-01-28,26.141558 -2004-01-29,26.071697 -2004-01-30,26.224127 -2005-01-03,33.916973 -2005-01-04,33.446003 -2005-01-05,32.238705 -2005-01-06,32.470875 -2005-01-07,32.484138 -2005-01-10,32.490780 -2005-01-11,32.066242 -2005-01-12,31.814157 -2005-01-13,32.232071 -2005-01-14,32.178997 -2005-01-18,32.663250 -2005-01-19,32.822449 -2005-01-20,32.338196 -2005-01-21,32.278507 -2005-01-24,31.834044 -2005-01-25,31.057938 -2005-01-26,31.263577 -2005-01-27,30.845682 -2005-01-28,31.621782 -2005-01-31,31.296741 -2006-01-03,42.583164 -2006-01-04,43.191196 -2006-01-05,43.806145 -2006-01-06,44.393452 -2006-01-09,44.524734 -2006-01-10,45.022232 -2006-01-11,45.360783 -2006-01-12,45.526611 -2006-01-13,44.531639 -2006-01-17,44.932392 -2006-01-18,44.897842 -2006-01-19,46.155380 -2006-01-20,45.595695 -2006-01-23,45.906631 -2006-01-24,46.459396 -2006-01-25,46.155380 -2006-01-26,46.127731 -2006-01-27,46.155380 -2006-01-30,45.968819 -2006-01-31,46.169186 -2007-01-03,60.335861 -2007-01-04,59.592869 -2007-01-05,58.599903 -2007-01-08,58.528465 -2007-01-09,59.864368 -2007-01-10,60.528713 -2007-01-11,61.185966 -2007-01-12,61.278828 -2007-01-16,62.493248 -2007-01-17,62.321789 -2007-01-18,62.314648 -2007-01-19,63.350498 -2007-01-22,63.000443 -2007-01-23,63.471920 -2007-01-24,63.793407 -2007-01-25,65.007858 -2007-01-26,65.665070 -2007-01-29,64.872108 -2007-01-30,66.472305 -2007-01-31,66.736603 -2008-01-02,60.168587 -2008-01-03,57.942574 -2008-01-04,55.092075 -2008-01-07,55.437355 -2008-01-08,54.085598 -2008-01-09,53.035042 -2008-01-10,52.491383 -2008-01-11,52.160782 -2008-01-14,51.499592 -2008-01-15,49.060539 -2008-01-16,49.082569 -2008-01-17,48.751968 -2008-01-18,47.370811 -2008-01-22,48.230362 -2008-01-23,51.014713 -2008-01-24,52.462002 -2008-01-25,51.646526 -2008-01-28,53.490524 -2008-01-29,51.712646 -2008-01-30,51.705311 -2008-01-31,54.254570 -2009-01-02,45.242805 -2009-01-05,44.062626 -2009-01-06,45.920464 -2009-01-07,44.504246 -2009-01-08,45.318951 -2009-01-09,42.950974 -2009-01-12,39.935806 -2009-01-13,41.207340 -2009-01-14,39.646473 -2009-01-15,38.466293 -2009-01-16,40.225147 -2009-01-20,36.852108 -2009-01-21,38.885052 -2009-01-22,36.966312 -2009-01-23,38.009430 -2009-01-26,37.849541 -2009-01-27,39.220070 -2009-01-28,42.806309 -2009-01-29,40.240360 -2009-01-30,38.550041 -2010-01-04,53.507355 -2010-01-05,53.443493 -2010-01-06,53.299801 -2010-01-07,53.283840 -2010-01-08,52.948559 -2010-01-11,53.611130 -2010-01-12,52.693138 -2010-01-13,53.738861 -2010-01-14,53.523319 -2010-01-15,53.954365 -2010-01-19,55.287472 -2010-01-20,54.569050 -2010-01-21,53.467434 -2010-01-22,52.286018 -2010-01-25,52.389793 -2010-01-26,52.182232 -2010-01-27,51.942764 -2010-01-28,51.519688 -2010-01-29,51.391956 -2011-01-03,66.124573 -2011-01-04,64.785713 -2011-01-05,64.116280 -2011-01-06,63.810490 -2011-01-07,63.934448 -2011-01-10,63.760933 -2011-01-11,63.074955 -2011-01-12,62.926201 -2011-01-13,63.000576 -2011-01-14,63.529484 -2011-01-18,64.025391 -2011-01-19,63.446861 -2011-01-20,63.777447 -2011-01-21,64.066681 -2011-01-24,64.273331 -2011-01-25,65.479950 -2011-01-26,65.628700 -2011-01-27,66.529533 -2011-01-28,65.496460 -2011-01-31,66.471664 -2012-01-03,77.422211 -2012-01-04,76.125435 -2012-01-05,76.876198 -2012-01-06,76.748215 -2012-01-09,76.424026 -2012-01-10,77.908485 -2012-01-11,78.113235 -2012-01-12,77.277168 -2012-01-13,76.893257 -2012-01-17,77.422211 -2012-01-18,77.558708 -2012-01-19,78.249756 -2012-01-20,78.684837 -2012-01-23,79.128479 -2012-01-24,79.444138 -2012-01-25,80.339928 -2012-01-26,81.167473 -2012-01-27,81.175995 -2012-01-30,81.039497 -2012-01-31,80.587349 -2013-01-02,92.377060 -2013-01-03,91.657829 -2013-01-04,92.245483 -2013-01-07,92.719139 -2013-01-08,91.894646 -2013-01-09,92.219185 -2013-01-10,92.456001 -2013-01-11,92.517418 -2013-01-14,93.131371 -2013-01-15,93.201546 -2013-01-16,92.236717 -2013-01-17,91.947273 -2013-01-18,92.175331 -2013-01-22,92.719139 -2013-01-23,92.806839 -2013-01-24,92.570030 -2013-01-25,92.491074 -2013-01-28,92.692818 -2013-01-29,92.920868 -2013-01-30,93.289246 -2013-01-31,92.841934 -2014-01-02,91.107941 -2014-01-03,92.037994 -2014-01-06,93.238914 -2014-01-07,93.880005 -2014-01-08,93.428535 -2014-01-09,93.293091 -2014-01-10,94.611412 -2014-01-13,94.150894 -2014-01-14,94.954521 -2014-01-15,94.557213 -2014-01-16,94.358589 -2014-01-17,93.654274 -2014-01-21,94.755875 -2014-01-22,96.363136 -2014-01-23,97.257042 -2014-01-24,96.688194 -2014-01-27,96.209641 -2014-01-28,97.771729 -2014-01-29,97.663391 -2014-01-30,97.862030 -2014-01-31,98.421867 -2015-01-02,125.931107 -2015-01-05,127.638115 -2015-01-06,129.308044 -2015-01-07,132.017059 -2015-01-08,131.441833 -2015-01-09,131.562485 -2015-01-12,132.341736 -2015-01-13,131.636658 -2015-01-14,132.768539 -2015-01-15,132.647888 -2015-01-16,133.816849 -2015-01-20,132.814911 -2015-01-21,132.777786 -2015-01-22,135.152802 -2015-01-23,134.586884 -2015-01-26,137.193832 -2015-01-27,136.600082 -2015-01-28,136.145493 -2015-01-29,136.748505 -2015-01-30,133.380829 -2016-01-04,137.915375 -2016-01-05,139.514847 -2016-01-06,140.371719 -2016-01-07,138.077255 -2016-01-08,138.305756 -2016-01-11,139.229233 -2016-01-12,139.391098 -2016-01-13,139.771896 -2016-01-14,140.000381 -2016-01-15,139.705276 -2016-01-19,141.228561 -2016-01-20,138.534225 -2016-01-21,138.734161 -2016-01-22,143.085068 -2016-01-25,141.723648 -2016-01-26,142.951782 -2016-01-27,140.990540 -2016-01-28,140.743011 -2016-01-29,143.599167 -2017-01-03,140.050522 -2017-01-04,140.851379 -2017-01-05,141.896378 -2017-01-06,141.115067 -2017-01-09,139.347336 -2017-01-10,137.892151 -2017-01-11,136.505325 -2017-01-12,137.335449 -2017-01-13,136.905731 -2017-01-17,137.989807 -2017-01-18,138.224213 -2017-01-19,135.997467 -2017-01-20,137.433121 -2017-01-23,138.409760 -2017-01-24,137.667526 -2017-01-25,137.481964 -2017-01-26,137.511276 -2017-01-27,136.427185 -2017-01-30,135.890030 -2017-01-31,137.149887 +2013-01-02,28.000000 +2013-01-03,27.770000 +2013-01-04,28.760000 +2013-01-07,29.420000 +2013-01-08,29.059999 +2013-01-09,30.590000 +2013-01-10,31.299999 +2013-01-11,31.719999 +2013-01-14,30.950001 +2013-01-15,30.100000 +2013-01-16,29.850000 +2013-01-17,30.139999 +2013-01-18,29.660000 +2013-01-22,30.730000 +2013-01-23,30.820000 +2013-01-24,31.080000 +2013-01-25,31.540001 +2013-01-28,32.470001 +2013-01-29,30.790001 +2013-01-30,31.240000 +2013-01-31,30.980000 +2014-01-02,54.709999 +2014-01-03,54.560001 +2014-01-06,57.200001 +2014-01-07,57.919998 +2014-01-08,58.230000 +2014-01-09,57.220001 +2014-01-10,57.939999 +2014-01-13,55.910000 +2014-01-14,57.740002 +2014-01-15,57.599998 +2014-01-16,57.189999 +2014-01-17,56.299999 +2014-01-21,58.509998 +2014-01-22,57.509998 +2014-01-23,56.630001 +2014-01-24,54.450001 +2014-01-27,53.549999 +2014-01-28,55.139999 +2014-01-29,53.529999 +2014-01-30,61.080002 +2014-01-31,62.570000 +2015-01-02,78.449997 +2015-01-05,77.190002 +2015-01-06,76.150002 +2015-01-07,76.150002 +2015-01-08,78.180000 +2015-01-09,77.739998 +2015-01-12,76.720001 +2015-01-13,76.449997 +2015-01-14,76.279999 +2015-01-15,74.050003 +2015-01-16,75.180000 +2015-01-20,76.239998 +2015-01-21,76.739998 +2015-01-22,77.650002 +2015-01-23,77.830002 +2015-01-26,77.500000 +2015-01-27,75.779999 +2015-01-28,76.239998 +2015-01-29,78.000000 +2015-01-30,75.910004 +2016-01-04,102.220001 +2016-01-05,102.730003 +2016-01-06,102.970001 +2016-01-07,97.919998 +2016-01-08,97.330002 +2016-01-11,97.510002 +2016-01-12,99.370003 +2016-01-13,95.440002 +2016-01-14,98.370003 +2016-01-15,94.970001 +2016-01-19,95.260002 +2016-01-20,94.349998 +2016-01-21,94.160004 +2016-01-22,97.940002 +2016-01-25,97.010002 +2016-01-26,97.339996 +2016-01-27,94.449997 +2016-01-28,109.110001 +2016-01-29,112.209999 +2017-01-03,116.860001 +2017-01-04,118.690002 +2017-01-05,120.669998 +2017-01-06,123.410004 +2017-01-09,124.900002 +2017-01-10,124.349998 +2017-01-11,126.089996 +2017-01-12,126.620003 +2017-01-13,128.339996 +2017-01-17,127.870003 +2017-01-18,127.919998 +2017-01-19,127.550003 +2017-01-20,127.040001 +2017-01-23,128.929993 +2017-01-24,129.369995 +2017-01-25,131.479996 +2017-01-26,132.779999 +2017-01-27,132.179993 +2017-01-30,130.979996 +2017-01-31,130.320007 diff -r 1fb90f5d53ee -r 2ca6db82d207 testing/drumb_test.sh --- a/testing/drumb_test.sh Wed Nov 08 13:58:11 2017 +0000 +++ b/testing/drumb_test.sh Wed Nov 08 15:45:33 2017 +0000 @@ -17,7 +17,7 @@ # functional tests function scala_assert { - (ulimit -t 30 -m 1024000 ; scala -i "$1" "$2" -e "") # 2> /dev/null 1> /dev/null) + (ulimit -t 30 -m 1024000 ; scala -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null) } # purity test