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 [2020/10/01 13:21] (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-10-01 |  +9.572| ​ +17.285|
 +| 2020-09-30 |  +6.642| ​ +11.748|
 +| 2020-09-29 |  +6.686| ​ +7.561|
 +| 2020-09-28 |  +13.669| ​ +11.493|
 +| 2020-09-25 |  +4.567| ​ +7.248|
 +| 2020-09-24 |  +3.542| ​ +8.564|
 +| 2020-09-23 |  +8.358| ​ +13.726|
 +| 2020-09-22 |  +7.969| ​ +12.235|
 +| 2020-09-21 |  +7.882| ​ +11.786|
 +| 2020-09-18 |  +3.376| ​ +6.998|
 +| 2020-09-17 |  -1.213| ​ -4.589|
 +| 2020-09-16 |  +4.899| ​ +6.823|
 +| 2020-09-15 |  -1.500| ​ -3.176|
 +| 2020-09-01 |  -0.083| ​ +0.417|
 +| 2020-08-31 |  +0.534| ​ +1.316|
 +| 2020-08-28 |  +6.037| ​ +8.212|
 +| 2020-08-27 |  +1.887| ​ +2.955|
 +| 2020-08-26 |  +3.918| ​ +1.935|
 +| 2020-08-25 |  +3.738| ​ +6.021|
 +| 2020-08-24 |  +0.319| ​ +1.834|
 +| 2020-08-21 |  +9.816| ​ +13.794|
 +| 2020-08-20 |  +2.997| ​ +1.227|
 +| 2020-08-19 |  +4.905| ​ +4.288|
 +| 2020-08-18 |  +0.253| ​ +0.071|
 +| 2020-08-17 |  +1.867| ​ +4.430|
 +| 2020-08-14 |  +2.687| ​ +7.244|
 +| 2020-08-13 |  +6.591| ​ +12.896|
 +| 2020-08-12 |  +2.041| ​ +8.981|
 +| 2020-08-11 |  -0.186| ​ +5.402|
 +| 2020-08-10 |  +0.990| ​ +5.516|
 +| 2020-08-07 |  +5.191| ​ +10.147|
 +| 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|
 +
 +<​html><​script>​do_color()</​script></​html>​
 +