The BATS Exchange offers a nice download of all the stock symbols they offer. They have both CSV and XML downloads you can use to get the data. Here are the URL's:
Bats Exchange Symbol Download (CSV)
Bats Exchange Symbol Download (XML)

<br>1<br><br>2<br><br>3<br><br>4<br><br>5<br><br>6<br><br>7<br><br>8<br><br>9<br><br>10<br><br>11<br>string<br> <br>url =<br> <br>"<br>http://www.batstrading.com/market_data/symbol_listing/xml/<br>"<br>;<br><br> <br><br>XDocument doc = XDocument.Load(url);<br><br> <br><br>var symbols = from s<br> <br>in<br> <br>doc.Root.Element(<br>"symbols"<br>).Elements(<br>"symbol"<br>)<br><br>                <br>select<br> <br>new<br> <br>{Name = s.Attribute(<br>"name"<br>).Value};<br><br>             <br><br>foreach<br> <br>(var symbol<br> <br>in<br> <br>symbols)<br><br>{<br><br>    <br>Console.WriteLine(symbol.Name);<br><br>}<br>


2
3
4
5
6
7
8
9
10
11
string url = "http://www.batstrading.com/market_data/symbol_listing/xml/";
 
XDocument doc = XDocument.Load(url);
 
var symbols = from s in doc.Root.Element("symbols").Elements("symbol")
                select new {Name = s.Attribute("name").Value};
             
foreach (var symbol in symbols)
{
    Console.WriteLine(symbol.Name);
}

From &lt;http://www.jarloo.com/download-stock-symbols/>

Built with LogoFlowershow