{"id":261,"date":"2014-02-10T22:52:19","date_gmt":"2014-02-10T20:52:19","guid":{"rendered":"https:\/\/urosevic.net\/wordpress\/?page_id=261"},"modified":"2026-03-10T16:46:28","modified_gmt":"2026-03-10T15:46:28","slug":"stock-ticker","status":"publish","type":"page","link":"https:\/\/urosevic.net\/wordpress\/plugins\/stock-ticker\/","title":{"rendered":"Stock Ticker"},"content":{"rendered":"\n<p><strong>Stock Ticker<\/strong> is a WordPress extension that helps you easily display ticker tape with stock price information with data provided by AlphaVantage.co.<\/p>\n\n\n<div class=\"callout callout-info\">If you need fully customized functionality of stock ticker (like <a title=\"Share Price - custom functionality based on Stock Ticker\" class=\"callout-link\" href=\"\/wordpress\/plugins\/stock-ticker\/share-price\/\">Share Price<\/a> or <a title=\"custom functionality based on Stock Ticker and data from CSV file\" class=\"callout-link\" href=\"\/wordpress\/plugins\/stock-ticker\/stock-ticker-fmdqotc\/\">Stock Ticker FMDQ OTC<\/a>), feel free to <a class=\"callout-link\" href=\"\/wordpress\/contact\/?subject=Quote for Custom WP Plugin\">contact me<\/a>.<\/div>\n\n\n\n<p><strong>Jump to<\/strong>: <a href=\"#features\">Features<\/a> | <a href=\"#download\">Download<\/a> | <a href=\"#secuity\" title=\"Security\">Security<\/a> | <a href=\"#install\">Installation<\/a> | <a href=\"#markets\">Markets<\/a> |\u00a0<a href=\"#usage\">Usage<\/a> | <a href=\"https:\/\/wordpress.org\/plugins\/stock-ticker\/#faq\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">FAQ<\/a> | <a href=\"#customize\">Customize<\/a> | <a href=\"#screenshots\" title=\"\">Screenshots<\/a> | <a href=\"#support\" title=\"\">Support<\/a><\/p>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"features\">Features<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set a global set of symbols you\u2019ll use site-wide<\/li>\n\n\n\n<li>Configure the default set of stock symbols that will be displayed in the ticker inserted by the empty shortcode<\/li>\n\n\n\n<li>Configure the default presence of the company as a Company Name or as a Stock Symbol<\/li>\n\n\n\n<li>Configure colours for the unchanged quote, negative and positive changes with a colour picker<\/li>\n\n\n\n<li>Disable the scrolling ticker and make it static<\/li>\n\n\n\n<li>Define custom names for companies to be used instead of the symbols<\/li>\n\n\n\n<li>Define custom elements as a part of visible value<\/li>\n<\/ul>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"download\">Download<\/h2>\n\n\n\n<p>Download the plugin below or visit the official WordPress page for <a href=\"https:\/\/wordpress.org\/plugins\/stock-ticker\/\" target=\"_blank\" rel=\"noopener noreferrer\">Stock Ticker<\/a>, or the official GitHub page <a href=\"https:\/\/github.com\/urosevic\/stock-ticker\" target=\"_blank\" rel=\"noreferrer noopener\">github.com\/urosevic\/stock-ticker<\/a><\/p>\n\n\n<div class='audd'><div class='row'><div class='item_1 col-md-12 col-sm-12 col-xs-12'><!-- AUDD Link Template: Default Template 2025 -->\n<section class=\"audd-link-tpl-2025 default\">\n\t<header>\n\t\t<h3 class=\"title\">Stock Ticker <span title=\"version\">v3.24.6<\/span><\/h3>\n\t\t<h4 class=\"file-size\" title=\"File Size\">72 KB<\/h4>\n\t<\/header>\n\t<summary>\n\t\t<ul>\n<li>Fix: Stored Cross-Site Scripting discovered by Dale Mavers via Wordfence<\/li>\n<li>Change: Code simplification<\/li>\n<li>Tested: WordPress 6.5.5 with Twenty Twenty-Four 1.1 and PHP 8.3.7<\/li>\n<\/ul>\n\n\t<\/summary>\n\t<footer>\n\t\t<a class='dld-link  wp-block-button__link wp-element-button' rel='nofollow' href='#' data-no-instant data-audddl=\"2829\">Download<\/a>\n\t\t<span class=\"count\">Downloaded 78 times<\/span>\n\t<\/footer>\n<\/section>\n<\/div><\/div><div style='clear:both'><\/div><\/div>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"security\">Security<\/h2>\n\n\n\n<p>We are doing our best to keep the plugin secure and patched for discovered vulnerabilities.<\/p>\n\n\n\n<p>You can check the Stock Ticker page on <a href=\"https:\/\/www.wordfence.com\/threat-intel\/vulnerabilities\/wordpress-plugins\/stock-ticker\" target=\"_blank\" rel=\"noopener\" title=\"\">Wordfence Intelligence<\/a> and <a href=\"https:\/\/patchstack.com\/database\/vulnerability\/stock-ticker\" target=\"_blank\" rel=\"noopener\" title=\"\">Patchstack<\/a>.<\/p>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install\">Installation<\/h2>\n\n\n\n<p>Easy install Stock Ticker as any other ordinary WordPress plugin<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Plugins<\/strong> &#8211;&gt; <strong>Add New<\/strong><\/li>\n\n\n\n<li>Search for the <strong>Stock Ticker<\/strong> plugin<\/li>\n\n\n\n<li>Install and activate <strong>Stock Ticker<\/strong><\/li>\n\n\n\n<li>Get a free API Key from <a href=\"https:\/\/www.alphavantage.co\/support\/#api-key\" target=\"_blank\" rel=\"noopener noreferrer\">AlphaVantage.co<\/a><\/li>\n\n\n\n<li>In WordPress Dashboard go to <strong>Settings<\/strong> &#8211;&gt; <strong>Stock Ticker<\/strong><\/li>\n\n\n\n<li>Enter AlphaVantage.co API Key&nbsp;Alpha Vantage API Key you got in the previous step (<a href=\"https:\/\/goo.gl\/3PKxLM\">check this screenshot<\/a>)<\/li>\n\n\n\n<li>To the field <strong>All Stock Symbols<\/strong> enter all stock symbols you\u2019ll use on the website, separated by a comma. This field is used to fetch stock data from AlphaVantage.co API by AJAX in the background. Because AV has only API to get data for a single symbol, that can take a while to get. Please note, that for default symbols we still have the field in the Default Settings section of the plugin.<\/li>\n\n\n\n<li>Enable <strong>Auto Refresh<\/strong> option because on the first load if we do not have data downloaded from AlphaVantage.co they will be loaded through AJAX after a while.<\/li>\n\n\n\n<li>Insert shortcode <code>&lbrack;stock_ticker&rbrack;<\/code> to page or post, or <strong>Stock Ticker<\/strong> Widget to preferred Widget Area<\/li>\n<\/ol>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Supported Stock Exchange Markets<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>BOM<\/strong>&nbsp;\u2013 Bombay Stock Exchange<\/li>\n\n\n\n<li><strong>TSE<\/strong>&nbsp;\u2013 Canadian\/Toronto Securities Exchange<\/li>\n\n\n\n<li><strong>FRA<\/strong>&nbsp;\u2013 Deutsche Boerse Frankfurt Stock Exchange<\/li>\n\n\n\n<li><strong>ETR<\/strong>&nbsp;\u2013 Deutsche Boerse Frankfurt Stock Exchange<\/li>\n\n\n\n<li><strong>AMS<\/strong>&nbsp;\u2013 Euronext Amsterdam<\/li>\n\n\n\n<li><strong>EBR<\/strong>&nbsp;\u2013 Euronext Brussels<\/li>\n\n\n\n<li><strong>ELI<\/strong>&nbsp;\u2013 Euronext Lisbon<\/li>\n\n\n\n<li><strong>EPA<\/strong>&nbsp;\u2013 Euronext Paris<\/li>\n\n\n\n<li><strong>LON<\/strong>&nbsp;\u2013 London Stock Exchange<\/li>\n\n\n\n<li><strong>NASDAQ<\/strong>&nbsp;\u2013 NASDAQ Exchange<\/li>\n\n\n\n<li><strong>CPH<\/strong>&nbsp;\u2013 NASDAQ OMX Copenhagen<\/li>\n\n\n\n<li><strong>HEL<\/strong>&nbsp;\u2013 NASDAQ OMX Helsinki<\/li>\n\n\n\n<li><strong>ICE<\/strong>&nbsp;\u2013 NASDAQ OMX Iceland<\/li>\n\n\n\n<li><strong>NYSE<\/strong>&nbsp;\u2013 New York Stock Exchange<\/li>\n\n\n\n<li><strong>SHA<\/strong>&nbsp;\u2013 Shanghai Stock Exchange<\/li>\n\n\n\n<li><strong>SHE<\/strong>&nbsp;\u2013 Shenzhen Stock Exchange<\/li>\n\n\n\n<li><strong>TPE<\/strong>&nbsp;\u2013 Taiwan Stock Exchange<\/li>\n\n\n\n<li><strong>TYO<\/strong>&nbsp;\u2013 Tokyo Stock Exchange<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Not supported Stock Exchange Markets<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>MCX<\/strong>&nbsp;\u2013 Moscow Exchange (since December 2018) \u2013 eg.&nbsp;<code>MCX:GAZP<\/code><\/li>\n\n\n\n<li><strong>ASX<\/strong>&nbsp;\u2013 Australian Securities Exchange (<a href=\"https:\/\/twitter.com\/moinzaman\/status\/1262522914227712000\">since since May 2020<\/a>) \u2013 eg.&nbsp;<code>ASX:MSB<\/code><\/li>\n\n\n\n<li><strong>SGX<\/strong>&nbsp;\u2013 Singapore Exchange (<a href=\"https:\/\/kpo-and-czm.blogspot.com\/2017\/11\/bye-yahoo-finance-hi-alpha-vantage.html?showComment=1596075191464#c3946519402226422619\">since July 13th 2020<\/a>) \u2013 eg.&nbsp;<code>C29.SI<\/code><\/li>\n\n\n\n<li><strong>NSE<\/strong>&nbsp;\u2013 National Stock Exchange of India (<a href=\"https:\/\/twitter.com\/sachinmankapure\/status\/1279794312210010114\">since July 2020<\/a>) \u2013 eg.&nbsp;<code>NSE:VB<\/code><\/li>\n\n\n\n<li><strong>STO<\/strong>&nbsp;\u2013 NASDAQ OMX Stockholm (since October 2021) \u2013 eg.&nbsp;<code>STO:ATCO-A<\/code><\/li>\n\n\n\n<li><strong>BIT<\/strong>&nbsp;\u2013 Borsa Italiana Milan Stock Exchange (<a href=\"https:\/\/wordpress.org\/support\/topic\/bit-not-working\/\">since December 2023<\/a>) \u2013 eg.&nbsp;<code>BIT:OLI<\/code><\/li>\n<\/ul>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"usage\">Usage<\/h2>\n\n\n\n<p>First of all, define the basic settings for the plugin on <strong>Settings<\/strong> &#8211;&gt; <strong>Stock Ticker<\/strong> page. There you can set:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Single or list of stock symbols separated by comma (example: GOOG,YHOO,MSFT,AAPL).<\/li>\n\n\n\n<li>How the company will be presented on the ticker (as the company name or as a stock symbol).<\/li>\n\n\n\n<li>Colour for unchanged quote, negative change and positive change.<\/li>\n\n\n\n<li>Custom names for symbols that will be used (example: &#8220;Cisco Systems Inc.&#8221;). Single symbol per line in format SYMBOL;CUSTOM_NAME (symbol and name separated with the semicolon).<\/li>\n\n\n\n<li>Cache timeout for caching feeds (prevent slow website load when you have huge traffic).<\/li>\n\n\n\n<li>The custom error message will be displayed instead of quotes in the ticker when the app fails to load quotes.<\/li>\n\n\n\n<li>Custom CSS style for ticker item (font family, font size, font weight).<\/li>\n<\/ul>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Then you can insert the ticker as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>shortcode <code>[stock_ticker]<\/code>&nbsp;on post or page<\/li>\n\n\n\n<li>widget to the preferred widget area<\/li>\n\n\n\n<li>by inserting PHP code into the theme file<br><code>&lt;?php echo do_shortcode(\"[stock_ticker]\"); ?&gt;<\/code><\/li>\n<\/ul>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"customize\">Customize<\/h2>\n\n\n\n<p>For both the shortcode and the widget, you can additionally customize and use multiple instances with a different set of stock symbols and quote colours.<\/p>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"shortcode\">Shortcode<\/h3>\n\n\n\n<p>Shortcode supports the same parameters as default settings and the widget. Full syntax example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;&#091;stock_ticker symbols=\"IBM,CSCO,AAPL,INTC\" show=\"symbol\" static=\"0\"]]<\/code><\/pre>\n\n\n\n<p>So, the available parameters are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>symbols<\/code>&nbsp;\u2013 string with a single or comma-separated array of stock symbols<\/li>\n\n\n\n<li><code>show<\/code>&nbsp;\u2013 string that defines how the company will be represented on the ticker; can be&nbsp;<code>name<\/code>&nbsp;for Company Name, or&nbsp;<code>symbol<\/code>&nbsp;for Stock Symbol<\/li>\n\n\n\n<li><code>number_format<\/code>&nbsp;\u2013 override default number format for values (default from this settings page used if no custom set by shortcode). Valid options are:&nbsp;<code>cd<\/code>&nbsp;for&nbsp;<em>0.000,00<\/em>;&nbsp;<code>dc<\/code>&nbsp;for&nbsp;<em>0,000.00<\/em>;&nbsp;<code>sd<\/code>&nbsp;for&nbsp;<em>0 000.00<\/em>&nbsp;and&nbsp;<code>sc<\/code>&nbsp;for&nbsp;<em>0 000,00<\/em><\/li>\n\n\n\n<li><code>decimals<\/code>&nbsp;\u2013 override the default number of decimal places for values (default from this settings page used if no custom is set by shortcode). Valid values are:&nbsp;<code>1<\/code>,&nbsp;<code>2<\/code>,&nbsp;<code>3<\/code>&nbsp;and&nbsp;<code>4<\/code><\/li>\n\n\n\n<li><code>static<\/code>&nbsp;\u2013 (boolean) to enable static unordered list instead of scrolling ticker set to&nbsp;<code>1<\/code>&nbsp;or&nbsp;<code>true<\/code><\/li>\n\n\n\n<li><code>prefill<\/code>&nbsp;\u2013 (boolean) to start with pre-filled instead of empty ticker set to&nbsp;<code>1<\/code>&nbsp;or&nbsp;<code>true<\/code><\/li>\n\n\n\n<li><code>duplicate<\/code>&nbsp;\u2013 (boolean) if there are fewer items than visible on the ticker, set this to&nbsp;<code>1<\/code>&nbsp;or&nbsp;<code>true<\/code>&nbsp;to make it continuous<\/li>\n\n\n\n<li><code>speed<\/code>&nbsp;\u2013 (integer) tune speed of StockTicker block rendered by shortcode<\/li>\n\n\n\n<li><code>class<\/code>&nbsp;\u2013 customize block look and feel set custom CSS class (optional)<\/li>\n<\/ul>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"widget\">Widget<\/h3>\n\n\n\n<p>The multi-instance widget can be re-configured with all settings available for default plugin settings. So, you can (again) set individual:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>stock symbols<\/li>\n\n\n\n<li>how will the company be represented (as name or stock symbol)<\/li>\n\n\n\n<li>colour for the unchanged quote, negative and positive change<\/li>\n\n\n\n<li>make ticker static (or not)<\/li>\n<\/ul>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"screenshots\">Screenshots<\/h2>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/urosevic.net\/wordpress\/wp-content\/uploads\/2017\/12\/stock-ticker-settings-300.png\"><img loading=\"lazy\" decoding=\"async\" width=\"333\" height=\"1024\" data-id=\"1851\" src=\"https:\/\/urosevic.net\/wordpress\/wp-content\/uploads\/2017\/12\/stock-ticker-settings-300-333x1024.png\" alt=\"Stock Ticker v3.0.0 - Settings\" class=\"wp-image-1851\" srcset=\"https:\/\/urosevic.net\/wordpress\/wp-content\/uploads\/2017\/12\/stock-ticker-settings-300-333x1024.png 333w, https:\/\/urosevic.net\/wordpress\/wp-content\/uploads\/2017\/12\/stock-ticker-settings-300-202x620.png 202w, https:\/\/urosevic.net\/wordpress\/wp-content\/uploads\/2017\/12\/stock-ticker-settings-300.png 1116w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/a><figcaption class=\"wp-element-caption\">Stock Ticker v3.0.0 \u2013 Settings<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/urosevic.net\/wordpress\/wp-content\/uploads\/2017\/12\/stock-ticker-widget-300.png\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"682\" data-id=\"1853\" src=\"https:\/\/urosevic.net\/wordpress\/wp-content\/uploads\/2017\/12\/stock-ticker-widget-300.png\" alt=\"\" class=\"wp-image-1853\" srcset=\"https:\/\/urosevic.net\/wordpress\/wp-content\/uploads\/2017\/12\/stock-ticker-widget-300.png 440w, https:\/\/urosevic.net\/wordpress\/wp-content\/uploads\/2017\/12\/stock-ticker-widget-300-400x620.png 400w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/a><figcaption class=\"wp-element-caption\">Stock Ticker v3.0.0 Widget Settings<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"yoursupport\">Support<\/h2>\n\n\n\n<p>If you have any questions regarding the Stock Ticker plugin, feel free to raise a new topic on the official <a href=\"https:\/\/wordpress.org\/support\/plugin\/stock-ticker\/\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">Stock Ticker Community Forum<\/a>.<\/p>\n\n\n\n<p>Spread voice about Stock Ticker on social networks and <a href=\"https:\/\/wordpress.org\/support\/plugin\/stock-ticker\/reviews\/\" target=\"_blank\" rel=\"noopener\" title=\"\">rate and review<\/a> on WordPress.org<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Stock Ticker is extension for WordPress that help you to easy display ticker tape with stock prices information with data provided by Alpha Vantage.<\/p>\n","protected":false},"author":1,"featured_media":661,"parent":15,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-261","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages\/261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/comments?post=261"}],"version-history":[{"count":62,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages\/261\/revisions"}],"predecessor-version":[{"id":3124,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages\/261\/revisions\/3124"}],"up":[{"embeddable":true,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/pages\/15"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/media\/661"}],"wp:attachment":[{"href":"https:\/\/urosevic.net\/wordpress\/wp-json\/wp\/v2\/media?parent=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}