NAME
Finance::Quote::Hollywood - download Hollywood Stock Exchange quotes
SYNOPSIS
use Finance::Quote;
my $quoter = Finance::Quote->new ('-defaults', 'Hollywood');
my %quotes = $quoter->fetch('hollywood','EBANA','ZORRO');
DESCRIPTION
This module downloads stock quotes from the Hollywood Stock Exchange game
Using pages like
http://movies.hsx.com/servlet/SecurityDetail?symbol=EBANA
Both stars stock quotes and movie stock quotes can be fetched, under the symbols shown on the pages. The home page has a symbol search.
The HSX web site is for use under terms described
http://www.hsx.com/about/terms.htm
As of May 2008 it's for personal non-commercial enjoyment only. It's your responsibility to ensure your use of this module complies with those terms.
USAGE
This module is not in the Finance::Quote defaults, but can be loaded in the usual ways, either an environment variable
FQ_LOAD_QUOTELET="-defaults Hollywood"
export FQ_LOAD_QUOTELET
or in the quoter creation in your code
my $quoter = Finance::Quote->new ('-defaults', 'Hollywood');
The -defaults can be omitted if you don't want the standard modules, just Hollywood.
A single fetch method hollywood is provided, so for example with the sample chkshares.pl script from Finance::Quote
FQ_LOAD_QUOTELET="Hollywood" ./chkshares.pl hollywood EBANA
or in your own code
my %quotes = $quoter->fetch ('hollywood', 'EBANA');
print "last price ", $quotes{'EBANA','last'}, "\n";
Each symbol is a separate HTTP request, so there's no particular need to group them in a single fetch call.
FIELDS
The following fields are available
date isodate name status
last net volume
week_high week_low week_range
month_high month_low month_range
season_high season_low season_range
year_high year_low year_range
method copyright_url
status is a string "Active", "Halted" or "Inactive".
SEE ALSO
HOME PAGE
http://www.geocities.com/user42_kevin/finance-quote-hollywood/
LICENCE
Copyright 2008 Kevin Ryde
Finance-Quote-Hollywood is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Finance-Quote-Hollywood is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Finance-Quote-Hollywood; see the file COPYING. If not, see http://www.gnu.org/licenses/.