前言介紹
- 這款 WordPress 外掛「Equibles Stocks」是 2022-06-21 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2022-06-22,距離現在已有 1047 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.8 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
equibles |
外掛標籤
stocks | equibles | stocks api | stock prices | stock quotes |
內容簡介
Equibles Stocks 可讓您在 WordPress 網站上顯示 Equibles 提供的股票報價。
安裝插件後,您應該在Equibles上註冊並免費獲取您的 API 金鑰。
獲取 API 金鑰後,您應該在插件選項頁(選項-> Equibles 股票)中保存它。
之後,插件設置完成,您就可以開始使用此插件提供的簡碼了。
範例
顯示股票的每日收盤價格
[equibles_stock ticker="AAPL" type="daily_prices" subtype="close"]
[equibles_stock ticker="AAPL" type="daily_prices" subtype="time" time_format="d/m/Y"]
您可以在下方的「文件」部分中檢查所有可用的參數。
文件
在本節中,我們將描述可用的簡碼參數。
參數「ticker」
Equibles 支持的常見股票的代碼。例如:AAPL
參數「type」
要顯示的數據類型。 可用選項如下。
daily_prices – 有關所選代碼每日價格的數據(每 24 小時更新)。
intraday_prices – 有關所選代碼的盤中價格的數據(每分鐘更新)。
52_week – 有關所選股票的 52 週範圍的數據。
參數「subtype」
要顯示的數據子類型。 此參數取決於「type」選項的值。
可用的選項如下:
daily_prices
high – 每日價格蠟燭的高值。
low – 每日價格蠟燭的低值。
close – 每日價格蠟燭的收盤價。
open – 每日價格蠟燭的開盤價。
time – 蠟燭關閉時間。
volume – 期間內交易的股票數量。
change – 股票價格的絕對變化量。
change_percentage – 股票價格的百分比變化量。
intraday_prices
high – 價格蠟燭的高值。
low – 價格蠟燭的低值。
close – 價格蠟燭的收盤價。
open – 價格蠟燭的開盤價。
time – 蠟燭關閉時間。
volume – 期間內交易的股票數量。
change – 股票價格的絕對變化量。
change_percentage – 股票價格的百分比變化量。
52_week
high – 所選股票的 52 週高點。
low – 所選股票的 52 週低點。
參數「decimal_places」
格式化數字時要顯示的小數位數,默認值:2。
參數「decimal_separator」
小數分隔符,默認值:.(點)。
參數「thousands_separator」
千位分隔符,默認值:「 」(空格)。
參數「time_format」
時間格式,如 PHP format 函數中的格式。
設置頁面
您應該在插件設置頁面(設置-> Equibles 股票)中保存 API。
您還可以啟用 API 請求的緩存。我們建議使用 15 分鐘的緩存時間來提高網站的速度表現。
原文外掛簡介
Equibles Stocks allows you to display stock quotes provided by Equibles on your WordPress website.
After installing the plugin you should register on Equibles and get your API key for free.
Once you have got your API key you should save it in the plugin options page (Options -> Equibles Stocks).
After that the plugin setup is completed and you can start using the shortcodes provided by this plugin.
Examples
Displaying the daily closing price for a stock
[equibles_stock ticker="AAPL" type="daily_prices" subtype="close"]
[equibles_stock ticker="AAPL" type="daily_prices" subtype="time" time_format="d/m/Y"]
You can check all the parameters available in the “Documentation” section below.
Documentation
Is this section we describe the shortcode parameters available.
Parameter “ticker”
The ticker of a common stock supported by Equibles. Example: AAPL
Parameter “type”
The type of data to show. The available options are the following.
daily_prices – Data related to the daily price of the selected ticker (updated every 24 hours).
intraday_prices – Data related to the intraday price of the selected ticker (updated every minute).
52_week – Data related to the 52 week range of the selected stock.
Parameter “subtype”
The subtype of data to show. This parameter depends on the value of the “type” option.
The available options are:
daily_prices
high – The high value of the daily price candle.
low – The low value of the daily price candle.
close – The close value of the daily price candle.
open – The open value of the daily price candle.
time – The time of close of the candle.
volume – The amount of shares traded during the period.
change – The absolute change in the stock price.
change_percentage – The percentage change in the stock price.
intraday_prices
high – The high value of the price candle.
low – The low value of the price candle.
close – The close value of the price candle.
open – The open value of the price candle.
time – The time of close of the candle.
volume – The amount of shares traded during the period.
change – The absolute change in the stock price.
change_percentage – The percentage change in the stock price.
52_week
high – The 52-week high of the selected stock.
low – The 52-week low of the selected stock.
Parameter “decimal_places”
The number of decimal places to show when formatting a number, default: 2.
Parameter “decimal_separator”
The decimal separator, default: . (dot) .
Parameter “thousands_separator”
The thousands’ separator, default: ” ” (space).
Parameter “time_format”
The format of the time as in the PHP format function.
Settings page
You should save your API in the plugin settings page (Settings -> Equibles Stocks).
You can also enable caching for the API requests. We recommend using a cache time of 15 minutes to improve your site load time.
Where can I report bugs?
Report bugs on the Equibles Stocks GitHub repository.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Equibles Stocks」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | trunk |
延伸相關外掛(你可能也想知道)
Show Stock Quotes by 99 Robots 》顯示最多 20 個股票報價,每個小工具實例都視為一個投資組合,因此只需添加更多的小工具實例即可為更多投資組合添加報價。, 此外,請查看我們的其他外掛程式 ...。
Stock Portfolio 》這個外掛可以讓您追踪高達12個持倉的表現百分比。除了股票代號和成本基礎外,您還可以為每個位置提供自定義的URL和小工具標題。最後,您可以決定追踪交易進入...。
Inline Stock Quotes 》Inline Stock Quotes是一個WordPress外掛,允許使用者使用[stock]短代碼在其文章中插入動態更新報價。, 預設情況下,在日常變化為正數時,引述的價格會變綠色...。
Simple Stock Quotes 》這是一個簡單的 AJAX 外掛,可讓您在主題中新增一個簡碼或小工具,讓使用者可以通過股票代號查詢股票報價。注意:此外掛需要伺服器啟用 SOAP,大多數伺服器預...。
Simple Stock Charts 》總結:Simple Stock Charts是一個輕量且直接的外掛程式,可將基本股市數據添加至您的WordPress站。沒有複雜的功能,也不需要付費升級,提供您所需的基本功能...。