Finance::Quote::USFedBonds - Get US Federal Bond redemption values from http://www.treasurydirect.gov
| Use Case | Command | Description |
|---|---|---|
| Fetch US Federal Bond redemption values | $q->fetch('usfedbonds', 'BOND_ID') | Retrieve redemption values for a bond identified by series, issue date, and redemption date format. |
| Example fetch | $q->fetch('usfedbonds', 'E197001.200606') | Fetch for bond with series E, issued 197001, redeemed 200606. |
Replace BOND_ID with the bond identifier as described in the documentation.
use Finance::Quote;
$q = Finance::Quote->new();
%info = $q->fetch('usfedbonds', 'E197001.200606');
Access redemption values for US Federal Bonds from the treasury.
Bonds should be identified in the following manner:
I/E/N/SYYYYMM.YYYYMMe.g. E200101.200501
Use of www.treasurydirect.gov is governed by any terms & conditions of that site.
Finance::Quote is released under the GNU General Public License, version 2, which explicitly carries a "No Warranty" clause.
Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 01:36 @2600:1f28:365:80b0:d8a5:c3c6:bf94:28c0
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format