Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Finance::Quote::AlphaVantage

Name Finance::Quote::AlphaVantage
Version 1.51
Located at /usr/share/perl5
File /usr/share/perl5/Finance/Quote/AlphaVantage.pm
Is Core No
Search CPAN for this module Finance::Quote::AlphaVantage
Documentation Finance::Quote::AlphaVantage
Module Details Finance::Quote::AlphaVantage

NAME

Finance::Quote::AlphaVantage - Obtain quotes from https://iexcloud.io


SYNOPSIS

    use Finance::Quote;

    $q = Finance::Quote->new('AlphaVantage', alphavantage => {API_KEY => 'your-alphavantage-api-key'});
    %info = Finance::Quote->fetch("IBM", "AAPL");


DESCRIPTION

This module fetches information from https://www.alphavantage.co.

This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing ``AlphaVantage'' in the argument list to Finance::Quote->new().

This module provides the ``alphavantage'' fetch method.


API_KEY

https://www.alphavantage.co requires users to register and obtain an API key, which is also called a token. The token is a sequence of random characters.

The API key may be set by either providing a module specific hash to Finance::Quote->new as in the above example, or by setting the environment variable ALPHAVANTAGE_API_KEY.


LABELS RETURNED

The following labels may be returned by Finance::Quote::AlphaVantage : symbol, open, close, high, low, last, volume, method, isodate, currency.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026