InvestorySpot Stock Ticker

Description

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)

Screenshots

Installation

  1. Upload the investoryspot-stock-ticker folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Go to Settings > InvestorySpot Stock Ticker to configure default symbols and display options
  4. Add [investoryspot_stock_ticker] shortcode to any post or page

FAQ

Do I need an API key?

No. Yahoo Finance is used as the primary provider and requires no API key. Alpha Vantage and Finnhub keys are optional fallbacks.

Can I display different stocks on different pages?

Yes. Use shortcode attributes: [investoryspot_stock_ticker symbols="AAPL,MSFT,GOOGL"]

Can I display cryptocurrency prices?

Yes. Yahoo Finance supports crypto symbols such as BTC-USD, ETH-USD, and DOGE-USD. Use the decimals attribute for accurate prices, e.g. [investoryspot_stock_ticker symbols="BTC-USD,ETH-USD" decimals="4"].

How often does the data refresh?

Data is cached server-side (default 300 seconds). The frontend auto-refreshes at the same interval.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“InvestorySpot Stock Ticker” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.0

  • Added configurable decimal places (use 4+ for crypto prices)
  • Crypto support via Yahoo Finance (e.g., BTC-USD, ETH-USD)
  • Added decimals attribute to shortcode

1.0.0

  • Initial release
  • Yahoo Finance, Alpha Vantage, and Finnhub support
  • Scrolling ticker and table display
  • Admin settings page
  • AJAX auto-refresh