I THINK ∴ I'M DANGEROUS

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
stocks:dividend_report [2017/07/16 12:44]
zashi
stocks:dividend_report [2018/08/21 20:00] (current)
Line 1: Line 1:
-====== Dividend Report ======+~~NOCACHE~~ 
 +====== Dividend Report====== 
 +Date indicates the ex-dividend date. You should short the listed stock the day before the ex-dividiend date and buy-to-cover ON the ex-dividend date.
  
-<php+Last Updated Tue Aug 21 16:00:00 EDT 2018. 
-echo system("/srv/http/bin/etrade_dividends -output=html"+ 
-</php>+^ Date ^ Stock ^ Return ^ 
 +|2018-08-22 |[[http://​nasdaq.com/​symbol/​OXLCO/​dividend-history|OXLCO]] | 0.61%| 
 +|2018-08-22 |[[http://​nasdaq.com/​symbol/​QYLD/​dividend-history|QYLD]] | 0.00%| 
 +|2018-08-30 |[[http://​nasdaq.com/​symbol/​PSEC/​dividend-history|PSEC]] | 0.87%| 
 +|2018-09-13 |[[http://​nasdaq.com/​symbol/​CLM/​dividend-history|CLM]] | 1.54%| 
 +|2018-09-13 |[[http://​nasdaq.com/​symbol/​CRF/​dividend-history|CRF]] | 1.51%| 
 +|2018-09-24 |[[http://​nasdaq.com/​symbol/​KBWD/​dividend-history|KBWD]] | 0.00%| 
 +<html
 +<​script>​ 
 + 
 +date_col = document.getElementsByClassName("col0"​);​ 
 + 
 +function colorize(cells) { 
 +old = cells[0].innerHTML;​ 
 +bgcolor=1;​ 
 +for (var i = 0, len = cells.length;​ i < len; i++) 
 +
 +  if (old != cells[i].innerHTML) { 
 +    old = cells[i].innerHTML;​ 
 +    bgcolor = !bgcolor; 
 +  } 
 + 
 +  if (bgcolor) { 
 + cells[i].parentElement.style.background = '#​EEE';​ 
 +    ​//cells[i].style.background = '#​DDD';​ 
 +  } else { 
 + //cells[i].parentElement.style.background ​'#​FFF';​ 
 +    //​cells[i].style.background = '#​FFF';​ 
 +  } 
 +
 +
 + 
 +colorize(date_col); 
 +</script>​ 
 +</html>