1Finance::Quote::TSP(3)User Contributed Perl DocumentationFinance::Quote::TSP(3)
2
3
4

NAME

6       Finance::Quote::TSP Obtain fund prices for US Federal Government Thrift
7       Savings Plan
8

SYNOPSIS

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

DESCRIPTION

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

LABELS RETURNED

39       The following labels may be returned by Finance::Quote::TSP :
40
41           name        eg. "Lifecycle 2050 Fund"
42           date        latest date, eg. "21/02/10"
43           isodate     latest date, eg. "2010-02-21"
44           last        latest available price, eg. "16.1053"
45           currency    "USD"
46           method      "tsp"
47           source      TSP URL
48

SEE ALSO

50       Thrift Savings Plan, http://www.tsp.gov
51
52
53
54perl v5.30.1                      2020-01-30            Finance::Quote::TSP(3)
Impressum