-
-
Save uknj/266467926bb6bbf3dbb2c6e57d1c19d3 to your computer and use it in GitHub Desktop.
Stocks Bookmarklet - Open some key links based on ticker.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ticker = prompt("Enter Ticker", "AAPL"); // Create browser prompt for ticker. Currently the links below definitely accept tickers - may accept names etc, but couldn't promise. | |
if (ticker != null & ticker.length > 0) { // Check that you actually put in a ticker. If you did open the following links. Includes SEC, marketwatch, seekingalpha, openinsider, twitter and moodys. You can almost certainly add more. | |
window.open("https://www.marketwatch.com/investing/stock/"+ ticker +"?mod=quote_search"); | |
window.open("https://seekingalpha.com/symbol/"+ ticker); | |
window.open("http://openinsider.com/screener?s="+ ticker +"&o=&pl=&ph=&ll=&lh=&fd=0&fdr=&td=0&tdr=&fdlyl=&fdlyh=&daysago=&xp=1&xs=1&vl=&vh=&ocl=&och=&sic1=-1&sicl=100&sich=9999&grp=0&nfl=&nfh=&nil=&nih=&nol=&noh=&v2l=&v2h=&oc2l=&oc2h=&sortcol=0&cnt=100&page=1"); | |
window.open("https://twitter.com/search?q=%24"+ ticker); | |
window.open("https://www.moodys.com/search?keyword="+ ticker +"&searchfrom=GS"); | |
window.open("https://whalewisdom.com/stock/"+ ticker); | |
window.open("https://www.sec.gov/edgar/search/#/dateRange=all&category=form-cat8&entityName=%24"+ ticker); | |
window.open("https://www.sec.gov/edgar/search/#/dateRange=all&category=form-cat0&entityName=%24"+ ticker); | |
window.open("https://www.sec.gov/edgar/search/#/dateRange=all&category=form-cat2&entityName=%24"+ ticker); | |
window.open("https://finviz.com/quote.ashx?t="+ ticker); | |
window.open("https://www.google.com/search?q="+ ticker +"+investor+relations+press+release&sxsrf=ALeKk02JKP7Tm_ZSVI08bgZcNHb1bHWcrQ:1612027941969&ei=JZgVYPTTOtG_gQbfmbiQDQ&iflsig=AINFCbYAAAAAYBWmNrrXXsBskX2mIpCufOiVXmA_-8WE"); | |
window.open("https://finbox.com/"+ ticker); | |
window.open("https://stockcharts.com/h-sc/ui?s="+ ticker); | |
window.open("https://www.reddit.com/r/MillennialBets/wiki/index/stocks/"+ticker); | |
} else { // Don't try and pull a fast one - would only result in homepage redirections or 404s. | |
window.confirm("You didn't enter a ticker - that's not very cash money of you."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works great; however, my popup-blocker would not allow for the tabs to open unless I opened from a domain that had exception to open pop-ups or I disabled the pop-blocker. Something for others to note when following these excellent steps.