Skip to content

Commit 5e76cef

Browse files
authored
Merge pull request #10 from QuantEcon/fix-kesten
FIX: issue with auto_adjust in yfinance
2 parents ba37805 + 7a73efd commit 5e76cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/kesten_processes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ GARCH模型在金融应用中很常见,其中时间序列(如资产收益)
104104
```{code-cell} python3
105105
import yfinance as yf
106106
107-
s = yf.download('^IXIC', '2006-1-1', '2019-11-1')['Adj Close']
107+
s = yf.download('^IXIC', '2006-1-1', '2019-11-1', auto_adjust=False)['Adj Close']
108108
109109
r = s.pct_change()
110110

0 commit comments

Comments
 (0)