Message Boards Message Boards

0
|
1836 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Starting day of returns of FinancialData?

Posted 3 years ago

Hi All,

I hope you are well and ready for a novice question.

Does anyone know why the property returns does not start from the start of the month?

humana = FinancialData["Humana", 
  "Close", {{2015, 1, 1}, {2015, 1, 31}}]

This returns a close price for 2 Jan 2015 onwards

stockpxreturn = 
 FinancialData["Humana", "Return", {{2015, 1, 1}, {2015, 12, 31}}]

This provides returns from the 5th Jan onwards.

I am assuming that the function is simply looking for the first two data points and then computing a daily return which is why it starts T+1 as opposed to look for the previous month's close and attempt to work out a return for the 1st day of the month.

Is there a way to correct this?

Thanks, Ajay

POSTED BY: Ajay Treon
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract