136 points · by lukemerrick · 4y ago · 63 comments
I wanted to play with intraday stock data but couldn't find a free dataset anywhere. IEXCloud [1] offers API access to 1-minute granularity intraday historical price data, but I was worried that it could get expensive or unwieldy to build up a substantial dataset via API calls. Plus, IEX gives out their raw data for free.
I probably should have just used the IEXTools python library [2] to parse IEX's raw data dumps, but I was working on a Julia project, so it felt more thematically appropriate to build a new tool from scratch.
I haven't been actively using InvestorsExchange.jl a lot lately, but it's made me the proud owner of a 50GB SQLite DB dump covering several years of trade data, and I think it would be awesome if I could help folks in the HN community more quickly build up this kind of dataset for their own curiosity or research.
Feedback is also greatly appreciated!
For anyone who wants the naming backstory, InvestorsExchange.jl was originally IEXTools.jl, but Julia's package registration automatic name checks didn't like it ("Name does not meet all of the following: starts with an uppercase letter, ASCII alphanumerics only, not all letters are uppercase. Name is not at least five characters long") [1]. So to Wikipedia I went to find the non-acronym name of the IEX exchange, which is "Investors Exchange" [2]. Thank you all for helping me understand why IEX goes by IEX in all of their branding.
- penisland.net (sells pens)
- expertsexchange.com (renamed to experts-exchange.com)
- therapistfinder.com (find a therapist)
- whorepresents.com
Mind you, self-descriptive company names and domains are more useful for local small businesses; big ones like Google start to get their own meaning. ycombinator? What?
> Welcome to Slütsof In Stagrâm an online fantasy series about a Princess duck named Slütsof and her adventurous journey across the mystical lands of Stâgram. Join her as she leaves her castle, searches for her long lost brother Brösof The Magical Goat and challenges a tyrant King who has claimed all of Stagrâm for himself. Here is some concept art to ignite your imagination! --New submissions below!
(The author of the site originally registered the domain for other reasons. Instagram tried to take legal action so they pivoted and back solved the purpose of the domain and why it wasn't infringing on the Instagram trademark)
Takes me back to the days of ExpertsExchange, the biggest predecessor to Stack Overflow. They were essentially forced to change their domain to Experts-Exchange.
So if we download the raw data every day for one year, we would have 3650 GB just for one year...
It would be interesting how much reduced the size of the processed data is compared to the raw data. You say that you have 50 GB of data spanning multiple years. How many years exactly?
> So if we download the raw data every day for one year, we would have 3650 GB just for one year.
A small correction - the stock market is open only about 250 days a year so with your calculations the raw data size will be 2500 GB. Still massive.
API only needed for live (incl. past day) and more convenient granular access/computations it seems.