Skip to content

Stock Total Returns?

1 message · SW

SW
#
Joshua,
Thank you for taking the trouble to recalculate adjustment factors based on actual dividends and splits data in quantmod::adjustOHLC function. I guess that the real meat of this function hidden in TTR::adjRatios (Is it native(C/C++) call?)

My original question was based on my incomplete perception of the adjustment process. I always thought that the adjustment is done in order to keep historical prices continues to avoid ex-dividend date drop. To my surprise it also works to produce the correct total returns series. The bigger surprise was that it looks like that it gives the correct calculations not only for simple returns but also for logarithmic returns. I never thought about that before Michael's remark.

Best Regards,
Sergey
 

======================
        .~.      
        /v\      Sergey W. Andreyev
       // \\     kryp33 at yahoo.com
      /(   )\
       ^`~'^
======================
======================
--- On Mon, 2/20/12, r-sig-finance-request at r-project.org <r-sig-finance-request at r-project.org> wrote: