Skip to content

Commit

Permalink
BUG Convert downloaded Fama-French to UTC before returning.
Browse files Browse the repository at this point in the history
  • Loading branch information
twiecki committed Oct 29, 2015
1 parent 7c11f20 commit 709553a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyfolio/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ def get_fama_french():
five_factors = factors.join(umd).dropna(axis=0)
five_factors = five_factors / 100

five_factors.index = five_factors.index.tz_localize('utc')

return five_factors


Expand Down

0 comments on commit 709553a

Please sign in to comment.