GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FINANCE::QUOTEHIST::DAILYFINANCE (3)

.ds Aq ’

NAME

Finance::QuoteHist::DailyFinance - Site-specific class for retrieving historical stock quotes.

CONTENTS

SYNOPSIS



  use Finance::QuoteHist::DailyFinance;
  $q = Finance::QuoteHist::DailyFinance->new
     (
      symbols    => [qw(IBM UPS AMZN)],
      start_date => 01/01/2005,
      end_date   => today,
     );

  foreach $row ($q->quotes()) {
    ($symbol, $date, $open, $high, $low, $close, $volume) = @$row;
    ...
  }



DESCRIPTION

Finance::QuoteHist::DailyFinance is a subclass of Finance::QuoteHist::Generic, specifically tailored to read historical quotes from the Daily Finance web site (http://www.dailyfinance.com/).

DailyFinance offers only daily granularity for quotes.

DailyFinance does not currently provide information on dividends or splits.

Please see Finance::QuoteHist::Generic(3) for more details on usage and available methods. If you just want to get historical quotes and are not interested in the details of how it is done, check out Finance::QuoteHist(3).

METHODS

The basic user interface consists of a single method, as shown in the example above. That method is:
quotes() Returns a list of rows (or a reference to an array containing those rows, if in scalar context). Each row contains the <B>SymbolB>, <B>DateB>, <B>OpenB>, <B>HighB>, <B>LowB>, <B>CloseB>, and <B>VolumeB> for that date. Quote values are pre-adjusted for this site.

REQUIRES

Finance::QuoteHist::Generic(3)

DISCLAIMER

The data returned from these modules is in no way guaranteed, nor are the developers responsible in any way for how this data (or lack thereof) is used. The interface is based on URLs and page layouts that might change at any time. Even though these modules are designed to be adaptive under these circumstances, they will at some point probably be unable to retrieve data unless fixed or provided with new parameters. Furthermore, the data from these web sites is usually not even guaranteed by the web sites themselves, and oftentimes is acquired elsewhere.

Details for DailyFinance’s terms of use can be found here: http://legal.aol.com/TOS/

If you still have concerns, then use another site-specific historical quote instance, or none at all.

Above all, play nice.

AUTHOR

Matthew P. Sisk, <sisk@mojotoad.com>

COPYRIGHT

Copyright (c) 2013 Matthew P. Sisk. All rights reserved. All wrongs revenged. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Finance::QuoteHist::Generic(3), Finance::QuoteHist(3), perl(1).
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FINANCE::QUOTEHIST::DAILYFINANCE (3) 2015-01-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.