Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Tried calculating volatility

I made this notebook to try and calculate the volatility of the AAPL stock on 03-20. Does this look right?

2 responses

The above isn't exactly correct. Volatility typically refers to the standard deviation of returns and not of price. More accurately it is the standard deviation of the 'log returns' but they are pretty close. See https://en.wikipedia.org/wiki/Volatility_(finance).

I added some cells to the notebook to show the calculation. Good luck.

Dan, this makes a lot of sense. Thank you for the corrections!