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

Ch3 Notebook: Adjust the getBins function #22

Closed
Jackal08 opened this issue Mar 1, 2019 · 1 comment
Closed

Ch3 Notebook: Adjust the getBins function #22

Jackal08 opened this issue Mar 1, 2019 · 1 comment

Comments

@Jackal08
Copy link

Jackal08 commented Mar 1, 2019

Question 3.3, pg 55: Adjust the getBins function (Snippet 3.5) to return a 0 whenever the vertical barrier is the one touched first.

We need to correct this line of code in the get_bins function.
out['bin']=np.sign(out['ret'])

@BlackArbsCEO
Copy link
Owner

thanks for the heads up, check out the updated notebooks. fixed dd47196

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