Message Boards Message Boards


Date arguments in FinancialData return errors

Posted 3 years ago
3 Replies
0 Total Likes

I am running Mathematica 10.3. I get "notDate" errors when including any date information in any format to the FinancialData function. I've copied these examples straight from the help notebook:

In[50]:= FinancialData["GE", "Jan. 1, 2000"]

During evaluation of In[50]:= FinancialData::notdate: Jan. 1, 2000 is not a valid date range for FinancialData. >>

Out[50]= FinancialData["GE", "Jan. 1, 2000"]

Various other date formats are no better

In[22]:= FinancialData["WMT", "Volume", {{2015, 8, 1}, {2015, 10, 31}}]

During evaluation of In[22]:= FinancialData::notdate: {{2015,8,1},{2015,10,31}} is not a valid date range for FinancialData. >>

Out[22]= FinancialData["WMT", "Volume", {{2015, 8, 1}, {2015, 10, 31}}]

What is the problem?

3 Replies
Posted 3 years ago

I don't have 10.3. Did you try to use the date objects format for the dates?


the examples you give work just fine on my computer

(*"10.3.0 for Mac OS X x86 (64-bit) (October 9, 2015)"*)

enter image description here

I do seem to remember that I had a similar problem some time ago and rebuilding the PacletData would work.




Posted 3 years ago

I tried the RebuildPacletData[], but that was no help.

In[339]:= $Version

Out[339]= "10.3.0 for Microsoft Windows (64-bit) (October 9, 2015)"

Anyone from Wolfram who can comment on this?

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract