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

ENH Speed up fwdret computation #326

Merged
merged 1 commit into from
Dec 5, 2018
Merged

ENH Speed up fwdret computation #326

merged 1 commit into from
Dec 5, 2018

Conversation

twiecki
Copy link
Contributor

@twiecki twiecki commented Dec 5, 2018

By computing directly from prices rather than using pct_change().

@twiecki
Copy link
Contributor Author

twiecki commented Dec 5, 2018

Seeing a 4x increase in speed.

@twiecki twiecki merged commit 23ba51e into master Dec 5, 2018
@twiecki twiecki deleted the speedup_fwdrets branch December 5, 2018 13:11
@luca-s
Copy link
Collaborator

luca-s commented Dec 5, 2018

Have you tried multiple version of pandas?

@twiecki
Copy link
Contributor Author

twiecki commented Dec 5, 2018

Travis covers those.

@luca-s
Copy link
Collaborator

luca-s commented Dec 5, 2018

I meant if you noticed a speed improvements on multiple pandas version or just one specific version (Quantopian's version I suppose)

@twiecki
Copy link
Contributor Author

twiecki commented Dec 5, 2018

I see, I haven't tested that, but I'd be surprised if there were big differences between versions there.

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