Skip to content

Pyfolio tries to cache data inside the package which is not always writable #129

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

Closed
adzuci opened this issue Aug 25, 2015 · 3 comments
Closed
Assignees
Labels

Comments

@adzuci
Copy link
Contributor

adzuci commented Aug 25, 2015

Related to #125

@CaptainKanuk found that if pyfolio doesn't have access to write to it's directory certain functions are broken.

screen shot 2015-08-25 at 6 36 36 pm

plot_rolling_risk_factors() won't work in this case unless we have pyfolio cache data in somewhere like ~/.pyfolio which follows a similar pattern to ~/.zipline

@adzuci
Copy link
Contributor Author

adzuci commented Aug 25, 2015

I think the change to https://github.com/quantopian/pyfolio/blob/master/pyfolio/utils.py#L51 should be something like:

return join(expanduser("~"), '.zipline', 'data', name)

after adding expanduser after line 21.

@twiecki
Copy link
Contributor

twiecki commented Dec 4, 2015

Ping @llllllllll. @richafrank said you could help with this.

@twiecki
Copy link
Contributor

twiecki commented Dec 8, 2015

Closed with #241.

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

No branches or pull requests

4 participants