1Finance::Quote::TSP(3)User Contributed Perl DocumentationFinance::Quote::TSP(3)
2
3
4
6 Finance::Quote::TSP Obtain fund prices for US Federal Government Thrift
7 Savings Plan
8
10 use Finance::Quote;
11
12 $q = Finance::Quote->new;
13
14 %info = Finance::Quote->fetch("tsp","c"); #get value of C "Common Stock Index Investment" Fund
15
17 This module fetches fund information from the "Thrift Savings Plan"
18
19 http://www.tsp.gov
20
21 using its fund prices page
22
23 https://www.tsp.gov/investmentfunds/shareprice/sharePriceHistory.shtml
24
25 The quote symbols are
26
27 C common stock fund
28 F fixed income fund
29 G government securities fund
30 I international stock fund
31 S small cap stock fund
32 L2020 lifecycle fund year 2020
33 L2030 lifecycle fund year 2030
34 L2040 lifecycle fund year 2040
35 L2050 lifecycle fund year 2050
36 LINCOME lifecycle income fund
37
39 The following labels may be returned by Finance::Quote::TSP :
40
41 name eg. "Common Stock Index Investment Fund"
42 date latest date, eg. "21/02/10"
43 isodate latest date, eg. "2010-02-21"
44 last latest price, eg. "16.1053"
45 close previous day's price
46 nav same as "last"
47 currency "USD"
48 method "tsp"
49
50 "nav" is the same as "last" since the funds are quoted at their net
51 asset value.
52
54 Thrift Savings Plan, http://www.tsp.gov
55
56
57
58perl v5.28.1 2017-11-12 Finance::Quote::TSP(3)