8000 GitHub - dvx/snp500: JSON endpoint that returns an up-to-date list of S&P500 constituents scraped from Wikipedia. · GitHub
[go: up one dir, main page]

Skip to content
dvxPublic

About

JSON endpoint that returns an up-to-date list of S&P500 constituents scraped from Wikipedia.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

snp500

JSON endpoint that returns an up-to-date list of S&P500 constituents scraped from Wikipedia. I got tired of writing (or finding) code that gets the S&P500 symbols every time I needed them, so I threw together this endpoint. It should be around as long as Heroku and Wikipedia are around.

why doesn't Standard & Poor's have a master list somehwere?

Beats me.

how do you generate the list?

I grab it from Wikipedia and cache it on redis. When the page revision changes, the cache is updated.

what is sane?

sane indicates whether or not we're getting 505 symbols back, as expected. Keep in mind that Wikipedia might not always be right, so caveat emptor.

what's the URL?

https://snp500.herokuapp.com/

license

MIT

About

JSON endpoint that returns an up-to-date list of S&P500 constituents scraped from Wikipedia.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0