1Finance::Quote::USFedBoUnsdesr(3C)ontributed Perl DocumeFnitnaatnicoen::Quote::USFedBonds(3)
2
3
4
6 Finance::Quote::USFedBonds - Get US Federal Bond redemption values from
7 http://www.treasurydirect.gov
8
10 use Finance::Quote;
11
12 $q = Finance::Quote->new();
13 %info = $q->fetch('usfedbonds', 'E197001.200606');
14
16 Access redemption values for US Federal Bonds from the treasury.
17
18 Bonds should be identified in the following manner:
19
20 SERIES(1) : I/E/N/S
21
22 ISSUEDATE(6) : YYYYMM
23
24 SEPERATOR(1) : "."
25
26 REDEMPTIONDATE(6) : YYYYMM
27
28 e.g. E200101.200501
29
31 price, date, isodate
32
34 Use of www.treasurydirect.gov is governed by any terms & conditions of
35 that site.
36
37 Finance::Quote is released under the GNU General Public License,
38 version 2, which explicitly carries a "No Warranty" clause.
39
40
41
42perl v5.34.0 2021-11-10 Finance::Quote::USFedBonds(3)