Finance::Quote::USFedBonds(3pm) User Contributed Perl Documentation Finance::Quote::USFedBonds(3pm)
Finance::Quote::USFedBonds β Get US Federal Bond redemption values from http://www.treasurydirect.gov
| Use Case | Command | Description |
|---|---|---|
| π Fetch redemption value for a specific bond | %info = $q->fetch('usfedbonds', 'E197001.200606'); |
Retrieve redemption value for a US Federal Bond identified by series, issue date, and redemption date. |
| π Get price, date, and isodate | $info{'price'}, $info{'date'}, $info{'isodate'} |
Access the three returned labels: price, date, and isodate. |
| π§ Create a new Finance::Quote object | $q = Finance::Quote->new(); |
Initialize a new quote object to fetch financial data. |
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:
e.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.
perl v5.32.1 Β· 2021-09-01 Β· Finance::Quote::USFedBonds(3pm)
Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 00:04 @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