=== InvestorySpot Stock Ticker ===
Contributors: simbe1
Tags: stock ticker, stock market, finance, stocks, ticker, stocks widget
Requires at least: 5.0
Tested up to: 6.4
Stable tag: 1.0.0
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

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

== 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.

= 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
* Settings page in wp-admin
* Shortcode with override attributes

== Installation ==

1. Upload the `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 `[stock_ticker]` shortcode to any post or page

== Frequently Asked Questions ==

= 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: `[stock_ticker symbols="AAPL,MSFT,GOOGL"]`

= How often does the data refresh? =

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

== Usage ==

Basic shortcode:

`[stock_ticker]`

With custom symbols and table display:

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

All attributes:
* symbols - Comma-separated stock symbols
* display - "ticker" (scrolling) or "table"
* color_up - Hex color for positive changes
* color_down - Hex color for negative changes
* refresh - Cache duration in seconds

== Changelog ==

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