empyrical-reloaded icon indicating copy to clipboard operation
empyrical-reloaded copied to clipboard

Annualization argument in capture methods

Open rubenbriones opened this issue 2 years ago • 2 comments

Hello,

Would it be possible to add the annualization argument to the capture (capture, up_capture, down_capture) functions in stats module?

Thanks in advance.

rubenbriones avatar Jan 15 '23 08:01 rubenbriones

I think I see now your issue, capture function documentation is not correct annualization is not a valid parameter. Could you still provide an example of a use case?

MBounouar avatar Jan 15 '23 18:01 MBounouar

But annuzalization parameter have the same purpose as the period parameter, right? I just would like to pass a custom annualization (int) factor, that is not supported by the period (str) paramater. For example for calculating the capture for a hourly returns timeseries.

rubenbriones avatar Jan 27 '23 19:01 rubenbriones

Hi @rubenbriones, pull requests are always welcome!

stefan-jansen avatar May 10 '24 14:05 stefan-jansen