Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 39466
Status: resolved
Priority: 0/
Queue: Finance-Quote

People
Owner: eco [...] ecocode.net
Requestors: eco [...] ecocode.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: from sourceforge : Additional TIAA-CREF codes needed (patch included)
I have added codes for TIAA-CREF Retirement Class mutual funds to Tiaacref.pm. Quotes for these funds are not available using Yahoo Submitted By: Randy Cushman - randy08 Date Submitted: 2008-04-07 00:38
Subject: Tiaacref.diff
--- Tiaacref.pm.sav 2008-04-06 13:42:20.000000000 -0400 +++ Tiaacref.pm 2008-04-06 20:20:12.000000000 -0400 @@ -96,10 +96,52 @@ # TIAA-CREF Social Choice Equity: TCSCX # TIAA-CREF Managed Allocation: TIMAX +# TIAA-CREF Lifecycle Funds (Retirement Class): +# TIAA-CREF Lifecycle Fund 2010 TCLEX +# TIAA-CREF Lifecycle Fund 2015 TCLIX +# TIAA-CREF Lifecycle Fund 2020 TCLTX +# TIAA-CREF Lifecycle Fund 2025 TCLFX +# TIAA-CREF Lifecycle Fund 2030 TCLNX +# TIAA-CREF Lifecycle Fund 2035 TCLRX +# TIAA-CREF Lifecycle Fund 2040 TCLOX +# TIAA-CREF Lifecycle Fund 2045 TTFRX +# TIAA-CREF Lifecycle Fund 2050 TLFRX +# TIAA-CREF Lifecycle Retirement Income TLIRX + +# TIAA-CREF Institutional Mutual Funds (Retirement Class): +# TIAA-CREF Growth & Income TRGIX +# TIAA-CREF International Equity TRERX +# TIAA-CREF Large-Cap Value TRLCX +# TIAA-CREF Mid-Cap Growth TRGMX +# TIAA-CREF Mid-Cap Value TRVRX +# TIAA-CREF Real Estate Securities TRRSX +# TIAA-CREF Small-Cap Equity TRSEX +# TIAA-CREF Social Choice Equity TRSCX +# TIAA-CREF S&P 500 Index TRSPX +# TIAA-CREF Large-Cap Growth Index TRIRX +# TIAA-CREF Large-Cap Value Index TRCVX +# TIAA-CREF Mid-Cap Blend Index TRMBX +# TIAA-CREF Mid-Cap Growth Index TRMGX +# TIAA-CREF Mid-Cap Value Index TRVUX +# TIAA-CREF Small-Cap Blend Index TRBIX +# TIAA-CREF Small-Cap Growth Index TRCGX +# TIAA-CREF Small-Cap Value Index TRSVX +# TIAA-CREF International Equity Index TRIEX +# TIAA-CREF Large-Cap Growth TILRX +# TIAA-CREF High-Yield II TIHRX +# TIAA-CREF Bond Plus II TCBRX +# TIAA-CREF Short-Term Bond II TISRX +# TIAA-CREF Managed Allocation II TITRX +# TIAA-CREF Bond TIDRX +# TIAA-CREF Equity Index TIQRX +# TIAA-CREF Inflation-Linked Bond TIKRX +# TIAA-CREF Money Market TIEXX # # This subroutine was written by Brent Neal <brentn@users.sourceforge.net> # Modified to support new TIAA-CREF webpages by Kevin Foss <kfoss@maine.edu> and Brent Neal +# Modified to support TIAA-CREF retirement investments by Randy Cushman<rcushman_linux@roadrunner.com> +# (see http://www.tiaa-cref.org/performance/retirement/data/index.html) # # TODO: @@ -157,6 +199,45 @@ $tiaacref_ids{"TCSCX"} = "TIAA-CREF Social Choice Equity"; $tiaacref_ids{"TIMAX"} = "TIAA-CREF Managed Allocation"; + + $tiaacref_ids{"TCLEX"} = "TIAA-CREF Ret Lifecycle Fund 2010"; + $tiaacref_ids{"TCLIX"} = "TIAA-CREF Ret Lifecycle Fund 2015"; + $tiaacref_ids{"TCLTX"} = "TIAA-CREF Ret Lifecycle Fund 2020"; + $tiaacref_ids{"TCLFX"} = "TIAA-CREF Ret Lifecycle Fund 2025"; + $tiaacref_ids{"TCLNX"} = "TIAA-CREF Ret Lifecycle Fund 2030"; + $tiaacref_ids{"TCLRX"} = "TIAA-CREF Ret Lifecycle Fund 2035"; + $tiaacref_ids{"TCLOX"} = "TIAA-CREF Ret Lifecycle Fund 2040"; + $tiaacref_ids{"TTFRX"} = "TIAA-CREF Ret Lifecycle Fund 2045"; + $tiaacref_ids{"TLFRX"} = "TIAA-CREF Ret Lifecycle Fund 2050"; + $tiaacref_ids{"TLIRX"} = "TIAA-CREF Ret Lifecycle Retirement Income"; + + $tiaacref_ids{"TRGIX"} = "TIAA-CREF Ret Growth & Income"; + $tiaacref_ids{"TRERX"} = "TIAA-CREF Ret International Equity"; + $tiaacref_ids{"TRLCX"} = "TIAA-CREF Ret Large-Cap Value"; + $tiaacref_ids{"TRGMX"} = "TIAA-CREF Ret Mid-Cap Growth"; + $tiaacref_ids{"TRVRX"} = "TIAA-CREF Ret Mid-Cap Value"; + $tiaacref_ids{"TRRSX"} = "TIAA-CREF Ret Real Estate Securities"; + $tiaacref_ids{"TRSEX"} = "TIAA-CREF Ret Small-Cap Equity"; + $tiaacref_ids{"TRSCX"} = "TIAA-CREF Ret Social Choice Equity"; + $tiaacref_ids{"TRSPX"} = "TIAA-CREF Ret S&P 500 Index"; + $tiaacref_ids{"TRIRX"} = "TIAA-CREF Ret Large-Cap Growth Index"; + $tiaacref_ids{"TRCVX"} = "TIAA-CREF Ret Large-Cap Value Index"; + $tiaacref_ids{"TRMBX"} = "TIAA-CREF Ret Mid-Cap Blend Index"; + $tiaacref_ids{"TRMGX"} = "TIAA-CREF Ret Mid-Cap Growth Index"; + $tiaacref_ids{"TRVUX"} = "TIAA-CREF Ret Mid-Cap Value Index"; + $tiaacref_ids{"TRBIX"} = "TIAA-CREF Ret Small-Cap Blend Index"; + $tiaacref_ids{"TRCGX"} = "TIAA-CREF Ret Small-Cap Growth Index"; + $tiaacref_ids{"TRSVX"} = "TIAA-CREF Ret Small-Cap Value Index"; + $tiaacref_ids{"TRIEX"} = "TIAA-CREF Ret International Equity Index"; + $tiaacref_ids{"TILRX"} = "TIAA-CREF Ret Large-Cap Growth"; + $tiaacref_ids{"TIHRX"} = "TIAA-CREF Ret High-Yield II"; + $tiaacref_ids{"TCBRX"} = "TIAA-CREF Ret Bond Plus II"; + $tiaacref_ids{"TISRX"} = "TIAA-CREF Ret Short-Term Bond II"; + $tiaacref_ids{"TITRX"} = "TIAA-CREF Ret Managed Allocation II"; + $tiaacref_ids{"TIDRX"} = "TIAA-CREF Ret Bond"; + $tiaacref_ids{"TIQRX"} = "TIAA-CREF Ret Equity Index"; + $tiaacref_ids{"TIKRX"} = "TIAA-CREF Ret Inflation-Linked Bond"; + $tiaacref_ids{"TIEXX"} = "TIAA-CREF Ret Money Market"; } if (! %tiaacref_vals) { @@ -200,6 +281,45 @@ $tiaacref_vals{"TCSCX"} = "83"; $tiaacref_vals{"TIMAX"} = "74"; + + $tiaacref_vals{"TCLEX"} = "1650"; + $tiaacref_vals{"TCLIX"} = "1651"; + $tiaacref_vals{"TCLTX"} = "1652"; + $tiaacref_vals{"TCLFX"} = "1653"; + $tiaacref_vals{"TCLNX"} = "1654"; + $tiaacref_vals{"TCLRX"} = "1655"; + $tiaacref_vals{"TCLOX"} = "1656"; + $tiaacref_vals{"TTFRX"} = "1657"; + $tiaacref_vals{"TLFRX"} = "1658"; + $tiaacref_vals{"TLIRX"} = "1659"; + + $tiaacref_vals{"TRGIX"} = "1616"; + $tiaacref_vals{"TRERX"} = "1618"; + $tiaacref_vals{"TRLCX"} = "1619"; + $tiaacref_vals{"TRGMX"} = "1620"; + $tiaacref_vals{"TRVRX"} = "1621"; + $tiaacref_vals{"TRRSX"} = "1622"; + $tiaacref_vals{"TRSEX"} = "1633"; + $tiaacref_vals{"TRSCX"} = "1617"; + $tiaacref_vals{"TRSPX"} = "1623"; + $tiaacref_vals{"TRIRX"} = "1624"; + $tiaacref_vals{"TRCVX"} = "1625"; + $tiaacref_vals{"TRMBX"} = "1626"; + $tiaacref_vals{"TRMGX"} = "1627"; + $tiaacref_vals{"TRVUX"} = "1628"; + $tiaacref_vals{"TRBIX"} = "1629"; + $tiaacref_vals{"TRCGX"} = "1630"; + $tiaacref_vals{"TRSVX"} = "1631"; + $tiaacref_vals{"TRIEX"} = "1632"; + $tiaacref_vals{"TILRX"} = "1635"; + $tiaacref_vals{"TIHRX"} = "1637"; + $tiaacref_vals{"TCBRX"} = "1638"; + $tiaacref_vals{"TISRX"} = "1639"; + $tiaacref_vals{"TITRX"} = "1636"; + $tiaacref_vals{"TIDRX"} = "1641"; + $tiaacref_vals{"TIQRX"} = "1643"; + $tiaacref_vals{"TIKRX"} = "1640"; + $tiaacref_vals{"TIEXX"} = "1642"; } #The location doesn't matter anymore. @@ -247,6 +367,45 @@ $tiaacref_locs{"TCSCX"} = 1; $tiaacref_locs{"TIMAX"} = 1; + + $tiaacref_locs{"TCLEX"} = 1; + $tiaacref_locs{"TCLIX"} = 1; + $tiaacref_locs{"TCLTX"} = 1; + $tiaacref_locs{"TCLFX"} = 1; + $tiaacref_locs{"TCLNX"} = 1; + $tiaacref_locs{"TCLRX"} = 1; + $tiaacref_locs{"TCLOX"} = 1; + $tiaacref_locs{"TTFRX"} = 1; + $tiaacref_locs{"TLFRX"} = 1; + $tiaacref_locs{"TLIRX"} = 1; + + $tiaacref_locs{"TRGIX"} = 1; + $tiaacref_locs{"TRERX"} = 1; + $tiaacref_locs{"TRLCX"} = 1; + $tiaacref_locs{"TRGMX"} = 1; + $tiaacref_locs{"TRVRX"} = 1; + $tiaacref_locs{"TRRSX"} = 1; + $tiaacref_locs{"TRSEX"} = 1; + $tiaacref_locs{"TRSCX"} = 1; + $tiaacref_locs{"TRSPX"} = 1; + $tiaacref_locs{"TRIRX"} = 1; + $tiaacref_locs{"TRCVX"} = 1; + $tiaacref_locs{"TRMBX"} = 1; + $tiaacref_locs{"TRMGX"} = 1; + $tiaacref_locs{"TRVUX"} = 1; + $tiaacref_locs{"TRBIX"} = 1; + $tiaacref_locs{"TRCGX"} = 1; + $tiaacref_locs{"TRSVX"} = 1; + $tiaacref_locs{"TRIEX"} = 1; + $tiaacref_locs{"TILRX"} = 1; + $tiaacref_locs{"TIHRX"} = 1; + $tiaacref_locs{"TCBRX"} = 1; + $tiaacref_locs{"TISRX"} = 1; + $tiaacref_locs{"TITRX"} = 1; + $tiaacref_locs{"TIDRX"} = 1; + $tiaacref_locs{"TIQRX"} = 1; + $tiaacref_locs{"TIKRX"} = 1; + $tiaacref_locs{"TIEXX"} = 1; } my(@funds) = @_; return unless @funds; @@ -280,7 +439,7 @@ $info{$fund,"errormsg"} = "Bad symbol"; } } - $urlc .= "days=1"; + $urlc .= "days=1&dldformat=1&maxsize=9999"; $urlt .= "selected=1"; $qdata =""; @@ -397,6 +556,46 @@ TIAA-CREF Social Choice Equity: TCSCX TIAA-CREF Managed Allocation: TIMAX + TIAA-CREF Lifecycle Funds (Retirement Class): + TIAA-CREF Lifecycle Fund 2010 TCLEX + TIAA-CREF Lifecycle Fund 2015 TCLIX + TIAA-CREF Lifecycle Fund 2020 TCLTX + TIAA-CREF Lifecycle Fund 2025 TCLFX + TIAA-CREF Lifecycle Fund 2030 TCLNX + TIAA-CREF Lifecycle Fund 2035 TCLRX + TIAA-CREF Lifecycle Fund 2040 TCLOX + TIAA-CREF Lifecycle Fund 2045 TTFRX + TIAA-CREF Lifecycle Fund 2050 TLFRX + TIAA-CREF Lifecycle Retirement Income TLIRX + + TIAA-CREF Institutional Mutual Funds (Retirement Class): + TIAA-CREF Growth & Income TRGIX + TIAA-CREF International Equity TRERX + TIAA-CREF Large-Cap Value TRLCX + TIAA-CREF Mid-Cap Growth TRGMX + TIAA-CREF Mid-Cap Value TRVRX + TIAA-CREF Real Estate Securities TRRSX + TIAA-CREF Small-Cap Equity TRSEX + TIAA-CREF Social Choice Equity TRSCX + TIAA-CREF S&P 500 Index TRSPX + TIAA-CREF Large-Cap Growth Index TRIRX + TIAA-CREF Large-Cap Value Index TRCVX + TIAA-CREF Mid-Cap Blend Index TRMBX + TIAA-CREF Mid-Cap Growth Index TRMGX + TIAA-CREF Mid-Cap Value Index TRVUX + TIAA-CREF Small-Cap Blend Index TRBIX + TIAA-CREF Small-Cap Growth Index TRCGX + TIAA-CREF Small-Cap Value Index TRSVX + TIAA-CREF International Equity Index TRIEX + TIAA-CREF Large-Cap Growth TILRX + TIAA-CREF High-Yield II TIHRX + TIAA-CREF Bond Plus II TCBRX + TIAA-CREF Short-Term Bond II TISRX + TIAA-CREF Managed Allocation II TITRX + TIAA-CREF Bond TIDRX + TIAA-CREF Equity Index TIQRX + TIAA-CREF Inflation-Linked Bond TIKRX + TIAA-CREF Money Market TIEXX This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by passing "Tiaacref" in to the
Seems to be solved with other patches. -- Erik