13.08.2022 Views

advanced-algorithmic-trading

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

https://sanet.cd/blogs/polatebooks/

141

Figure 11.3: Correlogram of residuals of ARIMA(4,0,4) model fitted to AMZN daily log returns

Figure 11.4: 25-day forecast of AMZN daily log returns

> getSymbols("^GSPC", from="2013-01-01")

> sp = diff(log(Cl(GSPC)))

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!