Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How to get list of stocks with the ability to query for monthly return and ME

Hi,
I'm newbie to Python & Quantopian, I'm struggling to figure out how to code this (my mind set is plain old Java + data in CSV's...):

  1. Get list of all NYSE+NASDAQ stocks traded on some historical date, for example 1.1.2000
  2. Iterate over the list every month up to date & Being able to get for each stock:
    a. check if the stock is still traded - "filter for NULL's in the data"
    b. monthly return
    c. fundamental data - market size (ME)
    d. (... My own compute logic with the data)

Where I can find samples/examples for such code? It seems to me something very basic & popular but somehow with all the pipeline etc. I'm struggling to figure it out.

Thanks a lot!