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/06/30 13:20]
stocks:mood_report [2020/07/09 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-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|
 +| 2020-06-05 |  +5.007| ​ +7.605|
 +| 2020-06-04 |  +6.097| ​ +10.365|
 +| 2020-06-03 |  +3.659| ​ +9.783|
 +| 2020-06-02 |  +0.922| ​ +4.195|
 +| 2020-06-01 |  +3.809| ​ +2.344|
 +| 2020-05-29 |  -10.794| ​ -13.528|
 +| 2020-05-28 |  -1.630| ​ +3.137|
 +| 2020-05-27 |  +0.794| ​ +1.573|
 +| 2020-05-26 |  -0.062| ​ -3.323|
 +| 2020-05-25 |  -8.352| ​ -0.829|
 +| 2020-05-22 |  +2.010| ​ +4.717|
 +| 2020-05-21 |  -1.788| ​ +2.192|
 +| 2020-05-20 |  +0.712| ​ +4.858|
 +| 2020-05-19 |  +0.665| ​ +2.495|
 +| 2020-05-18 |  -3.161| ​ -5.436|
 +| 2020-05-15 |  -4.649| ​ +3.769|
 +| 2020-05-14 |  -12.732| ​ -8.777|
 +| 2020-05-13 |  -18.036| ​ -19.774|
 +| 2020-05-12 |  -2.809| ​ -2.489|
 +| 2020-05-11 |  +3.437| ​ -1.348|
 +
 +<​html><​script>​do_color()</​script></​html>​
 +