Install
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.zipNo 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
- Download the
gutenberg-stock-and-currency-trackerfolder to thewp-content/plugins/directory of your WordPress installation - Activate the plugin through the "Plugins" menu in WordPress admin
- 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
- Add the "Stock Tracker" block to your page or post
- In the sidebar panel, enter your Finnhub API key
- Select the stock symbols you want to display
- Configure the refresh options according to your preferences
💱 Using the Currency Tracker Block
- Add the "Currency Tracker" block to your page or post
- In the sidebar panel, enter your ExchangeRate API key
- Select the base currency and target currencies
- 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