Template talk:New York Stock Exchange

Latest comment: 7 years ago by Omegatiger121 in topic Multiple Symbols, like the TSX's template

Purpose

edit

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

edit

Type the following, replacing XXXX with the company's stock symbol:

{{nyse|XXXX}}

Example

edit
[[Royal Bank of Canada]] is a publically traded company ( {{nyse|RY}}, {{tsx|RY}} ).

Discussions

edit

Layout

edit
  • 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)

Source

edit

Why was the link changed from Yahoo to nyse.com? The information lacks. - Jerryseinfeld 21:47, 18 Dec 2004 (UTC)

Should template:nyse be used on NASDAQ-listed stocks?

edit

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?

edit

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)Reply

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)Reply

Parentheses

edit

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)Reply

Reason for bold?

edit

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)Reply

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)Reply
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)Reply
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 Wikipedia:AutoWikiBrowser to do this, but you may need a little regex knowledge. Rhobite 22:49, 6 June 2006 (UTC)Reply

I have unbolded all of the templates. —Centrxtalk • 04:18, 22 June 2006 (UTC)Reply

Requested change

edit

{{editprotected}} I don't think the protection icon template ({{pp-template}}) has been placed correctly here (inside the <includeonly> 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 <noinclude> section? Gr1st (talk) 22:52, 18 July 2008 (UTC)Reply

 Y Done ---J.S (T/C/WRE) 00:04, 19 July 2008 (UTC)Reply

Nyse → NYSE

edit

Why the template called Nyse instead of NYSE? This is an abbreviation, isn`t it?--Александр Мотин (talk) 21:36, 28 March 2009 (UTC)Reply

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)Reply

Docs?

edit

{{editprotected}} Can we please have

<noinclude>{{Documentation}}</noinclude>

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)Reply

  Done and moved all the interwiki stuff over there. — Martin (MSGJ · talk) 05:27, 12 May 2009 (UTC)Reply

Template adding non-article pages into article category

edit

{{editprotected}} 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)Reply

  Done — Martin (MSGJ · talk) 08:44, 28 March 2010 (UTC)Reply

Catalan

edit

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

Use this URL instead

edit

{{editprotected}}

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/{{lc: {{{1}}} }}.html

With the following:

http://www.nyse.com/about/listed/quickquote.html?ticker={{lc: {{{1}}} }}

Gary King (talk) 21:43, 3 June 2010 (UTC)Reply

  Done. Did that work? HJ Mitchell | Penny for your thoughts? 23:04, 3 June 2010 (UTC)Reply
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)Reply
Any better? HJ Mitchell | Penny for your thoughts? 00:09, 4 June 2010 (UTC)Reply
Okay good Gary King (talk) 00:13, 4 June 2010 (UTC)Reply

Multiple stocks on the same exchange

edit

{{editprotected}} 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 (NYSEBRK.A, BRK.B). Here is the code:

{{#if:{{{2|}}}|, [http://www.nyse.com/about/listed/quickquote.html?ticker={{lc: {{{2}}} }} {{uc: {{{2}}} }}]}}
{{#if:{{{3|}}}|, [http://www.nyse.com/about/listed/quickquote.html?ticker={{lc: {{{3}}} }} {{uc: {{{3}}} }}]}}

Thanks--Svgalbertian (talk) 22:11, 9 October 2010 (UTC)Reply

Sounds reasonable. I suppose the alternative is typing {{NYSE|BRK.A}}{{NYSE|BRK.B}}? — Martin (MSGJ · talk) 10:42, 10 October 2010 (UTC)Reply
Yeap, that is the method currently used.--Svgalbertian (talk) 16:12, 10 October 2010 (UTC)Reply
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. — Martin (MSGJ · talk) 17:16, 10 October 2010 (UTC)Reply

No that it's a big deal but

{{#if:{{{2|}}}|, [http://www.nyse.com/about/listed/quickquote.html?ticker={{lc: {{{2}}} }} {{uc: {{{2}}} }}]
{{#if:{{{3|}}}|, [http://www.nyse.com/about/listed/quickquote.html?ticker={{lc: {{{3}}} }} {{uc: {{{3}}} }}]}}}}

is more efficient in most cases. Rich Farmbrough, 17:25, 10 October 2010 (UTC).Reply

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)Reply
Requested deactivated for now. — Martin (MSGJ · talk) 12:03, 12 October 2010 (UTC)Reply

  Request withdrawn Current practice is to do the following: ({{NYSE|BRK.A}}, {{NYSE link|BRK.B}}) to produce identical results --Svgalbertian (talk) 15:09, 16 March 2014 (UTC)Reply

Current URL Can't handle periods

edit

Examples:

To me there are two possible solutions

a) Use this URL instead as it can handle it. e.g. [1]

http://www.nyse.com/about/listed/quickquote.html?ticker={{lc: {{{1}}} }}

b) Strip the periods ourselves:

[http://www.nyse.com/about/listed/lcddata.html?ticker={{lc: {{Replace|{{{1}}}|.|}} }}

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)Reply

  Done with option A. Jackmcbarn (talk) 17:18, 16 March 2014 (UTC)Reply

Stopped work

edit

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)Reply

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

Can this template be used for indices?

edit

If I want to link to e.g. the NYSE Composite index, this template will not work: NYSENYA (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)Reply

Multiple Symbols, like the TSX's template

edit

I propose a version of this template that allows multiple symbols so we don't have to use {{Template:NyseSymbol}} anymore. This has been done with the TSX's template ({{Template:TSX|ABC.A|ABC.B}}) already. Omegatiger121 (talk) 23:36, 11 December 2016 (UTC)Reply