The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Finance::Quote::AEX Obtain quotes from Amsterdam Euronext eXchange

SYNOPSIS

    use Finance::Quote;

    $q = Finance::Quote->new;

    %info = Finance::Quote->fetch("aex","AAB 93-08 7.5");  # Only query AEX
    %info = Finance::Quote->fetch("dutch","AAB 93-08 7.5"); # Failover to other sources OK 

    # Fetch specific option
    %info = Finance::Quote->fetch("aex_options","PHI C OCT 2007 20.00");

    # Fetch all options in PHI
    %info = Finance::Quote->fetch("aex_options","PHI");

    # Fetch future in AEX
    %info = Finance::Quote->fetch("aex_futures","FTI OCT 2005");

DESCRIPTION

This module fetches information from the "Amsterdam Euronext eXchange AEX" http://www.aex.nl. Only local Dutch investment funds and all traded here options and futures are available.

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

Information obtained by this module may be covered by www.aex.nl terms and conditions See http://www.aex.nl/ for details.

Stocks And Indices

This module provides both the "aex" and "dutch" fetch methods for fetching stock and index quotes. Please use the "dutch" fetch method if you wish to have failover with future sources for Dutch stocks. Using the "aex" method will guarantee that your information only comes from the Euronext Amsterdam website.

Options

To fetch stock or index options quotes, use the "aex_options" method. Specifying which option to fetch can be done in two ways: naming the underlying value, or naming a specific option. In the first case, all tradable options for the given underlying will be returned. In the second case, only the requested options will be returned. When naming an option, use a string consisting of the following single-space-separated fields (case insensitive):

    <underlying symbol>
    <call (C) or put (P) letter>
    <three-letter expiration month>
    <four-digit expiration year>
    <strike price, including decimal point>

Example: "PHI C OCT 2007 20.00" is a call option in Philips, expiration month October 2007, strike price 20.00 euro.

Since options series come and go (options expire, new option series start being traded), a special label 'options' returns a list of all options found (fetched) for a given underlying. This label is only present for the underlyings (if requested).

When fetching individual options, more labels are returned (see below), because in such case option data is fetched from a subframe. When this is not relevant, the following trade-off may be considered: when fetching options for a given underlying, all options are returned, what may take up to 30s for 300 options (e.g for AEX Index); when fetching individual options, it takes ca 0.5s per option (on Pentium 75Mhz).

Futures

To fetch futures quotes in stocks or indices, use the "aex_futures" method. Specifying which option to fetch can be done in two ways, similarly to options: providing the futures symbol, or naming a specific futures series. In the first case, all tradable futures series will be returned. In the second case, only the requested futures will be returned. When naming a specific futures series use a string consisting of the following single-space-separated fields (case insensitive):

    <futures symbol>
    <three-letter expiration month>
    <four-digit expiration year>

Example: "FTI OCT 2003" is a futures contract in AEX Index, expiration month October 2003.

Similarly to options, a special label 'futures' returns a list of all futures found (fetched) for a given futures symbol. This label is only present for futures symbols requested, not for individual futures.

LABELS RETURNED

The following labels may be returned by Finance::Quote::AEX : name, last, date, p_change, bid, offer, open, high, low, close, volume, currency, method, exchange, time.

The following labels may be returned by Finance::Quote::AEX "aex_options" method: name, options, last, price (=last), date, time, bid, ask, open, high, low, close, currency, method, exchange.

The following additional labels may be returned by "aex_options" when fetching individual options: volume oi trade_volume bid_time bid_volume ask_time ask_volume. In such case label date is not returned.

The following labels may be returned by Finance::Quote::AEX "aex_futures" method: name, price, last, date, time, change, bid, ask, open, high, low, close, volume, currency, method, exchange.

SEE ALSO

Amsterdam Euronext eXchange, http://www.aex.nl