Skip to content

Instantly share code, notes, and snippets.

@uknj
Last active March 13, 2023 04:22
Show Gist options
  • Star 20 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save uknj/266467926bb6bbf3dbb2c6e57d1c19d3 to your computer and use it in GitHub Desktop.
Save uknj/266467926bb6bbf3dbb2c6e57d1c19d3 to your computer and use it in GitHub Desktop.
Stocks Bookmarklet - Open some key links based on ticker.
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.");
}
@uknj
Copy link
Author

uknj commented Jan 30, 2021

Update: Added Finviz search.
2nd Update: Added google search for investor relations.
3rd Update (01/02/2021): Added Finbox - gives some fundemental analysis / financial models.
4th Update (02/02/2021): Added Stockcharts.
5th Update (18/06/2021): Added reddit search courtesy of /u/MillennialBets. Thanks matey.

@dkruszew
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment