Finance::Quote::TSP Obtain fund prices for US Federal Government Thrift Savings Plan
use Finance::Quote; $q = Finance::Quote->new; %info = Finance::Quote->fetch("tsp","c"); #get value of C "Common Stock Index Investment" Fund
This module fetches fund information from the "Thrift Savings Plan" homepage http://www.tsp.gov.
The following labels may be returned by Finance::Quote::TSP : name nav date currency method
Thrift Savings Plan, http://www.tsp.gov
To install Finance::Quote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Quote
CPAN shell
perl -MCPAN -e shell install Finance::Quote
For more information on module installation, please visit the detailed CPAN module installation guide.