WP Manifestindependent plugin directory
manifest / editor / gutenberg-stock-and-currency-tracker

Gutenberg Stock Tracker

A WordPress plugin containing two Gutenberg blocks to display real-time stock market data and currency exchange rates on your WordPress site.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/akrembelkahla/gutenberg-stock-and-currency-tracker/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

📈 Stock & Currency Tracker - WordPress Gutenberg Plugin

A WordPress plugin containing two Gutenberg blocks to display real-time stock market data and currency exchange rates on your WordPress site.

✨ Features

📊 Stock Tracker Block

  • Real-time stock market data display via Finnhub API
  • Multiple stock symbols selection
  • Automatic data refresh
  • Modern and active user interface
  • Price variations with color coding
  • Error handling and API rate limits management

💱 Currency Tracker Block

  • Real-time exchange rates display via ExchangeRate API
  • Base currency and target currencies selection
  • Automatic rate updates
  • Clean and professional interface
  • Real-time rate updates
  • Error handling and API limits management

🔌 APIs Used

📊 Finnhub API

  • Purpose: Real-time stock market data
  • Features used:
    • Real-time stock quotes
    • Company information
    • Market status updates
  • Rate limits: 60 API calls/minute with free plan
  • Documentation: Finnhub API Docs
  • Pricing: Free tier available with API key registration

💱 ExchangeRate API

  • Purpose: Currency exchange rates
  • Features used:
    • Real-time exchange rates
    • Currency conversion
    • Supported currencies list
  • Rate limits: 1500 API calls/month with free plan
  • Documentation: ExchangeRate API Docs
  • Pricing: Free tier available with API key registration

Installation

  1. Download the gutenberg-stock-and-currency-tracker folder to the wp-content/plugins/ directory of your WordPress installation
  2. Activate the plugin through the "Plugins" menu in WordPress admin
  3. Configure your API keys (Finnhub and ExchangeRate) in each block's sidebar settings

🔍 Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher

🚀 Usage

📈 Using the Stock Tracker Block

  1. Add the "Stock Tracker" block to your page or post
  2. In the sidebar panel, enter your Finnhub API key
  3. Select the stock symbols you want to display
  4. Configure the refresh options according to your preferences

💱 Using the Currency Tracker Block

  1. Add the "Currency Tracker" block to your page or post
  2. In the sidebar panel, enter your ExchangeRate API key
  3. Select the base currency and target currencies
  4. Rates will automatically update according to the configured interval

💻 Development

📦 Installing Dependencies

npm install

🔨 Building Assets

# For development (with file watching)
npm run start

# For production
npm run build

🖼️ Screenshots

Screenshots will be added after the first stable release

📄 License

GPL-2.0-or-later