Skip to content

ENH: Add *annualized* return/volatility/Sharpe/Sortino stats #156

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

Merged
merged 4 commits into from
Oct 28, 2020

Conversation

kernc
Copy link
Owner

@kernc kernc commented Oct 13, 2020

Fixes #150

Where the measurements (slightly) deviate across implementations (e.g. empyrical from Quantopian; it's what pyfolio uses), ours are the more conservative and statistically superior measures.

@eervin123 This is what I came up with. Welcome a quick look over / comments.

@eervin123
Copy link
Contributor

This is great. I like how you handled the 365 vs 252 days, I also agree with sticking to same method for both calculations. Strange why empyrical would have used a different method. I look forward to playing with this and testing it out.

BTW, on a side note, my family is in Slovenia right now. They tell me it is an amazing place with wonderful people. I've never been, I wish I could have gone with them.

@kernc
Copy link
Owner Author

kernc commented Oct 17, 2020

I think they just went for metrics as initially defined (in their respective papers). Makes sense to be in line with other tools. I can expect further sporadic issues inquiring about values deviating from well-known expectations.

Thanks. It's great for hiking this year. General tourism, I guess, not so much. 😄

@eervin123

This comment has been minimized.

@kernc

This comment has been minimized.

@eervin123

This comment has been minimized.

kernc added a commit that referenced this pull request Nov 19, 2020
kernc added a commit that referenced this pull request Nov 19, 2020
Goblincomet pushed a commit to Goblincomet/forex-trading-backtest that referenced this pull request Jul 5, 2023
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.

Clarification suggestion for stats output "Buy" & Hold label in output
2 participants