Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Last active February 26, 2020 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quantra-go-algo/c055dcd9fef2086cf0e12c4553075f53 to your computer and use it in GitHub Desktop.
Save quantra-go-algo/c055dcd9fef2086cf0e12c4553075f53 to your computer and use it in GitHub Desktop.
from matplotlib import pyplot
from statsmodels.graphics.tsaplots import plot_acf
import yfinance as yf
tesla = yf.download('TSLA','2019-01-27', '2020-02-11')
plot_acf(tesla['Close'], lags=20)
pyplot.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment