Issue with stocks worth 0
|
|
The tally of which stocks you already own breaks down if you own any stocks worth 0, presumably because these don't appear in the master list. Adding this after line 95 (if (thisLink.href.match('ticker=')){) fixes it by skipping those: var worth = thisLink.parentNode.parentNode.getElementsByTagName('td')[3].innerHTML;
|
|
|
I've never run into the problem of bankrupt stocks. I made the changes so that those stocks don't stop the script anymore. Thank you for the information and a fix. |