Total return price time series
Return = totalreturnprice(Price,Action,Dividend)
|
|
|
|
|
|
The number of observations (NUMOBS
) for the
three input arguments differ from each other.
Return = totalreturnprice(Price,Action,Dividend)
generates
a total return price time series given price data, action or split
data, and dividend data.
If all three inputs are matrices, then Return
is
a NUMOBS
-by-2
array of price
data, where NUMOBS
reflects the number of observations
of price data. Column 1 contains MATLAB serial date numbers.
Column 2 contains total return price values.
However, if any inputs are tables, then Return
will
also be a table. The class of the first column depends on the classes
used in the input tables. If any tables used datetimes for dates,
then Returns
will have datetimes in the first column.
If there were no datetimes in the inputs, but if any inputs used date
character vectors, then Returns
will use date character
vectors in the first column. For any other case, serial date numbers
are used.