We'll create fresh WordPress site with Stock Ticker installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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.
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.
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 YFor feature requests or help send feedback or use official WordPress support forum.
You can add Stock Ticker to posts, pages or widgets by shortcode or widget (Appearance -> Widgets).
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 symbolsshow
– string that define how will company be represent on ticker; can be name
for Company Name, or symbol
for Stock Symbolnumber_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,00decimals
– 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 continuousspeed
– (integer) tune speed of StockTicker block rendered by shortcodeclass
– customize block look and feel set custom CSS class (optional)Alpha Vantage provide stock data for following stock exchange markets:
Not supported:
MCX:GAZP
ASX:MSB
C29.SI
NSE:VB
STO:ATCO-A
BIT:OLI
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.