Skip to content

Commit cf090f9

Browse files
authored
updating to work with new toolbox
1 parent 293a22d commit cf090f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ARIMA + GARCH to model SPX returns.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
" event='history')\n",
8484
"data = ds.getBookDataByFeature()['adjClose']\n",
8585
"# log returns\n",
86-
"lrets = np.log(data/data.shift(1)).fillna(0)"
86+
"lrets = np.log(data/data.shift(1)).fillna(0)\n",
8787
"lrets.index = pd.DatetimeIndex(lrets.index.values,\n",
8888
" freq=TS.index.inferred_freq)\n",
8989
]

0 commit comments

Comments
 (0)