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/02/21 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 ^
 +| 2020-02-21 |  -5.347| ​ -7.335|
 +| 2020-02-20 |  +0.531| ​ +1.419|
 +| 2020-02-19 |  +2.433| ​ +3.283|
 +| 2020-02-18 |  +3.146| ​ +1.955|
 +| 2020-02-17 |  -14.982| ​ -5.938|
 +| 2020-02-14 |  -8.284| ​ -5.157|
 +| 2020-02-13 |  -7.815| ​ -5.135|
 +| 2020-02-12 |  -6.911| ​ -2.440|
 +| 2020-02-11 |  -2.786| ​ +2.907|
 +| 2020-02-10 |  -6.018| ​ -3.987|
 +| 2020-02-07 |  -5.797| ​ -4.600|
 +| 2020-02-06 |  -2.767| ​ -0.039|
 +| 2020-02-05 |  -4.522| ​ -7.057|
 +| 2020-02-04 |  -7.317| ​ -6.629|
 +| 2020-02-03 |  -1.595| ​ -3.451|
 +| 2020-01-31 |  +3.585| ​ +4.684|
 +| 2020-01-30 |  -3.588| ​ -5.400|
 +| 2020-01-29 |  +2.065| ​ -0.068|
 +| 2020-01-28 |  -4.792| ​ -4.135|
 +| 2020-01-27 |  -10.445| ​ -11.733|
 +| 2020-01-24 |  +0.857| ​ +0.152|
 +| 2020-01-23 |  +0.847| ​ -1.003|
 +| 2020-01-22 |  +0.086| ​ -1.176|
 +| 2020-01-21 |  -0.085| ​ +0.473|
 +| 2020-01-20 |  -4.154| ​ -3.761|
 +| 2020-01-17 |  -4.523| ​ -5.297|
 +| 2020-01-16 |  -8.425| ​ -6.116|
 +| 2020-01-15 |  -0.696| ​ +2.283|
 +| 2020-01-14 |  -0.294| ​ +3.478|
 +| 2020-01-13 |  -6.507| ​ -2.580|
 +| 2020-01-10 |  +2.414| ​ +4.549|
 +| 2020-01-09 |  -2.420| ​ -1.740|
 +| 2020-01-08 |  -10.832| ​ -8.309|
 +| 2020-01-07 |  -5.147| ​ -5.397|
 +| 2020-01-06 |  -4.818| ​ +0.115|
 +| 2020-01-03 |  -5.056| ​ -2.802|
 +| 2020-01-02 |  +2.964| ​ +3.464|
 +| 2020-01-01 |  -10.816| ​ -5.424|
 +| 2019-12-31 |  -7.493| ​ -4.648|
 +| 2019-12-30 |  -9.661| ​ -1.498|
 +
 +<​html><​script>​do_color()</​script></​html>​
 +