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

7_2_computing_triple_barrier_labels.py #8

Closed
theAfricanQuant opened this issue Apr 5, 2021 · 1 comment
Closed

7_2_computing_triple_barrier_labels.py #8

theAfricanQuant opened this issue Apr 5, 2021 · 1 comment

Comments

@theAfricanQuant
Copy link

theAfricanQuant commented Apr 5, 2021

Hello Chris
I bought your book sometime last year.

You didn't give us you example on how to use the triple barrier based on the codes you provided. I can see there are two functions if you can just explain what they are for.
I know the "calculate_labels" requires the " compute_triple_barrier_labels" but the output from the two look alike when I ran them one by one.

I have read de Prado's works and compared to his codes yours were simpler to run and test.

Thanks

@chrisconlan
Copy link
Owner

Thanks very much for checking out the book. The calculate_labels function is just a wrapper around compute_triple_barrier_labels the handles some of the more verbose arguments. You are correct.

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

No branches or pull requests

2 participants