{
    "content": [
        {
            "type": "text",
            "text": "# Finance::Quote::TSP (perldoc)\n\n## NAME\n\nFinance::Quote::TSP - Obtain fund prices for US Federal Government Thrift Savings Plan\n\n## SYNOPSIS\n\nuse Finance::Quote;\n$q = Finance::Quote->new;\n%info = Finance::Quote->fetch(\"tsp\",\"c\");       #get value of C - Common Stock Index Investment Fund\n%info = Finance::Quote->fetch(\"tsp\",\"l2040\");   #get value of the L2040 Lifecycle Fund\n%info = Finance::Quote->fetch(\"tsp\",\"lincome\"); #get value of the LINCOME Lifecycle Fund\n\n## DESCRIPTION\n\nThis module fetches fund information from the \"Thrift Savings Plan\"\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **LABELS RETURNED**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Finance::Quote::TSP",
        "section": "",
        "mode": "perldoc",
        "summary": "Finance::Quote::TSP - Obtain fund prices for US Federal Government Thrift Savings Plan",
        "synopsis": "use Finance::Quote;\n$q = Finance::Quote->new;\n%info = Finance::Quote->fetch(\"tsp\",\"c\");       #get value of C - Common Stock Index Investment Fund\n%info = Finance::Quote->fetch(\"tsp\",\"l2040\");   #get value of the L2040 Lifecycle Fund\n%info = Finance::Quote->fetch(\"tsp\",\"lincome\"); #get value of the LINCOME Lifecycle Fund",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "LABELS RETURNED",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Finance::Quote::TSP - Obtain fund prices for US Federal Government Thrift Savings Plan\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Finance::Quote;\n\n$q = Finance::Quote->new;\n\n%info = Finance::Quote->fetch(\"tsp\",\"c\");       #get value of C - Common Stock Index Investment Fund\n%info = Finance::Quote->fetch(\"tsp\",\"l2040\");   #get value of the L2040 Lifecycle Fund\n%info = Finance::Quote->fetch(\"tsp\",\"lincome\"); #get value of the LINCOME Lifecycle Fund\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module fetches fund information from the \"Thrift Savings Plan\"\n\nhttp://www.tsp.gov\n\nThe quote symbols are\n\nC          common stock fund\nF          fixed income fund\nG          government securities fund\nI          international stock fund\nS          small cap stock fund\nLX         lifecycle fund X (eg 2050 or INCOME)\n",
                "subsections": []
            },
            "LABELS RETURNED": {
                "content": "The following labels are returned by Finance::Quote::TSP :\n\ndate        latest date, eg. \"21/02/10\"\nisodate     latest date, eg. \"2010-02-21\"\nlast        latest available price, eg. \"16.1053\"\ncurrency    \"USD\"\nmethod      \"tsp\"\nsource      TSP URL\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Thrift Savings Plan, http://www.tsp.gov\n",
                "subsections": []
            }
        }
    }
}