View on
MetaCPAN
Erik Colson > Finance-Quote-1.45 > Finance::Quote::USFedBonds

Download:
Finance-Quote-1.45.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  40
Open  17
View/Report Bugs
Module Version: 1.45   Source   Latest Release: Finance-Quote-1.47

NAME ^

Finance::Quote::USFedBonds Get US Federal Bond redemption values directly from the treasury at www.publicdebt.treas.gov/sav/savvalue.htm

SYNOPSIS ^

    use Finance::Quote;

    $q = Finance::Quote->new;

    # Don't know anything about failover yet...

DESCRIPTION ^

Access redemption values for US Federal Bonds from the treasury.

Bonds should be identified in the following manner (as per www.piblicdebt.treas.gov/sav/savfrmat.htm):

SERIES(1) : I/E/N/S

ISSUEDATE(6) : YYYYMM

SEPERATOR(1) : "."

REDEMPTIONDATE(6) : YYYYMM

e.g. E200101.200501

Would have liked to get data from this source (http://wwws.publicdebt.treas.gov/BC/SBCPrice), but I couldn't work out how to get the POST to pass the IssueDate, for some reason the <input> tags are messed on that page???

LABELS RETURNED ^

...

SEE ALSO ^

Treasury website - http://www.publicdebt.treas.gov/

Finance::Quote

AUTHOR Stephen Langenhoven (langenhoven@users.sourceforge.net), see module ZA for further acknowledgements. ^

syntax highlighting: