I suspect involves resample() on daily basis the returns column and then some how for every element after that find trailing 1 month for every day and sum the returns.
Trying to avoid righting unnecessarily long code :-))
Sarvi
Sarvi
--
You received this message because you are subscribed to the Google Groups "Zipline Python Opensource Backtester" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zipline+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.