Here's a first attempt at finding all of the securities available in the Quantopian database, using the research platform. I assume that the id's fall in the range of 0 to 99,999 (valid?).
The idea is to then use this master list for screening.
Here's a first attempt at finding all of the securities available in the Quantopian database, using the research platform. I assume that the id's fall in the range of 0 to 99,999 (valid?).
The idea is to then use this master list for screening.
Can you call set_universe() or get_fundamentals() in Research?
The range() approach seems too much brute-force.
I don't see the helper function, set_universe(), available, but it appears that one could just write a version. Regarding fundamentals, I think I read somewhere that it's not available yet in research.
I don't have access to Research, by looping five times (two set_universe at time) I got this list.
Those are 7419 so a loop on range(100000) is pretty inefficient, OTOH you only need to evaluate the list once (or a couple times a year) anyway so it doesn't really make a difference