I THINK ∴ I'M DANGEROUS

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

stocks:mood_report [2019/09/13 13:20]
stocks:mood_report [2019/09/19 13:20] (current)
Line 1: Line 1:
 +
 +~~NOCACHE~~
 +<​html>​
 +<​script>​
 +
 +mood = document.getElementsByClassName("​col1"​);​
 +spymood = document.getElementsByClassName("​col2"​);​
 +
 +function colorize(cells) {
 +for (var i = 0, len = cells.length;​ i < len; i++)
 +{
 +  if (cells[i].innerHTML.indexOf('​+'​) != -1 )
 +  {
 +    cells[i].style.background = "#​32DD37"​
 +  } else if (cells[i].innerHTML.indexOf('​-'​) != -1)
 +  {
 +    cells[i].style.background = "#​FF5F5F"​
 +  }
 +}
 +}
 +
 +function do_color() {
 +colorize(mood);​
 +colorize(spymood);​
 +}
 +
 +setTimeout(do_color,​ 1000);
 +</​script>​
 +</​html>​
 +
 +====== Mood Report ======
 +
 +^ Date ^ Mood ^ S&P Mood ^
 +| 2019-09-19 |  -3.429| ​ -0.522|
 +| 2019-09-18 |  -11.762| ​ -8.261|
 +| 2019-09-17 |  -11.036| ​ -4.332|
 +| 2019-09-13 |  -9.903| ​ -13.037|
 +| 2019-09-12 |  -8.459| ​ -8.969|
 +| 2019-09-11 |  -3.669| ​ -4.512|
 +| 2019-09-10 |  -10.839| ​ -9.561|
 +| 2019-09-09 |  -1.452| ​ -1.284|
 +| 2019-09-06 |  -10.445| ​ -4.857|
 +| 2019-09-05 |  -10.040| ​ -8.939|
 +| 2019-09-04 |  -4.281| ​ +0.261|
 +| 2019-09-03 |  -8.392| ​ -5.286|
 +| 2019-09-02 |  -11.904| ​ -11.155|
 +| 2019-08-30 |  -6.761| ​ -5.127|
 +| 2019-08-29 |  -8.057| ​ -1.599|
 +| 2019-08-28 |  -12.716| ​ -5.777|
 +| 2019-08-27 |  -13.964| ​ -13.037|
 +| 2019-08-26 |  -7.517| ​ -3.384|
 +| 2019-08-23 |  -7.120| ​ -1.254|
 +| 2019-08-22 |  -10.732| ​ -5.484|
 +| 2019-08-21 |  -12.758| ​ -9.342|
 +| 2019-08-20 |  -2.333| ​ -4.155|
 +| 2019-08-19 |  -12.646| ​ -7.798|
 +| 2019-08-16 |  -10.439| ​ -5.921|
 +| 2019-08-15 |  -10.406| ​ -7.615|
 +| 2019-08-14 |  -7.329| ​ -2.523|
 +| 2019-08-13 |  -16.743| ​ -12.756|
 +| 2019-08-12 |  -3.929| ​ +1.368|
 +| 2019-08-09 |  -11.141| ​ -7.410|
 +| 2019-08-08 |  -8.012| ​ +3.457|
 +| 2019-08-07 |  -7.929| ​ -5.923|
 +| 2019-08-06 |  -14.018| ​ -7.674|
 +| 2019-08-05 |  -19.226| ​ -14.307|
 +| 2019-08-02 |  -13.190| ​ -10.383|
 +| 2019-08-01 |  -5.210| ​ -1.268|
 +| 2019-07-31 |  -1.754| ​ +0.907|
 +| 2019-07-30 |  -7.435| ​ +5.531|
 +| 2019-07-29 |  -5.376| ​ +1.449|
 +| 2019-07-26 |  +3.419| ​ -0.854|
 +| 2019-07-25 |  +2.708| ​ +2.805|
 +
 +<​html><​script>​do_color()</​script></​html>​
 +