Last active
May 31, 2018 14:23
-
-
Save hossein761/5c5c34eb87708b5fa799a42164919ea9 to your computer and use it in GitHub Desktop.
histogram of price swings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
high_low_dif = pnd_df['high'].sub(pnd_df['low'], axis=0) | |
high_low_dif_df = pd.DataFrame(high_low_dif_df['high_low_dif'].divide(pnd_df['low']).multiply(100), columns=['high_low_dif']) | |
high_low_dif_df.plot.hist(alpha=0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment