
內容簡介
DaazMarkets — Global Market Prices 是一款全方位的 WordPress 外掛,能將即時市場數據直接顯示在您的網站上。透過簡單的短碼和小工具,顯示加密貨幣價格、股票報價、商品、ETF 及比特幣企業財庫持有量,適合金融新聞、投資教育及交易社群等網站。
【主要功能】
• 即時加密貨幣價格顯示
• 股票市場數據整合
• 比特幣企業財庫資訊
• 簡易短碼整合
• 兼容多種佈局編輯器
• 開發者友好的代碼結構
外掛標籤
開發者團隊
② 後台搜尋「DaazMarkets — Global Market Prices」→ 直接安裝(推薦)
原文外掛簡介
DaazMarkets — Global Market Prices is an all-in-one WordPress plugin that brings live market data directly to your website. Display cryptocurrency prices, stock quotes, commodities, ETFs, and Bitcoin corporate treasury holdings using simple shortcodes and widgets.
Perfect for:
* Financial news websites
* Crypto blogs and portfolios
* Investment education sites
* Trading communities
* Business intelligence dashboards
Key Features
Cryptocurrency Prices
* Prices from CoinGecko API
* Display Bitcoin, Ethereum, Solana and 10,000+ cryptocurrencies
* 24-hour volume and price change percentage
* Cached via WordPress transients
Stock Market Data
* US stocks, commodities, and ETFs via EODHD or alternative providers
* Bitcoin miner stocks (MARA, RIOT, CLSK, etc.)
* Gold (GC.US), Silver (SI.US), Oil and more
* Crypto ETFs (IBIT, ETHA, BSOL)
Bitcoin Treasuries
* Top companies holding Bitcoin
* MicroStrategy, Tesla, Marathon Digital, and more
* USD valuations
* Company market cap data
Easy Integration
* Simple shortcodes – no coding required
* WordPress widgets for sidebars
* Compatible with page builders (Elementor, Gutenberg)
* Responsive mobile-friendly tables
Developer Friendly
* Clean, documented code
* WordPress coding standards
* Hooks and filters for customization
* Translation-ready (i18n)
* Portuguese (PT-PT) included
Shortcodes
[daaz_gmp_crypto coins="bitcoin,ethereum,solana"]
Display cryptocurrency prices, volume, and 24h change.
[daaz_gmp_commodities symbols="GC.US,SI.US"]
Show commodity prices like Gold and Silver.
[daaz_gmp_etfs symbols="IBIT.US,ETHA.US,BSOL.US"]
Display crypto ETF prices and volumes.
[daaz_gmp_etf_volumes btc_symbols="ALL" eth_symbols="ALL" days="30" display="combined"]
Display ETF historical volume tables by asset group.
[daaz_gmp_miners symbols="MARA,RIOT" display="cards"]
Bitcoin mining company stock prices and holdings.
[daaz_gmp_treasuries limit="10" display="table"]
Top companies with Bitcoin treasury holdings.
[daaz_gmp_btc_treasuries limit="10" source="coingecko"]
Alternative BTC treasuries shortcode.
[daaz_gmp_forex pairs="EUR/USD,GBP/USD" display="cards"]
Foreign exchange rates for currency pairs.
[daaz_gmp_markets symbols="AAPL.US,MSFT.US" display="cards"]
Stock market quotes.
[daaz_gmp_charts coin="bitcoin" days="30" width="100%" height="300"]
Historical price chart using Chart.js.
[daaz_gmp_sparkline coin="bitcoin" days="7" width="100" height="30"]
Render a compact inline sparkline. Attributes:
* label — optional label text shown next to the sparkline (defaults to coin name).
* show_value — 1 to show the last price next to the label (formatted, e.g. $12,345.67).
* label_pos — position of the label relative to the sparkline: left|right|top.
* label_class — additional CSS class(es) applied to the label container.
* align — alignment helper for inline usage: left|center|right.
* tooltip — true|false to enable hover tooltip for the sparkline.
API Providers
The plugin supports multiple data providers:
Cryptocurrency:
* CoinGecko
* CoinPaprika
* CoinMarketCap
* CoinCap
* Custom API support
Stocks & Commodities:
* EOD Historical Data
* Alpha Vantage
* Twelve Data
* Custom provider support
Each provider requires your own personal API key. Free keys are available directly from each provider — links are included in the plugin settings pages.
Privacy & Data
This plugin fetches market data from external APIs (CoinGecko, CoinPaprika, CoinMarketCap, CoinCap, EODHD, Alpha Vantage, Twelve Data, ExchangeRate.host, Metals.dev, Finnhub, GoldAPI, ExchangeRate-API, IEX Cloud, API Ninjas). No personal user data is collected or transmitted to any third party.
API requests are made server-side and results are cached via WordPress transients. The Tools page in the admin area sends connection test requests to the configured providers via the WordPress admin-ajax endpoint (server-side).
See the External Services section below for full details on each provider.
System Requirements
WordPress 5.8 or higher
PHP 7.4 or higher
cURL enabled (for API requests)
WordPress transients enabled (for caching)
External Services
This plugin connects to external third-party APIs to retrieve live market data. No personal user data is ever sent to any of these services. All requests are made server-side and the results are cached via WordPress transients to minimise the number of API calls.
CoinGecko
Used to retrieve cryptocurrency prices, market cap, volume and 24-hour price changes. Coin logo images are loaded from CoinGecko’s static asset CDN (assets.coingecko.com) directly by the user’s browser.
Data sent: the requested coin IDs and currency (e.g. “bitcoin”, “USD”) are sent server-side when the cache expires or a test connection is triggered. The browser loads coin image files from assets.coingecko.com as standard tags.
* Service: https://www.coingecko.com/
* API: https://api.coingecko.com/
* Asset CDN: https://assets.coingecko.com/
* Terms of Service: https://www.coingecko.com/en/terms
* Privacy Policy: https://www.coingecko.com/en/privacy
CoinPaprika
Alternative cryptocurrency data provider. Used only when selected by the site administrator in the plugin settings.
Data sent: coin IDs and currency. Sent when the provider is active and the cache expires.
* Service: https://coinpaprika.com/
* Terms of Service: https://coinpaprika.com/terms-and-conditions/
* Privacy Policy: https://coinpaprika.com/privacy-policy/
CoinMarketCap
Alternative cryptocurrency data provider. Used only when an API key is provided and the provider is selected.
Data sent: coin symbols and currency. Sent when the provider is active and the cache expires.
* Service: https://coinmarketcap.com/
* Terms of Service: https://coinmarketcap.com/terms/
* Privacy Policy: https://coinmarketcap.com/privacy/
CoinCap
Alternative cryptocurrency data provider. Used only when selected in settings.
Data sent: asset IDs. Sent when the provider is active and the cache expires.
* Service: https://coincap.io/
* Terms of Service: https://coincap.io/terms
* Privacy Policy: https://coincap.io/privacy
EOD Historical Data (EODHD)
Used to retrieve stock prices, commodities (Gold, Silver, Oil), ETF data and Bitcoin miner stock prices.
Data sent: the requested ticker symbols (e.g. “AAPL.US”, “GC.US”) and the API key provided by the administrator. Sent when the cache expires or a test connection is triggered.
* Service: https://eodhistoricaldata.com/
* Terms of Service: https://eodhistoricaldata.com/terms-conditions/
* Privacy Policy: https://eodhistoricaldata.com/privacy-policy/
Alpha Vantage
Alternative stock and commodity data provider. Used only when an API key is provided and the provider is selected.
Data sent: ticker symbols and the API key. Sent when the provider is active and the cache expires.
* Service: https://www.alphavantage.co/
* Terms of Service: https://www.alphavantage.co/terms_of_service/
* Privacy Policy: https://www.alphavantage.co/privacy/
Twelve Data
Alternative stock data provider. Used only when an API key is provided and the provider is selected.
Data sent: ticker symbols and the API key. Sent when the provider is active and the cache expires.
* Service: https://twelvedata.com/
* Terms of Service: https://twelvedata.com/terms
* Privacy Policy: https://twelvedata.com/privacy-policy
ExchangeRate.host
Used to retrieve foreign exchange (forex) rates between currency pairs.
Data sent: the currency pair codes (e.g. “EUR”, “USD”) and the amount (always 1, used for rate conversion). Sent when the cache expires.
* Service: https://exchangerate.host/
* Terms of Service: https://exchangerate.host/terms
* Privacy Policy: https://exchangerate.host/privacy-policy
Metals.dev
Used to retrieve precious metals spot prices (Gold, Silver, Platinum, etc.).
Data sent: the API key provided by the administrator and the requested currency. Sent when the cache expires.
* Service: https://metals.dev/
* Terms of Service: https://metals.dev/terms
* Privacy Policy: https://metals.dev/privacy
Finnhub
Alternative stock and ETF data provider. Used only when an API key is provided and Finnhub is selected as the provider in the plugin settings.
Data sent: ticker symbols (e.g. “AAPL”) and the API key. Sent when the provider is active and the cache expires or a test connection is triggered.
* Service: https://finnhub.io/
* Terms of Service: https://finnhub.io/terms
* Privacy Policy: https://finnhub.io/privacy-policy
GoldAPI
Alternative precious metals data provider. Used only when an API key is provided and GoldAPI is selected as the metals provider.
Data sent: the requested metal code (e.g. “XAU”) and the API key. Sent when the provider is active and the cache expires.
* Service: https://www.goldapi.io/
* Terms of Service: https://www.goldapi.io/tos
* Privacy Policy: https://www.goldapi.io/privacy
ExchangeRate-API
Alternative foreign exchange rate provider. Used only when an API key is provided and ExchangeRate-API is selected as the forex provider.
Data sent: currency codes (e.g. “USD”) and the API key. Sent when the provider is active and the cache expires or a test connection is triggered.
* Service: https://www.exchangerate-api.com/
* Terms of Service: https://www.exchangerate-api.com/terms
* Privacy Policy: https://www.exchangerate-api.com/privacy
IEX Cloud
Alternative stock market data provider. Used only when an API key is provided and IEX Cloud is selected as the markets provider.
Data sent: stock ticker symbols (e.g. “AAPL”) and the API key. Sent when the provider is active and the cache expires or a test connection is triggered.
* Service: https://iexcloud.io/
* Terms of Service: https://iexcloud.io/terms/
* Privacy Policy: https://iexcloud.io/privacy/
Custom Self-Hosted API
The plugin optionally supports a custom API endpoint provided by the administrator in the format KEY@URL (e.g. my-key@https://api.example.com/). This feature is entirely optional and no data is sent unless the administrator explicitly configures and activates a custom endpoint. The data sent is determined by the configured URL and the administrator is solely responsible for the compliance of any custom endpoint they choose to use.
API Ninjas
Used only during generic API key validation in the plugin admin area. When an administrator pastes an API key that does not match a known provider format, the plugin tests it against a set of common API endpoints — including API Ninjas — to determine which service the key belongs to. No data other than the key itself is sent, and only when the administrator clicks “Test & Add” for a custom provider.
* Service: https://api-ninjas.com/
* Terms of Service: https://api-ninjas.com/terms
* Privacy Policy: https://api-ninjas.com/privacy
Credits
Developed by DaazLabs
Charts powered by Chart.js
