| 1 | # Amsterdam Stock Exchange (AEX) setups. | ||
| 2 | |||
| 3 | # Copyright 2007, 2008, 2009 Kevin Ryde | ||
| 4 | |||
| 5 | # This file is part of Chart. | ||
| 6 | # | ||
| 7 | # Chart is free software; you can redistribute it and/or modify it under the | ||
| 8 | # terms of the GNU General Public License as published by the Free Software | ||
| 9 | # Foundation; either version 3, or (at your option) any later version. | ||
| 10 | # | ||
| 11 | # Chart is distributed in the hope that it will be useful, but WITHOUT ANY | ||
| 12 | # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
| 13 | # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
| 14 | # details. | ||
| 15 | # | ||
| 16 | # You should have received a copy of the GNU General Public License along | ||
| 17 | # with Chart. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | |||
| 19 | package App::Chart::Suffix::AS; | ||
| 20 | use 5.006; | ||
| 21 | use strict; | ||
| 22 | use warnings; | ||
| 23 | use Locale::TextDomain 'App-Chart'; | ||
| 24 | |||
| 25 | use App::Chart; | ||
| 26 | use App::Chart::Sympred; | ||
| 27 | use App::Chart::Yahoo; | ||
| 28 | |||
| 29 | our $timezone_amsterdam = App::Chart::TZ->new | ||
| 30 | (name => __('Amsterdam'), | ||
| 31 | choose => [ 'Europe/Amsterdam' ], | ||
| 32 | fallback => 'CET-1'); | ||
| 33 | my $pred = App::Chart::Sympred::Regexp->new (qr/^\^AEX|\.AS$/); | ||
| 34 | $timezone_amsterdam->setup_for_symbol ($pred); | ||
| 35 | |||
| 36 | |||
| 37 | #------------------------------------------------------------------------------ | ||
| 38 | # weblink - only the home page for now ... | ||
| 39 | # | ||
| 40 | |||
| 41 | App::Chart::Weblink->new | ||
| 42 | (pred => $pred, | ||
| 43 | name => __('_AEX Home Page'), | ||
| 44 | desc => __('Open web browser at the Amsterdam Stock Exchange home page'), | ||
| 45 | url => 'http://www.aex.nl'); | ||
| 46 | |||
| 47 | |||
| 48 | 1; | ||
| 49 | __END__ |