Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Finance::Quote::TSP(3)User Contributed Perl DocumentatioFinance::Quote::TSP(3)

NAME
       Finance::Quote::TSP Obtain fund prices for US Federal Government	Thrift
       Savings Plan

SYNOPSIS
	   use Finance::Quote;

	   $q =	Finance::Quote->new;

	   %info = Finance::Quote->fetch("tsp","c"); #get value	of C "Common Stock Index Investment" Fund

DESCRIPTION
       This module fetches fund	information from the "Thrift Savings Plan"

	   http://www.tsp.gov

       using its fund prices page

	   https://www.tsp.gov/investmentfunds/shareprice/sharePriceHistory.shtml

       The quote symbols are

	   C	      common stock fund
	   F	      fixed income fund
	   G	      government securities fund
	   I	      international stock fund
	   S	      small cap	stock fund
	   L2020      lifecycle	fund year 2020
	   L2030      lifecycle	fund year 2030
	   L2040      lifecycle	fund year 2040
	   L2050      lifecycle	fund year 2050
	   LINCOME    lifecycle	income fund

LABELS RETURNED
       The following labels may	be returned by Finance::Quote::TSP :

	   name	       eg. "Common Stock Index Investment Fund"
	   date	       latest date, eg.	"21/02/10"
	   isodate     latest date, eg.	"2010-02-21"
	   last	       latest price, eg. "16.1053"
	   close       previous	day's price
	   nav	       same as "last"
	   currency    "USD"
	   method      "tsp"

       "nav" is	the same as "last" since the funds are quoted at their net
       asset value.

SEE ALSO
       Thrift Savings Plan, http://www.tsp.gov

perl v5.24.1			  2015-08-22		Finance::Quote::TSP(3)

NAME | SYNOPSIS | DESCRIPTION | LABELS RETURNED | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Finance::Quote::TSP&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help