Finance::Quote::TSP - Obtain fund prices for US Federal Government Thrift Savings Plan
| Use Case | Command | Description |
|---|---|---|
| Get Common Stock Index Fund price | Finance::Quote->fetch("tsp","c") | Retrieve latest price of the C fund (Common Stock Index Investment Fund) |
| Get L2040 Lifecycle Fund price | Finance::Quote->fetch("tsp","l2040") | Retrieve latest price of the L2040 Lifecycle Fund |
| Get LINCOME Lifecycle Fund price | Finance::Quote->fetch("tsp","lincome") | Retrieve latest price of the LINCOME Lifecycle Fund |
use Finance::Quote;
$q = Finance::Quote->new;
%info = Finance::Quote->fetch("tsp","c"); #get value of C - Common Stock Index Investment Fund
%info = Finance::Quote->fetch("tsp","l2040"); #get value of the L2040 Lifecycle Fund
%info = Finance::Quote->fetch("tsp","lincome"); #get value of the LINCOME Lifecycle Fund
This module fetches fund information from the "Thrift Savings Plan"
The quote symbols are
The following labels are returned by Finance::Quote::TSP:
Thrift Savings Plan, http://www.tsp.gov
Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 03:07 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format