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 [2020/01/16 14:20]
stocks:mood_report [2020/08/06 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 ^
 +| 2020-08-06 |  -14.654| ​ -2.380|
 +| 2020-08-05 |  -6.548| ​ -2.996|
 +| 2020-08-04 |  +4.884| ​ +6.765|
 +| 2020-08-03 |  +0.627| ​ +0.154|
 +| 2020-07-31 |  +7.659| ​ +3.240|
 +| 2020-07-30 |  +1.062| ​ -0.047|
 +| 2020-07-29 |  +3.061| ​ +1.849|
 +| 2020-07-28 |  +4.101| ​ -4.902|
 +| 2020-07-27 |  -1.516| ​ +4.437|
 +| 2020-07-24 |  -1.909| ​ +5.503|
 +| 2020-07-23 |  +3.277| ​ -1.634|
 +| 2020-07-22 |  +4.021| ​ +7.246|
 +| 2020-07-21 |  -4.847| ​ -4.506|
 +| 2020-07-20 |  +0.089| ​ +0.024|
 +| 2020-07-17 |  -1.228| ​ +0.547|
 +| 2020-07-16 |  +5.590| ​ +5.111|
 +| 2020-07-15 |  +7.207| ​ +9.231|
 +| 2020-07-14 |  -0.657| ​ +2.482|
 +| 2020-07-13 |  +7.389| ​ +5.903|
 +| 2020-07-10 |  -6.710| ​ -5.060|
 +| 2020-07-09 |  +6.096| ​ +5.385|
 +| 2020-07-08 |  -5.936| ​ -2.950|
 +| 2020-07-01 |  +5.170| ​ +10.659|
 +| 2020-06-30 |  +10.850| ​ +13.287|
 +| 2020-06-29 |  +2.347| ​ -2.410|
 +| 2020-06-26 |  +4.273| ​ +5.586|
 +| 2020-06-25 |  -4.551| ​ +2.923|
 +| 2020-06-24 |  -4.364| ​ +1.135|
 +| 2020-06-23 |  -6.087| ​ +5.244|
 +| 2020-06-22 |  -10.105| ​ -3.001|
 +| 2020-06-19 |  -5.315| ​ -2.085|
 +| 2020-06-18 |  -8.644| ​ -0.762|
 +| 2020-06-17 |  +1.829| ​ +9.247|
 +| 2020-06-16 |  -7.526| ​ -4.230|
 +| 2020-06-15 |  -0.067| ​ +3.532|
 +| 2020-06-12 |  -10.099| ​ -2.284|
 +| 2020-06-11 |  -7.026| ​ -2.952|
 +| 2020-06-10 |  -6.600| ​ -1.793|
 +| 2020-06-09 |  -0.008| ​ +6.166|
 +| 2020-06-08 |  +3.556| ​ +6.764|
 +
 +<​html><​script>​do_color()</​script></​html>​
 +