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

Add win/loss analysis #24

Closed
gusgordon opened this issue Jun 22, 2015 · 7 comments
Closed

Add win/loss analysis #24

gusgordon opened this issue Jun 22, 2015 · 7 comments

Comments

@gusgordon
Copy link
Contributor

Might be useful to have a breakdown of win/loss percentage

@gusgordon
Copy link
Contributor Author

Nvm, just saw discussion in fund room, seems like it is a suboptimal method of analysis

@twiecki
Copy link
Contributor

twiecki commented Jun 22, 2015

It's still useful and we have the basic code in place from txn.py.

@justinlent
Copy link
Contributor

FWIW, though slightly different, the Omega Ratio which I added a couple of days ago is (Total Profits) / (Total Losses) which is loosely related to this.

@justinlent
Copy link
Contributor

@twiecki I just flagged this one as 'high priority' since I think it is related to a lot of our recent discussions about computing batting averages of strategies, as well as how to define a trading decisions, etc., which I think is something fairly high on our list. If you think this particular issue is different, feel free to re-prioritize

@twiecki
Copy link
Contributor

twiecki commented Sep 10, 2015

Definitely. Still need to solve the non-0-crossing case but once we do my code should be pretty easy to add here.

@twiecki twiecki self-assigned this Sep 10, 2015
@gusgordon
Copy link
Contributor Author

This would take commission costs into account, right? e.g. if I buy at $1, sell at $2, but it cost me $2 for the transactions I would have a net loss of $1 and this would be a "loss". I'm pretty sure we take transaction costs into account for everything in pyfolio but just clarifying.

@twiecki
Copy link
Contributor

twiecki commented Nov 19, 2015

#210

@twiecki twiecki closed this as completed Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants