Finance::Quote::TreasuryDirect - Obtain bond quotes from Treasury Direct
$q = Finance::Quote->new;
%info = $q->fetch('treasurydirect', '912810QT8');
This module obtains individual bond quotes by CUSIP number from treasurydirect.gov
Information available from Treasury Direct may include the following labels:
method source symbol rate bid ask price date isodate
To install Finance::Quote, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.