Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
romanbsd committed Sep 29, 2017
1 parent fecdb2e commit 6c4e966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QSTK/qstkstudy/EventProfiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def eventprofiler(df_events_arg, d_data, i_lookback=20, i_lookforward=20,
tsu.returnize0(df_rets.values)

if b_market_neutral == True:
df_rets = df_rets - df_rets[s_market_sym]
df_rets = df_rets.subtract(df_rets[s_market_sym], axis='index')
del df_rets[s_market_sym]
del df_events[s_market_sym]

Expand Down

0 comments on commit 6c4e966

Please sign in to comment.