Template talk:New York Stock Exchange

Purpose
Provides a link based on an NYSE stock symbol, and automatically categorizes the page under Category:Companies listed on the New York Stock Exchange.

See also:
 * Template:Nyse2 (similar template, except without the auto-categorization)

How to use this template
Type the following, replacing XXXX with the company's stock symbol:


 * nyse: XXXX

Example

 * Royal Bank of Canada is a publically traded company ( nyse: RY, tsx: RY ).

Layout

 * Do NOT bold the ticker. - Jerryseinfeld 21:45, 18 Dec 2004 (UTC)
 * Do NOT put a space on either side of the colon . - Jerryseinfeld 22:22, 18 Dec 2004 (UTC)
 * You wanna update Nasdaq template to make it uniform?

Source
Why was the link changed from Yahoo to nyse.com? The information lacks. - Jerryseinfeld 21:47, 18 Dec 2004 (UTC)
 * Do you work for Yahoo!?
 * See Nasdaq template1 and Nasdaq template2.

Should template:nyse be used on NASDAQ-listed stocks?
There is a disagreement over whether Template:Nyse should be used on NASDAQ-listed stocks. Please see Template talk:Infobox Company. Rhobite 00:12, Apr 3, 2005 (UTC)

Short version?
Is there a "short version" of Template:Nyse, like Template:Ndaq for NASDAQ links instead of Template:Nasdaq? tregoweth 02:20, August 21, 2005 (UTC)


 * As per the precedent of Template:Nasdaq & Template:Ndaq, as well as Template:Tsx and Template:Tsx2, I have created Template:Nyse2 for use in instances when auto-categorization to Category:Companies traded on the New York Stock Exchange is not desirable. Kurieeto 23:52, 21 October 2005 (UTC)

Please do not remove the category from this template, it breaks hundreds of company articles. Use Template:Nyse2. Rhobite 15:10, 14 November 2005 (UTC)

Parentheses
I suggest that we do not include parentheses here, in order to better combine with similar templates. For example: (NYSE: SNE, TYO: 6758) Shawnc 15:35, 2 December 2005 (UTC)

Reason for bold?
If the reason is uniformity, then all the other ticker symbol templates should be changed so as not to be bold either. This makes the ticker symbol stand out inappropriately from the rest of the text. It is often a parenthetical addition and is by no means as as important as the leading line title, or defining a term in an article. If an editor wants it to be bold in one of the rare cases where it would be appropriate in an article, then that boldness can be formatted without including it in the template itself. -- Centrx 18:19, 5 June 2006 (UTC)


 * Totally for uniformity, I'm not particularly fussed whether they're bold or not, I just noticed on the HSBC article as 4 of the 5 listings have bold in their templates. All I would say is that they all should be the same either way. Ian3055 18:41, 6 June 2006 (UTC)
 * Agreed. Do you know if we could get a bot to do this, there are three or four dozen templates in Category:Ticker symbol templates... -- Centrx 22:42, 6 June 2006 (UTC)
 * I'm leaning towards unbolding them for the reasons given by Centrx. The most important thing is uniformity, of course. You could probably use something like AutoWikiBrowser to do this, but you may need a little regex knowledge. Rhobite 22:49, 6 June 2006 (UTC)

I have unbolded all of the templates. —Centrx→talk &bull; 04:18, 22 June 2006 (UTC)

Requested change
editprotected I don't think the protection icon template (pp-template) has been placed correctly here (inside the tag). It seems to be causing the padlock to appear at the top of all the pages on which it transcludes. Any chance it could be moved into the section? Gr1st (talk) 22:52, 18 July 2008 (UTC)
 * ✅ Done ---J.S (T/C/WRE) 00:04, 19 July 2008 (UTC)

