1Finance::Quote::AEX(3)User Contributed Perl DocumentationFinance::Quote::AEX(3)
2
3
4
6 Finance::Quote::AEX Obtain quotes from Amsterdam Euronext eXchange
7
9 use Finance::Quote;
10
11 $q = Finance::Quote->new;
12
13 %info = Finance::Quote->fetch("aex","AAB 93-08 7.5"); # Only query AEX
14 %info = Finance::Quote->fetch("dutch","AAB 93-08 7.5"); # Failover to other sources OK
15
16 # Fetch specific option
17 %info = Finance::Quote->fetch("aex_options","PHI C OCT 2007 20.00");
18
19 # Fetch all options in PHI
20 %info = Finance::Quote->fetch("aex_options","PHI");
21
22 # Fetch future in AEX
23 %info = Finance::Quote->fetch("aex_futures","FTI OCT 2005");
24
26 This module fetches information from the "Amsterdam Euronext eXchange
27 AEX" http://www.aex.nl. Only local Dutch investment funds and all
28 traded here options and futures are available.
29
30 This module is loaded by default on a Finance::Quote object. It's also
31 possible to load it explicity by placing "AEX" in the argument list to
32 Finance::Quote->new().
33
34 Information obtained by this module may be covered by www.aex.nl terms
35 and conditions See http://www.aex.nl/ for details.
36
37 Stocks And Indices
38
39 This module provides both the "aex" and "dutch" fetch methods for
40 fetching stock and index quotes. Please use the "dutch" fetch method
41 if you wish to have failover with future sources for Dutch stocks.
42 Using the "aex" method will guarantee that your information only comes
43 from the Euronext Amsterdam website.
44
45 Options
46
47 To fetch stock or index options quotes, use the "aex_options" method.
48 Specifying which option to fetch can be done in two ways: naming the
49 underlying value, or naming a specific option. In the first case, all
50 tradable options for the given underlying will be returned. In the
51 second case, only the requested options will be returned. When naming
52 an option, use a string consisting of the following single-space-sepa‐
53 rated fields (case insensitive):
54
55 <underlying symbol>
56 <call (C) or put (P) letter>
57 <three-letter expiration month>
58 <four-digit expiration year>
59 <strike price, including decimal point>
60
61 Example: "PHI C OCT 2007 20.00" is a call option in Philips, expiration
62 month October 2007, strike price 20.00 euro.
63
64 Since options series come and go (options expire, new option series
65 start being traded), a special label 'options' returns a list of all
66 options found (fetched) for a given underlying. This label is only
67 present for the underlyings (if requested).
68
69 When fetching individual options, more labels are returned (see below),
70 because in such case option data is fetched from a subframe. When this
71 is not relevant, the following trade-off may be considered: when fetch‐
72 ing options for a given underlying, all options are returned, what may
73 take up to 30s for 300 options (e.g for AEX Index); when fetching indi‐
74 vidual options, it takes ca 0.5s per option (on Pentium 75Mhz).
75
76 Futures
77
78 To fetch futures quotes in stocks or indices, use the "aex_futures"
79 method. Specifying which option to fetch can be done in two ways, sim‐
80 ilarly to options: providing the futures symbol, or naming a specific
81 futures series. In the first case, all tradable futures series will be
82 returned. In the second case, only the requested futures will be
83 returned. When naming a specific futures series use a string consist‐
84 ing of the following single-space-separated fields (case insensitive):
85
86 <futures symbol>
87 <three-letter expiration month>
88 <four-digit expiration year>
89
90 Example: "FTI OCT 2003" is a futures contract in AEX Index, expiration
91 month October 2003.
92
93 Similarly to options, a special label 'futures' returns a list of all
94 futures found (fetched) for a given futures symbol. This label is only
95 present for futures symbols requested, not for individual futures.
96
98 The following labels may be returned by Finance::Quote::AEX : name,
99 last, date, p_change, bid, offer, open, high, low, close, volume, cur‐
100 rency, method, exchange, time.
101
102 The following labels may be returned by Finance::Quote::AEX
103 "aex_options" method: name, options, last, price (=last), date, time,
104 bid, ask, open, high, low, close, currency, method, exchange.
105
106 The following additional labels may be returned by "aex_options" when
107 fetching individual options: volume oi trade_volume bid_time bid_volume
108 ask_time ask_volume. In such case label date is not returned.
109
110 The following labels may be returned by Finance::Quote::AEX
111 "aex_futures" method: name, price, last, date, time, change, bid, ask,
112 open, high, low, close, volume, currency, method, exchange.
113
115 Amsterdam Euronext eXchange, http://www.aex.nl
116
117
118
119perl v5.8.8 2007-01-08 Finance::Quote::AEX(3)