Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vwr - added 0 <= sdev_p <= sdev_max check #499

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

syswalrus
Copy link

In order for the formula to make sense, we must enforce that sdev_p is between 0 and sdev_max. Otherwise, we can have negative rnorm100 giving positive VWR when their sdev is higher than sdev_max.

The author of the VWR had that condition defined in the summary: https://www.crystalbull.com/sharpe-ratio-better-with-log-returns/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants