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/11/08 14:20]
stocks:mood_report [2019/11/13 14: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-11-13 |  -10.948| ​ -13.445|
 +| 2019-11-12 |  -7.135| ​ -7.904|
 +| 2019-11-11 |  -7.530| ​ -5.604|
 +| 2019-11-08 |  -4.555| ​ -5.458|
 +| 2019-11-07 |  -2.961| ​ -7.582|
 +| 2019-11-06 |  -6.027| ​ -10.673|
 +| 2019-11-05 |  -4.794| ​ -3.289|
 +| 2019-11-04 |  -6.511| ​ -6.941|
 +| 2019-11-01 |  -8.572| ​ -8.003|
 +| 2019-10-31 |  +6.250| ​ +2.799|
 +| 2019-10-30 |  -0.083| ​ +3.845|
 +| 2019-10-29 |  -4.640| ​ -2.924|
 +| 2019-10-28 |  -3.909| ​ -1.963|
 +| 2019-10-25 |  -3.341| ​ -11.272|
 +| 2019-10-24 |  -0.949| ​ -5.577|
 +| 2019-10-23 |  -3.541| ​ -7.590|
 +| 2019-10-22 |  -3.282| ​ -3.937|
 +| 2019-10-21 |  -5.139| ​ -0.873|
 +| 2019-10-18 |  -8.527| ​ -8.848|
 +| 2019-10-17 |  -9.916| ​ -8.364|
 +| 2019-10-16 |  -12.385| ​ -16.567|
 +| 2019-10-15 |  -10.798| ​ -7.424|
 +| 2019-10-14 |  -12.285| ​ -12.333|
 +| 2019-10-11 |  -7.658| ​ -11.224|
 +| 2019-10-10 |  -6.537| ​ -1.834|
 +| 2019-10-09 |  -6.727| ​ -4.536|
 +| 2019-10-08 |  -7.303| ​ -3.875|
 +| 2019-10-07 |  -16.666| ​ -13.870|
 +| 2019-10-04 |  -15.897| ​ -10.155|
 +| 2019-10-03 |  -12.806| ​ -7.452|
 +| 2019-10-02 |  -14.871| ​ -10.012|
 +| 2019-10-01 |  -15.064| ​ -11.692|
 +| 2019-09-30 |  -21.938| ​ -21.706|
 +| 2019-09-27 |  -12.291| ​ -7.709|
 +| 2019-09-26 |  -10.528| ​ -6.230|
 +| 2019-09-25 |  -9.578| ​ -9.116|
 +| 2019-09-24 |  -0.977| ​ +0.411|
 +| 2019-09-23 |  -8.158| ​ -7.253|
 +| 2019-09-20 |  -6.843| ​ -4.941|
 +| 2019-09-19 |  -3.429| ​ -0.522|
 +
 +<​html><​script>​do_color()</​script></​html>​
 +