Nyse → NYSE
Why the template called Nyse instead of NYSE? This is an abbreviation, isn`t it?--Александр Мотин (talk) 21:36, 28 March 2009 (UTC)
 * The template was created in 2004; that may have been before the software could handle multiple uppercase letters in titles. You'll see a lot of articles about "John smith" from that era, too.  WhatamIdoing (talk) 00:35, 12 May 2009 (UTC)

Docs?
Can we please have

added to the end of this template? (Per Template:Documentation, there should be no space between the end of the NYSE template and the noinclude codes here.) The doc page exists. WhatamIdoing (talk) 00:33, 12 May 2009 (UTC)
 * ✅ and moved all the interwiki stuff over there. &mdash; Martin (MSGJ · talk) 05:27, 12 May 2009 (UTC)

Template adding non-article pages into article category
This template is adding non-article pages into Category:Companies listed on the New York Stock Exchange - please add a main other template to prevent this, as I have done in other similar templates, for example Template:Lse). snigbrook (talk) 19:39, 27 March 2010 (UTC)
 * ✅ &mdash; Martin (MSGJ · talk) 08:44, 28 March 2010 (UTC)

Catalan
Please, somebody add ca:Plantilla:NYSE. Thanks. - Al Lemos (talk) 15:45, 11 April 2010 (UTC)

Use this URL instead
The URL currently in use by this template assumes that the stock symbol entered is correct. We should use NYSE's own quote-search engine instead, so in the worst case when the stock symbol doesn't exist or there are multiple possibilities, NYSE will return the alternatives instead of returning you to the wrong stock or a non-existent page.

So, replace the following:

http://www.nyse.com/about/listed/.html

With the following:

http://www.nyse.com/about/listed/quickquote.html?ticker=

Gary King ( talk ) 21:43, 3 June 2010 (UTC)
 * ✅. Did that work? HJ Mitchell  &#124;  Penny for your thoughts?   23:04, 3 June 2010 (UTC)
 * No. You removed the text for the link. Just follow the instructions above exactly, and the {{uc: won't be removed. Gary King  ( talk ) 00:02, 4 June 2010 (UTC)
 * Any better? HJ Mitchell  &#124;  Penny for your thoughts?   00:09, 4 June 2010 (UTC)
 * Okay good Gary King  ( talk ) 00:13, 4 June 2010 (UTC)

Multiple stocks on the same exchange
Many companies like Berkshire Hathaway, have different classes of stock on the same exchange. Instead of listing the exchange twice, can we modify the template to accept two or three symbols?

e.g. (nyse: BRK.A BRK.B to output (NYSE: BRK.A, BRK.B). Here is the code: Thanks--Svgalbertian (talk) 22:11, 9 October 2010 (UTC)
 * Sounds reasonable. I suppose the alternative is typing ? &mdash; Martin (MSGJ · talk) 10:42, 10 October 2010 (UTC)
 * Yeap, that is the method currently used.--Svgalbertian (talk) 16:12, 10 October 2010 (UTC)
 * One thing that worries me is that if we code that on this template, people may begin to expect other templates to behave like this, which may lead to some confusion. &mdash; Martin (MSGJ · talk) 17:16, 10 October 2010 (UTC)

No that it's a big deal but is more efficient in most cases. Rich Farmbrough, 17:25, 10 October 2010 (UTC).


 * Seems fine to leave it the way it is. I agree that we'd then have to bring similar templates in line with this one if it's updated. Gary King  ( talk  ·  scripts )  23:39, 10 October 2010 (UTC)
 * Requested deactivated for now. &mdash; Martin (MSGJ · talk) 12:03, 12 October 2010 (UTC)

Current practice is to do the following: (nyse: BRK.A, ) to produce identical results --Svgalbertian (talk) 15:09, 16 March 2014 (UTC)

Current URL Can't handle periods
Examples:
 * Royal Dutch Shell: nyse: RDS.A vs nyse: RDSA
 * Berkshire Hathaway: nyse: BRK.B vs nyse: BRKB

To me there are two possible solutions

a) Use this URL instead as it can handle it. e.g. http://www.nyse.com/about/listed/quickquote.html?ticker=

b) Strip the periods ourselves: [http://www.nyse.com/about/listed/lcddata.html?ticker=

The downfall to A is it adds a redirect for the user. The downfall to B is that it is more processing on the Wikipedia server side. I recommend B as the impact should be small. --Svgalbertian (talk) 15:06, 16 March 2014 (UTC)
 * Yes check.svg Done with option A. Jackmcbarn (talk) 17:18, 16 March 2014 (UTC)

Stopped work
It throws "Your search "quickquote" did not match any pages. Try using broader keywords or phrases." Seems "quickquote.html" is gone. --fireattack (talk) 21:11, 25 June 2014 (UTC)


 * Fixed, although the fix is to a beta page so it might stop working eventually.--Svgalbertian (talk) 03:26, 26 June 2014 (UTC)

Can this template be used for indices?
If I want to link to e.g. the NYSE Composite index, this template will not work: nyse: NYA (correct link). Is there a way to use this template anyway? Or do I need to manually use the URL? Lonaowna (talk) 14:40, 9 November 2016 (UTC)

Multiple Symbols, like the TSX's template
I propose a version of this template that allows multiple symbols so we don't have to use anymore. This has been done with the TSX's template already. Omegatiger121 (talk) 23:36, 11 December 2016 (UTC)