Finance::Quote::MarketWatch - Obtain quotes from MarketWatch Website
use Finance::Quote; $q = Finance::Quote->new; %info = $q->fetch("marketwatch", "aapl"); # Only query marketwatch %info = $q->fetch("nyse", "f"); # Failover to other sources OK.
This module fetches information from https://www.marketwatch.com/.
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing "marketwatch" in the argument list to Finance::Quote->new().
This module provides "marketwatch", "nyse", and "nasdaq" fetch methods.
The following labels are returned:
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.