| Use Case | Command | Description |
|---|---|---|
| 📊 Fetch stock quotes | Finance::Quote->fetch("IBM", "AAPL") | Get current quote data for one or more symbols |
| 🔑 Create IEXCloud object | Finance::Quote->new('IEXCloud', iexcloud => {API_KEY => 'your-key'}) | Initialize quote fetcher with API key |
| 🌐 Set API key via env | export IEXCLOUD_API_KEY='pk_...' | Configure API key without modifying code |
| 📋 List available labels | symbol, open, close, high, low, last, volume, method, isodate, currency | Fields returned by the module |
use Finance::Quote;
$q = Finance::Quote->new('IEXCloud', iexcloud => {API_KEY => 'your-iexcloud-api-key'});
%info = Finance::Quote->fetch("IBM", "AAPL");
This module fetches information from https://iexcloud.io.
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing "IEXCloud" in the argument list to Finance::Quote->new().
This module provides the "iexcloud" fetch method.
https://iexcloud.io requires users to register and obtain an API key, which is also called a token. The token may contain a prefix string, such as 'pk_' and then a sequence of random digits.
The API key may be set by either:
The following labels may be returned by Finance::Quote::IEXClound:
symbol, open, close, high, low, last, volume, method, isodate, currency.
perl v5.32.1 — 2021-09-01 — Finance::Quote::IEXCloud(3pm)
Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-21 01:08 @2600:1f28:365:80b0:d8a5:c3c6:bf94:28c0
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format