跳到内容

InvestorySpot Stock Ticker

v1.2.0

simbe1 · 2026年7月12日 上架

Display real-time stock tickers on your WordPress site using multiple data providers with automatic fallback.

正在使用
10+
评分
暂无
累计下载
451
最近更新
2026年9月25日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

InvestorySpot Stock Ticker
InvestorySpot Stock Ticker
InvestorySpot Stock Ticker

InvestorySpot Stock Ticker displays live stock prices in a scrolling ticker bar or table format. It supports multiple data providers (Yahoo Finance, Alpha Vantage, Finnhub) with automatic fallback if one provider fails.

Yahoo Finance is used as the primary provider and requires no API key. Alpha Vantage and Finnhub keys can be optionally configured for fallback.

External Services

This plugin connects to one or more external APIs to retrieve real-time stock market data. Data is fetched whenever the shortcode is rendered or when the frontend auto-refreshes (default every 300 seconds). The stock symbols configured by the site administrator are sent to the active provider’s API. No personal data of site visitors is sent.

Yahoo Finance

  • Service: Yahoo Finance API (query1.finance.yahoo.com). This is an unofficial integration using Yahoo’s public chart endpoint.
  • Data sent: Stock symbols (e.g., AAPL, GOOGL) are sent to Yahoo Finance to retrieve current price, change, and volume data.
  • When: On every stock data fetch — page load and each auto-refresh cycle.
  • Terms of Service: https://legal.yahoo.com/us/en/yahoo/terms/otos/index.html
  • Privacy Policy: https://legal.yahoo.com/us/en/yahoo/privacy/index.html

Alpha Vantage

  • Service: Alpha Vantage API (www.alphavantage.co). Provides stock quote data.
  • Data sent: Stock symbols and the site’s API key are sent to Alpha Vantage.
  • When: When Yahoo Finance fails and Alpha Vantage is configured as a fallback provider.
  • Terms of Service: https://www.alphavantage.co/terms_of_service/
  • Privacy Policy: Covered by the Alpha Vantage Terms of Service.

Finnhub

  • Service: Finnhub API (finnhub.io). Provides stock quote data.
  • Data sent: Stock symbols and the site’s API key are sent to Finnhub.
  • When: When Yahoo Finance and Alpha Vantage both fail and Finnhub is configured.
  • Terms of Service: https://finnhub.io/terms-of-service
  • Privacy Policy: Covered by the Finnhub Terms of Service.

Data Providers

  • Yahoo Finance — Used as primary provider. No API key required. This is an unofficial integration using Yahoo’s public endpoints. Not affiliated with or endorsed by Yahoo.
  • Alpha Vantage — Optional fallback. Free API key available at alphavantage.co. See terms of service.
  • Finnhub — Optional fallback. Free API key available at finnhub.io/register. Free tier is for personal use only. See terms of service.

Disclaimer: Stock data is provided for informational purposes only and is not intended for trading or investment decisions. Data may be delayed. Always verify prices with your broker or exchange.

Features

  • Scrolling ticker and table display modes
  • Multiple data providers with auto-fallback
  • No API key required (Yahoo Finance built-in)
  • Optional Alpha Vantage and Finnhub API key support
  • Auto-refresh with configurable cache duration
  • Customizable colors for positive/negative changes
  • Configurable decimal places (supports crypto like BTC-USD)
  • Settings page in wp-admin
  • Shortcode with override attributes

Usage

Basic shortcode:

[investoryspot_stock_ticker]

With custom symbols and table display:

[investoryspot_stock_ticker symbols="AAPL,GOOGL,MSFT,AMZN,NVDA" display="table"]

All attributes:
* symbols – Comma-separated stock symbols (supports crypto e.g. BTC-USD, ETH-USD)
* display – “ticker” (scrolling) or “table”
* color_up – Hex color for positive changes
* color_down – Hex color for negative changes
* refresh – Cache duration in seconds
* decimals – Decimal places for prices (0-8, default 2)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums