[WordPress] 外掛分享: Stock Market Ticker

WordPress 外掛 Stock Market Ticker 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Stock Market Ticker」是 2017-02-21 上架。
  • 目前有 3000 個安裝啟用數。
  • 上一次更新是 2025-02-28,距離現在已有 64 天。
  • 外掛最低要求 WordPress 3.1 以上版本才可以安裝。
  • 有 15 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

stockdio |

外掛標籤

stocks | ticker | stock ticker | financial ticker | stock market ticker |

內容簡介

Stockdio 的股市標誌包含一個外掛和小工具,可顯示股市價格、指數、貨幣和商品的標誌與波動。支援超過 65 個不同的股票交易所和眾多的市場指數、貨幣和商品。

如果您使用標準的 Gutenberg 編輯器,最簡單的方法是使用「股市標誌」區塊,該區塊包含在 Stockdio 金融視覺化類別中。

如果您使用其他編輯器或喜歡使用短碼,以下是一個樣品可以幫助您開始。請注意,下面列出的大多數參數是可選,並且也可以透過外掛的設置頁面使用。您在短碼中包含的任何參數都會覆蓋設置頁面中使用的參數。

此外掛是 Stockdio Financial Widgets 的一部分,也包括以下外掛:

- Stockdio Historical Chart。
- Stock Quotes List。
- Stock Market Overview。
- Stock Market News。

以下參數支援短碼,也可透過外掛的設置頁面使用:

- stockExchange:股票標誌所屬的交易市場(可選)。如果未指定,預設會使用 NYSE/NASDAQ。有關可用交易所的清單,請訪問 www.stockdio.com/exchanges。
- symbols:企業股票符號、市場指數標誌、貨幣對或商品標誌的列表,用分號(;)分隔 (例如 AAPL、MSFT、GOOG、HPQ、^SPX、^DJI、LSE:BAG)。請查閱 FAQ 部分,以瞭解有關如何包括指數、貨幣和商品,以及如何指定自訂名稱、結合來自不同交易所的數據等的其他詳細信息。
- scroll:允許設置標誌的捲動行為(可選)。
- Auto:標誌自動捲動(預設)。
- No:靜態標誌。
- speed:允許更改標誌的捲動速度。支援的值為:slowest、slower、slow、normal、fast 和 faster(可選)。
- layoutType:指定用於顯示標誌的佈局類型的數字。請訪問 www.stockdio.com/ticker_layouts 查看許多可用的標誌佈局選項(可選)。
- width:清單的寬度,可為 px 或 %(可選,預設:100%)。
- height:標誌的高度,以 px 為單位(可選,預設:none)。通常,標誌的高度由外掛自動設置,因此在大多數情況下,這不是必要的。但某些外掛會導致衝突,無法自動設置高度;在這些情況下,應手動設置標誌高度。
- culture:允許指定用於顯示文本和格式化數字和日期的語言和國家設置,例如西班牙語-西班牙(可選)。有關可用文化組合的清單,請訪問 http://www.stockdio.com/cultures。
- motif:以特定美學設計用於顯示可視化效果的設計,包括邊框和樣式等其他元素(可選)。有關可用基調的清單,請訪問 www.stockdio.com/motifs。
- palette:包括用於可視化的一組一致的顏色(可選)。

原文外掛簡介

Stockdio’s Stock Market Ticker contains a plugin and a widget that allow to display a ticker of stock market prices, market indices, currencies and commodities with their variations. Over 65 different stock exchanges and a large number of market indices, currencies and commodities are supported.
If you’re using the standard Gutenberg editor, the easiest way to include this plugin on your page is using the Stock Market Ticker block, which is included in the Stockdio Financial Visualizations category.
If you’re using a different editor o prefer to use the shortcode, below is a sample to help you start. Please be aware that most of the parameters listed below are optional, and are also available through the plugin’s settings page. Any parameter you include in the shortcode will overwrite the parameter used in the settings page.
[stock-market-ticker symbols="AAPL;MSFT;GOOG;HPQ;^SPX;^DJI;LSE:BAG" stockExchange="USA" width="100%" palette="financial-light"]

