Finance::Quote::YahooJSON - Obtain quotes from Yahoo Finance through JSON call
use Finance::Quote; $q = Finance::Quote->new; %info = $q->fetch('yahoo_json','SBIN.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 : name, last, isodate, volume, currency, method, exchange, type, div_yield eps pe year_range open high low close.
To install Finance::Quote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Quote
CPAN shell
perl -MCPAN -e shell install Finance::Quote
For more information on module installation, please visit the detailed CPAN module installation guide.