PureBytes Links
Trading Reference Links
|
Has anyone
ever put together some code to calculate a fund's capture
ratio.
How would one go
about doing that?
From one definition
I have found:
"To calculate the up capture ration, we first
isolate all monthly returns for a fund and its benchmark during the periods then
the benchmark had a positive return. We then calculate annualized returns for
both the fund and the benchmark using this isolated data. Next, we divide the up return of the
fund by the up return of the benchmark to obtain the fund's up capture ratio.
The down capture ratio is calculated similarly, except instead of isolating the
monthly returns during the periods where the benchmark had a positive return, we
isolate the monthly returns during the periods when the benchmark had a negative
return."
Any suggestions?
Thanks,
Ken
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
__,_._,___
|