Finance...ote::TSP(3)

✨ NAME ✨

okay so bestie, welcome to the Finance...ote::TSP(3) page β€” yep, that's the manual name, filed under User Contributed Perl Documentation πŸ’…. The module itself is Finance::Quote::TSP, and its whole main-character job is: Obtain fund prices for US Federal Government Thrift Savings Plan. periodt. πŸ’–

🌸 SYNOPSIS 🌸

slay, here's the group-chat demo, fr fr:

use Finance::Quote;

$q = Finance::Quote->new;

%info = $q->fetch('tsp','c');       #get value of C - Common Stock Index Investment Fund
%info = $q->fetch('tsp','l2040');   #get value of the L2040 Lifecycle Fund
%info = $q->fetch('tsp','lincome'); #get value of the LINCOME Lifecycle Fund

πŸ¦‹ DESCRIPTION πŸ¦‹

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

http://www.tsp.gov

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
  • LX β€” lifecycle fund X (eg 2050 or INCOME)

πŸŽ€ LABELS RETURNED πŸŽ€

The following labels are returned by Finance::Quote::TSP :

  • date β€” latest date, eg. "21/02/10"
  • isodate β€” latest date, eg. "2010-02-21"
  • last β€” latest available price, eg. "16.1053"
  • currency β€” "USD"
  • method β€” "tsp"
  • source β€” TSP URL

πŸ‘‘ SEE ALSO πŸ‘‘

Thrift Savings Plan, http://www.tsp.gov ✨


πŸ’– cute sign-off: this page is from perl v5.32.1, dated 2026-10-26, and it's Finance...ote::TSP(3) β€” User Contributed Perl Documentation. mwah 🫢
πŸ“¦ where this page comes from