前言介紹
- 這款 WordPress 外掛「Stock Ticker」是 2014-02-10 上架。
- 目前有 2000 個安裝啟用數。
- 上一次更新是 2024-06-27,距離現在已有 308 天。
- 外掛最低要求 WordPress 4.9 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 21 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
stock | ticker | trading | sotck quote | stock ticker |
內容簡介
一個簡單易配置的 WordPress 外掛,可以讓你在文章、頁面、小工具,甚至是模板檔案中插入股票代碼和股價資訊。插入方式可使用 shortcode 或多個 widget 實例。
請注意,股票資料由 Alpha Vantage 提供,自 2020 年中起不再支援指數!
Stock Ticker 是 Stock Quote 外掛的進階版。
目前不支援多站台 WordPress。
重要提示:Stock Ticker 沒有自己的 Gutenberg Block,所以你可以使用 Shortcode Block 或 Common Block 在文章/頁面內容中插入 Stock Ticker。
聲明
Stock Ticker 使用的所有股票資料均由 Alpha Vantage 提供,僅用於資訊和教育目的,不應被視為投資建議。
Stock Ticker 外掛的作者不承擔任何責任或責任,包括但不限於交易和投資結果。另外,Stock Ticker 外掛的作者無法保證股票價格始終準確,因為它們是由免費的第三方服務提供的。
特點
設置你整個網站會使用的全局股票代碼集合
配置將在插入空 shortcode 的 ticker 中顯示的預設股票代碼集合
配置公司預設顯示為公司名稱或股票代碼
使用顏色選擇器配置未變報價、負面和正面變化的顏色
禁用滾動 ticker 並將其設置為靜態顯示
設置自定義公司名稱來替代代碼
設置自定義元素作為可見值的一部分
選擇性(BETA)設定 EOD 股票的時序資料。因為 15 分鐘時間範圍的原因存在已知問題: RANGE 和 VOLUME 是錯誤的。因為指數沒有 VOLUME,所以用於指數和貨幣的時間序列為 TIME_SERIES_DAILY
你可以設置可見變化值的自定義模板,預設格式為 %company% %price% %change% %changep%。作為巨集關鍵詞,你可以使用以下文字:
%exch_symbol% - 帶有交易所的代碼,例如 NASDAQ:AAPL
%symbol% - 公司代碼,例如 AAPL
%company% - 公司名稱,在自定義名稱過濾後,例如 Apple Inc.。
%price% - 價格值,例如 125.22
%change% - 變化值,例如 -5.53
%changep% - 變化百分比,例如 -4.23%
%ltrade% - 上一個交易日(例如 2020-09-25),可以跟隨 PHP 日誌格式來自定義日期輸出,以 pipe 字符分隔,例如 |l, jS\of F Y
如需功能請求或幫助,請透過回饋意見或使用官方 WordPress 支援論壇聯絡作者。
如何使用
你可以在文章、頁面或小工具中使用 shortcode 或 widget(外觀 -> widgets)添加 Stock Ticker。
Shortcode
在文章或頁面中使用簡單的 shortcode [stock_ticker],不帶任何參數來顯示帶有默認設置的 ticker。你可以使用以下參數調整單個 shortcode:
symbols - 帶有單個或逗號分隔的股票代碼數組的字符串
show - 字符串,定義如何在 ticker 上表示公司
原文外掛簡介
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 and Wordfence Intelligence 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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Stock Ticker」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
3.1 | 3.2.0 | 3.2.1 | 3.2.2 | trunk | 3.23.0 | 3.23.1 | 3.23.2 | 3.23.3 | 3.23.4 | 3.23.5 | 3.24.4 | 3.24.6 | 3.1.0.1 |
延伸相關外掛(你可能也想知道)
Stock Market Ticker 》Stockdio 的股市標誌包含一個外掛和小工具,可顯示股市價格、指數、貨幣和商品的標誌與波動。支援超過 65 個不同的股票交易所和眾多的市場指數、貨幣和商品。...。
StockPulse 》StockPulse 外掛是一個工具,專為提供公開交易公司訊息的公司和網站提供支援。目前此外掛提供股票報價短碼,您可以在網站多處放置這些碼片段以顯示股票報價。。