quantopian / pyfolio

Portfolio and risk analytics in Python
https://quantopian.github.io/pyfolio
Apache License 2.0
5.7k stars 1.78k forks source link

Fix travis issues #530

Closed twiecki closed 6 years ago

twiecki commented 6 years ago

CC @richafrank

richafrank commented 6 years ago

@twiecki Looks like 2 issues:

  1. The tests are erroring in getting data from google finance.
  2. test_beta is failing. Looks like differences between successful and failing builds include the versions of numpy and empyrical...
twiecki commented 6 years ago

I would suggest to make the code do beta and fama-french analyses optional, only if the right data is passed in. We can then decide if we want to include SPY returns somehow or just rely on the user having access to them if they want to use them.

richafrank commented 6 years ago

For the second issue: https://github.com/quantopian/pyfolio/pull/531

twiecki commented 6 years ago

Should be fixed by #536.