Skip to content
Prev 10412 / 15274 Next

Help in rolling calculation

On Mon, 2012-06-25 at 21:13 +0100, Raghuraman Ramachandran wrote:
It doesn't get much simpler or more 'elegant' than that.

This is of course too simple to handle nuanced transaction ordering,
commissions, etc.
Yes, but cumprod is written in C underneath,so it's faster to use it if
you can.