Finance::Quote::YahooJSON – Obtain quotes from Yahoo Finance through JSON call
| Use Case | Command | Description |
|---|---|---|
| Fetch a single stock quote | Finance::Quote->fetch("yahoo_json","SBIIN.NS") | 🌐 Retrieve quote data for a symbol from Yahoo Finance |
| Load module explicitly | Finance::Quote->new("YahooJSON") | 📦 Force loading of YahooJSON backend |
| Access all available fields | %info = Finance::Quote->fetch("yahoo_json","AAPL"); print $info{"name"} | 📊 Get full hash of returned labels |
use Finance::Quote;
$q = Finance::Quote->new;
%info = Finance::Quote->fetch("yahoo_json","SBIIN.NS");
📥 This module fetches information from Yahoo as JSON.
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing "YahooJSON" in the argument list to Finance::Quote->new().
This module provides the "yahoo_json" fetch method.
The following labels may be returned by Finance::Quote::YahooJSON :
namelastisodatevolumecurrencymethodexchangetypediv_yieldepspeyear_rangeopenhighlowcloseperl v5.32.1 2021-09-01 Finance::Quote::YahooJSON(3pm)
Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-21 00:33 @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