NAME
Finance::Quote::USBonds - Obtain quotes for US Federal Bonds in the E, EE, or I series from the Treasury Direct website, http://www.treasurydirect.gov.
SYNOPSIS
use Finance::Quote ;
$q = Finance::Quote->new ;
%quote = $q->fetch ( "usbonds", "\EE-100-1993-10" ) ;
DESCRIPTION
Module obtains quote information from the Treasury Direct website, www.treasurydirect.gov. Given a bond symbol, obtains the current prices for it.
The symbol nomenclature is as follows:
SS-DDDDD-YYYY-MM
Where SS = series (EE, E, or I) DDDDD = denomination YYYY = year issued MM = month issued
For example, 'EE-500-1988-02'
The symbols supplied are checked for format and validity. For example, bonds were only issued after 1942, only the specific denominations issued for EE bonds are allowed, etc.
LABELS RETURNED
The following labels may be returned by Finance::Quote::USBonds: exchange method source symbol currency date isodate version price
SEE ALSO
Treasury bond value web interface - http://www.treasurydirect.gov/BC/SBCPrice
Finance::Quote
AUTHOR
Kenneth J. Farley