Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Pandas rolling change for financial assets
%matplotlib inline
fig = plt.figure(figsize=(15, 7))
ax1 = fig.add_subplot(1, 1, 1)
ax1.set_ylabel('21days rolling daily change')
ax1.set_title('21days rolling daily change of financial assets')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment