Skip to content

Instantly share code, notes, and snippets.

@kanzitelli
Created November 11, 2017 03:16
Show Gist options
  • Save kanzitelli/f2aeeb07cd2d33cf6ef080efb6bdf31f to your computer and use it in GitHub Desktop.
Save kanzitelli/f2aeeb07cd2d33cf6ef080efb6bdf31f to your computer and use it in GitHub Desktop.
log_returns = np.log(close_prices_2016).diff()
log_returns.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment