# Stock market company codes?

**URL:** <https://www.ruby-forum.com/t/stock-market-company-codes/134379>\
**Category:** Deployment\
**Created:** [April 10, 2008, 11:13am UTC](https://www.ruby-forum.com/t/stock-market-company-codes/134379 "2008-04-10T11:13:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [April 10, 2008, 11:13am UTC](https://www.ruby-forum.com/t/stock-market-company-codes/134379/1 "2008-04-10T11:13:49Z")

</div>

hi i’m building a little app to return the stock prices for companies  
using their company codes, e.g. Google Corp =\> GOOG

All going good, but the major problem stopping me is getting a list of  
all possible company stock codes?

at the moment i’ve just got MSFT (microsoft) and APPL (Apple Corp) +  
Google.

Anyone know where to get some more?

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [April 18, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/stock-market-company-codes/134379/2 "2008-04-18T17:20:42Z")

</div>

try these  
[http://www.nyse.com/about/listed/lc\_A.html?ListedComp=All](http://www.nyse.com/about/listed/lc_A.html?ListedComp=All)  
[http://www.nasdaq.com/asp/symbols.asp](http://www.nasdaq.com/asp/symbols.asp)

> **[Category:Companies listed on the London Stock Exchange](https://en.wikipedia.org/wiki/Category:Companies_listed_on_the_London_Stock_Exchange)**
>
> This category contains articles about companies listed on the London Stock Exchange, which is the main stock exchange in the United Kingdom. Most of them are based in the United Kingdom, but some are based in other countries. The non-British companies on the exchange often have their primary listing on another exchange and a secondary listing in London.
> This category has the following 11 subcategories, out of 11 total.
> The following 200 pages are in this category, out of approximately 534 total...

> **[List of stock exchanges](https://en.wikipedia.org/wiki/List_of_stock_exchanges)**
>
> This is a list of major stock exchanges. Those futures exchanges that also offer trading in securities besides trading in futures contracts are listed both here and in the list of futures exchanges.
> There are seventeen stock exchanges in the world that have a market capitalization of over US$1 trillion each. They are sometimes referred to as the "$1 Trillion Club". These exchanges accounted for 87% of global market capitalization in 2016. Some exchanges do include companies from outside the coun...

> **[Companies listed on the New York Stock Exchange (A)](https://en.wikipedia.org/wiki/Companies_listed_on_the_New_York_Stock_Exchange_%28A%29)**
>
> 0–9 -
> A -
> B -
> C -
> D -
> E -
> F -
> G -
> H -
> I -
> J -
> K -
> L -
> M -
> N -
> O -
> P -
> Q -
> R -
> S -
> T -
> U -
> V -
> W -
> X -
> Y -
> Z

am I on the right track?

On Thu, Apr 10, 2008 at 5:13 PM, John G. \<

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [April 18, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/stock-market-company-codes/134379/3 "2008-04-18T17:30:45Z")

</div>

nice, thanks for those, will see what i can cobble together.

actually found a load on Yahoo’s site but they weren’t that easy to  
scrape off their website, these may be a little easier.

appreciated and have a great weekend,

John.
