[R-SIG-Finance] Creating a back adjusted continuous price series from log returns
Wob Wu
wobwu22 at yahoo.de
Fri Nov 27 15:52:33 CET 2009
I am trying to create a continuous daily futures contract time series. I've already calculated the log returns for this series and want to create an artificial price series starting with the most recent price (the one with the latest date).
Basically I am trying to create a price series with the following logic:
p(-1) := exp(ln(p(0)) - r)
I have got p(T) and the log return series r and am trying to create the price series.
with
p(0) = todays price
p(-1) = yesterdays price
p(T) = the price at time T (current available price)
r = log return between yesterdays price and todays price
Thanks
Wolfgang Wu
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
More information about the R-SIG-Finance
mailing list