-
Book Overview & Buying
-
Table Of Contents
Algorithmic Short Selling with Python - Second Edition
By :
Markets can remain quiet longer than you can stay hysterical and vice versa. A flat rate fails to capture the volatile mood swings of the market. In this section, we will go through a few classic volatility measures. There are broadly two types of volatility: realized and implied. Realized volatility is calculated from recent historical data. Implied volatility is also calculated from recent history but projected into the future, hence the name implied. Realized and implied end up converging toward realized over time.
In the following example, we will focus on a few simple functions. If You feel like going down a rabbit hole, feel free to explore newer developments like Garman Klass, Yang Zhang, Hodges-Tompkins and so on. For now, let's define a few functions related to volatility.
Investors rarely ponder how much they are willing to fluctuate on a daily basis. They have some idea of how much volatility they can tolerate on an annual basis. So, the first step...
Change the font size
Change margin width
Change background colour