Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.3K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Unexpected results from FinancialData[ ]?

Posted 3 years ago
POSTED BY: Raymond Low
2 Replies
Posted 3 years ago

Sorry Rohit, you nailed it -- typo with SPX, should be ^SPX, I checked three times because I didn't want to waste anyone's time.
The resource I used was -- but missed the carrot

enter image description here

The new Table is

enter image description here

Although Mathematica averages 2.5% less than the first list I found on the internet, I checked another site and Mathematica was within .25% of that site so the data does not seem to be an issue. My apologized for the typo.

POSTED BY: Raymond Low
Posted 3 years ago

Rather than guessing names based on what they sound like

FinancialData["SPX", "Company"] // CompanyData[#, "Website"] &
(* https://www.spx.com *)

FinancialData["SP500", "Name"]
(* "S&P 500 Index" *)
POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard