Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FinancialData Function Not Working for Property "Members"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116621] Re: FinancialData Function Not Working for Property "Members"
  • From: Syd Geraghty <sydgeraghty at me.com>
  • Date: Tue, 22 Feb 2011 04:41:27 -0500 (EST)

Hi Greg,

A quick check on my system reveals that your example and examples in the documentation show that a data feed has a bug.

Your example:

  In[14]:= FinancialData["SP500", "Members"]

Out[14]= Missing["NotAvailable"]

And from the documentation for FinancialData[]:

In[2]:= FinancialData["SP500"]

Out[2]= 1343.01

which is OK but then

In[3]:= Take[FinancialData["SP500", "Members"], 10]

During evaluation of In[3]:= Take::take: Cannot take positions 1 through 10 in Missing[NotAvailable]. >>

Out[3]= Take[Missing["NotAvailable"], 10]

Suggest a bug report.

Cheers .... Syd

Syd Geraghty B.Sc, M.Sc.

sydgeraghty at mac.com

Mathematica 8.0 for Mac OS X x86 (64-bit) (November 6, 2010)
MacOS X V 10.6.5 Snow Leopard 
MacBook Pro 2.33 GHz Intel Core 2 Duo  2GB RAM

On Feb 19, 2011, at 2:15 AM, Gregory Lypny wrote:

> Hello anyone who uses the FinancialData function,
> 
> I used to be able to get the members of the S&P500 and the S&P100 using
> 
> 	FinancialData["SP500", "Members"]
> 
> and then the ticker symbols to do analyses.  But both yesterday and 
> today, the function returns, what appears to be a dash or hyphen (-).  
> This also happens for industry members such as FinancialData["Books", 
> "Members"] and FinancialData["Drugs", "Members"], where I used the 
> examples in the built-in Help system, but foreign exchanges like 
> Frankfurt work fine.
> 
> Any thoughts on why this happens?  I'm concerned because I have 
> notebooks that I share with students and colleagues, and the analyses in 
> them can't be done if the ticker symbols are not picked up!
> 
> Regards,
> 
> Gregory
> 
> 
> 



  • Prev by Date: Re: weibull plot on weibull scaled paper
  • Next by Date: Re: How to deal with big matrix?
  • Previous by thread: Re: FinancialData Function Not Working for Property "Members"
  • Next by thread: Re: FinancialData Function Not Working for Property "Members"