This plugin is part of the Stockdio Financial Widgets, which also includes the following plugins:

Stockdio Historical Chart.
Stock Quotes List.
Stock Market Overview.
Stock Market News.

The following parameters are supported in the shortcode and also available through the plugin’s settings page:
stockExchange: The exchange market the symbols belong to (optional). If not specified, NYSE/NASDAQ will be used by default. For a list of available exchanges please visit www.stockdio.com/exchanges.
symbols: A list of companies stock symbols, market index tickers, currency pairs or commodities ticker, separated by semi-colon (;) (e.g. AAPL;MSFT;GOOG;HPQ;^SPX;^DJI;LSE:BAG). Please review the FAQ section for additional details on how to includes indices, currencies and commodities, as well as how to specify custom names, combine data from different exchanges, etc.
scroll: Allows to set the ticker’s scrolling behavior (optional).

Auto: ticker automatically scrolls (default).
No: static ticker.

speed: Allows to change the ticker’s scrolling speed. Supported values are: slowest, slower, slow, normal, fast and faster. (optional).
layoutType: A number specifying the layout type used to display the ticker. Please visit www.stockdio.com/ticker_layouts to review the many ticker layout options available (optional).
width: Width of the list in either px or % (optional, default: 100%).
height: Height of ticker in px(optional, default: none). Normally, the ticker height is set automatically by the plugin, so in most cases this will not be necessary. However, certain plugins cause conflict and do not allow to set the height automatically; in those cases, you should set the ticker height manually.
culture: Allows to specify a combination of language and country settings, used to display texts and to format numbers and dates, e.g. Spanish-Spain (optional). For a list of available culture combinations please visit http://www.stockdio.com/cultures.
motif: Design used to display the visualization with specific aesthetics, including borders and styles, among other elements (optional). For a list of available motifs please visit www.stockdio.com/motifs.
palette: Includes a set of consistent colors used for the visualization (optional). For a list of available palettes please visit www.stockdio.com/palettes.
font: Allows to specify the font that will be used to render the chart. Multiple fonts may be specified separated by comma, e.g. Lato,Helvetica,Arial (optional).
transparentBackground: Allows to display the ticker with a transparent background, which is particularly useful when using image or gradient backgrounds on your page. By default, the ticker’s background color is inherited from the palette. Setting this to true overrides any background color. (optional)
backgroundColor: Allows to specify a color for the ticker’s background. Color must be specified in RGB Hex format, without the # sign, e.g. use 000000 for black. By default, the ticker’s background color is inherited from the palette. (optional)
labelsColor: Allows to specify a color for the ticker’s labels, such as the symbol and company name. Color must be specified in RGB Hex format, without the # sign, e.g. use 0000FF for blue. By default, the labels color is inherited from the palette. Prices and percent of change are usually displayed using positive and negative colors, rather than the labels color. (optional)
positiveColor: Allows to specify a color to be used as “Positive” color, i.e. when close price is greater than previous close price. Color must be specified in Hex format, without the # sign, e.g. use 00FF00 for green. By default, the positive color is inherited from the palette. (optional)
negativeColor: Allows to specify a color to be used as “Negative” color, i.e. when close price is smaller than previous close price. Color must be specified in Hex format, without the # sign, e.g. use FF0000 for red. By default, the negative color is inherited from the palette. (optional)
loadDataWhenVisible: Allows to fetch the data and display the visualization only when it becomes visible on the page, in order to avoid using calls (requests) when they are not needed. This is particularly useful when the visualization is not visible on the page by default, but it becomes visible as result of a user interaction (e.g. clicking on an element, etc.). It is also useful when using the same visualization multiple times on a page for different devices (e.g. using one instance of the plugin for mobile and another one for desktop). We recommend not using this by default but only on scenarios as those described above, as it may provide the end user with a small delay to display the visualization (optional).

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Stock Market Ticker」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • StockPulse 》StockPulse 外掛是一個工具,專為提供公開交易公司訊息的公司和網站提供支援。目前此外掛提供股票報價短碼,您可以在網站多處放置這些碼片段以顯示股票報價。。

文章
Filter
Apply Filters
Mastodon