Downloading stocks listed on Nasdaq

Discussion in 'App Development' started by gaihosa, Apr 20, 2019.

  1. gaihosa

    gaihosa

    I used to use this link https://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download to download a copy of all the listed stocks on the Nasdaq with some code I wrote. I was using curl in some c++ code but for some reason it no longer works. I am actually using QT and have already tried various QT classes but have no success.

    I was wondering if anyone could help with this.

    I even tried wget and curl from the command line it still doesn't work.

    Does work fine from any web browser.
     
  2. DaveV

    DaveV

  3. wget from command line seems to work fine:

    wget "https://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download" -0 x.csv

    Curl is also working fine.

    However if you are looking for "all the listed stocks on the NASDAQ," then you are not going to get that from the screener. The Naz screener output it incomplete. You are better off downloading the nightly nasdaqlisted file from the Nasdaq ftp site.

     
  4. d08

    d08

    Why not use this.
     
  5. Or use this: ftp://ftp.nasdaqtrader.com/SymbolDirectory/
     
  6. DaveV

    DaveV

    How did you find this link, and are there similar links available on nasdaqtrader.com ?
     
  7. gaihosa

    gaihosa

    I prefer the csv since it includes the IPO year. I only trade IPO stocks that are two years old or young. This is les work for maintaining a list.
     
  8. I think that the link was mentioned in another thread at ET, with the same question. But it was quite some time ago, so I’m not 100% sure.
     
  9. Can I ask what advantage you see in trading IPO stocks two years old or younger?
     
  10. DaveV

    DaveV

    #10     Apr 21, 2019