Financial Toolbox
  Go to function:
    Search    Help Desk 
tick2ret    Examples   See Also

Incremental return series from a tick price series.

Syntax

Arguments

TickSeries
Number of observations (NUMOBS)-by-number of assets (NASSETS) matrix of prices of equity assets. First row is oldest observation. Last row is most recent.
TickTimes
NUMOBS-by-1 increasing vector of observation times. Times are taken as serial date numbers (day units) or as decimal numbers in arbitrary units (e.g., yearly). (Optional)

Description

tick2ret computes the asset returns realized between NUMOBS observations of prices of NASSETS assets.

RetSeries is a NUMOBS-1 by NASSETS matrix of incremental return observations. The i'th return is quoted for the period TickTimes(i) to TickTimes(i+1) and is not scaled to a yearly return.

RetIntervals is a NUMOBS-1 by 1 vector of interval times between observations. If TickTimes is not specified, all intervals are assumed to have length 1.

Example

Compute the periodic returns of two stocks observed in the first, second, third, and fourth quarters.

See Also

ewstats, ret2tick

[ Previous | Help Desk | Next ]