Stock Ticker

plugin banner

Easy display ticker tape with stock prices information with data provided by Yahoo Finance.

Author:Aleksandar Urošević (profile at wordpress.org)
WordPress version required:4.9
WordPress version tested:6.4.2
Plugin version:3.23.5
Added to WordPress repository:11-02-2014
Last updated:16-12-2023
Rating, %:88
Rated by:21
Plugin URI:https://urosevic.net/wordpress/plugins/stock-...
Total downloads:123 723
Active installs:3 000+
plugin download
Click to start download

A simple and easy configurable plugin for WordPress that allows you to insert stock ticker with stock price information to posts, pages, widgets or even to template files. Insertion is enabled by shortcode or multi instance widget.

Please note, stock data has been provided by Alpha Vantage which does not support indexes since mid-2020!

Stock Ticker is advanced variation of Stock Quote plugin.

Multisite WordPress is not supported yet

IMPORTANT Stock Ticker does not have own Gutenberg Block, so you can use Shortcode Block or Common Block to insert Stock Ticker within the post/page content.

Disclaimer

All stock data used in Stock Ticker is provided by Alpha Vantage, displayed for informational and educational purposes only and should not be considered as investment advise.

Since end of year 2023 AlphaVantage limited Free API tier to 25 requests per day.

Author of the Stock Ticker plugin does not accept liability or responsibility for your use of plugin, including but not limited to trading and investment results. Along to that, author of Stock Ticker plugin can not guarantee that stock prices are always accurate as they are provided by 3rd party service for free.

Features

  • Set global set of symbols you’ll use site-wide
  • Configure default set of stock symbols that will be displayed in ticker inserted by empty shortcode
  • Configure default presence of company as Company Name or as Stock Symbol
  • Configure colours for unchanged quote, negative and positive changes with colour picker
  • Disable scrolling ticker and make it static
  • Define custom names for companies to be used instead of the symbols
  • Define custom elements as a part of visible value
  • Optional (BETA) Intraday time series for equity. Known issues because of 15min timeframe: RANGE and VOLUME are wrong. Because indexes does not have VOLUME, so for indexes and currencies TIME_SERIES_DAILY will be used

You can set custom template for visible change value. Default format is %company% %price% %change% %changep%. As a macro keywords you can use:

  • %exch_symbol% – Symbol with exchange, like NASDAQ:AAPL
  • %symbol% – Company symbol, like AAPL
  • %company% – Company name after filtered by custom names, like Apple Inc.
  • %price% – Price value, like 125.22
  • %change% – Change value, like -5.53
  • %changep% – Change percentage, like -4.23%
  • %ltrade% – Last trade day (like 2020-09-25), which can be followed by the PHP date format to customize date output, separate by pipe character, eg. |l, jS \of F Y

For feature requests or help send feedback or use official WordPress support forum.

How To Use

You can add Stock Ticker to posts, pages or widgets by shortcode or widget (Appearance -> Widgets).

Shortcode

Use simple shortcode [stock_ticker] without any parameter in post or page, to display ticker with default settings. You can tweak single shortcode with parameters:

  • symbols – string with single or comma separated array of stock symbols
  • show – string that define how will company be represent on ticker; can be name for Company Name, or symbol for Stock Symbol
  • number_format – override default number format for values (default from this settings page used if no custom set by shortcode). Valid options are: cd for 0.000,00; dc for 0,000.00; sd for 0 000.00 and sc for 0 000,00
  • decimals – override default number of decimal places for values (default from this settings page used if no custom set by shortcode). Valid values are: 1, 2, 3 and 4
  • static – (boolean) to enable static unordered list instead scroling ticker set to 1 or true
  • prefill – (boolean) to start with pre-filled instead empty ticker set to 1 or true
  • duplicate – (boolean) if there is less items than visible on the ticker, set this to 1 or true to make it continuous
  • speed – (integer) tune speed of StockTicker block rendered by shortcode
  • class – customize block look and feel set custom CSS class (optional)

Examples

  • Scrolling ticker
    [stock_ticker symbols=”BABA,EURGBP,LLOY.LON” show=”symbol”]
  • Static unordered list
    [stock_ticker symbols=”BABA,EURGBP,LLOY.LON” show=”symbol” static=”1″]

Supported Stock Exchange Markets

Alpha Vantage provide stock data for following stock exchange markets:

  • BOM – Bombay Stock Exchange
  • TSE – Canadian/Toronto Securities Exchange
  • FRA – Deutsche Boerse Frankfurt Stock Exchange
  • ETR – Deutsche Boerse Frankfurt Stock Exchange
  • AMS – Euronext Amsterdam
  • EBR – Euronext Brussels
  • ELI – Euronext Lisbon
  • EPA – Euronext Paris
  • LON – London Stock Exchange
  • NASDAQ – NASDAQ Exchange
  • CPH – NASDAQ OMX Copenhagen
  • HEL – NASDAQ OMX Helsinki
  • ICE – NASDAQ OMX Iceland
  • NYSE – New York Stock Exchange
  • SHA – Shanghai Stock Exchange
  • SHE – Shenzhen Stock Exchange
  • TPE – Taiwan Stock Exchange
  • TYO – Tokyo Stock Exchange

Not supported:

  • MCX – Moscow Exchange (since December 2018) – eg. MCX:GAZP
  • ASX – Australian Securities Exchange (since since May 2020) – eg. ASX:MSB
  • SGX – Singapore Exchange (since July 13th 2020) – eg. C29.SI
  • NSE – National Stock Exchange of India (since July 2020) – eg. NSE:VB
  • STO – NASDAQ OMX Stockholm (since October 2021) – eg. STO:ATCO-A
  • BIT – Borsa Italiana Milan Stock Exchange (since December 2023) – eg. BIT:OLI

Hall of Fame

Kudos to patchstack researchers for early reporting vulnerabilities!

A big thank you goes to @flexer, @khunmax, @k2_1971 and @vijaleshk who do tests with alpha versions of plugin until we finally released v3.0.0. And also important to mention @eigood who pointed me to AlphaVantage.co as a replacement for Google Finance.


Screenshots
FAQ
ChangeLog