Skip to content

Commit 709553a

Browse files
committed
BUG Convert downloaded Fama-French to UTC before returning.
1 parent 7c11f20 commit 709553a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyfolio/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ def get_fama_french():
278278
five_factors = factors.join(umd).dropna(axis=0)
279279
five_factors = five_factors / 100
280280

281+
five_factors.index = five_factors.index.tz_localize('utc')
282+
281283
return five_factors
282284

283285

0 commit comments

Comments
 (0)