Skip to content

Commit f827384

Browse files
jaycodetwiecki
authored andcommitted
fix: Fix Travis build for the previously committed issue.
1 parent 308ee01 commit f827384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

empyrical/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@ def get_symbol_returns_from_yahoo(symbol, start=None, end=None):
411411
px = web.get_data_yahoo(symbol, start=start, end=end)
412412
px['date'] = pd.to_datetime(px['date'])
413413
px.set_index('date', drop=False, inplace=True)
414-
# rets = px[['Adj Close']].pct_change().dropna()
415414
rets = px[['adjclose']].pct_change().dropna()
416415
except Exception as e:
417416
warnings.warn(
@@ -424,6 +423,7 @@ def get_symbol_returns_from_yahoo(symbol, start=None, end=None):
424423
rets.columns = [symbol]
425424
return rets
426425

426+
427427
def default_returns_func(symbol, start=None, end=None):
428428
"""
429429
Gets returns for a symbol.

0 commit comments

Comments
 (0)