ExoticQuant Profile picture
28 Aug, 11 tweets, 3 min read
(Thread) A basic math primer for people with non-math background (this will also help in understanding my post tomorrow on India VIX).

I’ll be simplifying a lot of math details here.

I’ll mostly talk on "expected value" and a bit on integration.
+
Expected value is one of the most important terms in financial markets. When we want to find fair value or “price” of any financial derivative we mathematically try to find its “expected value”. We will define what it is later on. But first let’s talk about random variables.
+
Random variables: When we talk of random variables we talk of what values/outcomes a variable can take and what is the probability of each of these outcomes. So, two important terms here: outcomes & their probabilities.

Nifty, BNF (and their vols etc) are all random variables
+
Also,
Discrete = countable (you can possibly count all outcomes. Ex: outcomes when you roll a dice)

Continuous = uncountable (infinite/large number of outcomes i.e. cannot count all of them. Ex: real number 'x' lying between 2 & 3)

+
Expected value: Coming back, expected value of a random variable is simply the "average" of all outcomes that a random variable takes during an "experiment" when we measure a very large number of them. Important thing to note here is average of ALL and NOT possible outcomes!
+
Let’s take the PnL of an intra-trading strategy. If you repeat the same strategy a very large number of times and record the PnLs each time, the average of them is your Expected value.
+
If the outcomes are countable, meaning you can actually count the number of outcomes then such random variables are called “discrete”. In this case each outcome has a probability associated with it.
And Expected value is in eq(1) below:
If the outcomes of a random variable are potentially infinite/very large in number then we call it a “continuous” random variable. In this case we talk of outcomes being in a particular “interval” rather than look at their actual individual values.
+
And in this case a probability density function (pdf) is defined which measures the probability of this random variable being inside a given range. Say BN staying between 35k & 35.5k next expiry has a probability ‘p’ for example.
+
An equation for the probability of a random variable X with pdf φ(x) and lying between a & b is given in eq(2) below

And the Expected value of the continuous random variable with pdf φ(x) is defined in eq(3)

For all practical purposes all indices are assumed to be continuous!
+
Integration: Finally, when we say integration(∫) of a function all we mean, in crude terms, is area under the function when it's plotted vs x. We can approximate that with rectangles. So equation (3) can be approximated as eq(4) below. A visual demo is also given in the pic

END

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with ExoticQuant

ExoticQuant Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @muskk

21 Jul
(Let’s do some math!) Thread on how to retrieve probability density function (PDF) of any underlying from its option prices. We will use this result later on in another thread I’ll post in the future to derive an equation for VIX.

Let's go...
Let’s first look at equation to price a call option at any time t, maturing at time T and with Strike K:

(refer equation1 pic below)

here F is forward, E[] is expectation & B(t,T) is discount factor. I’m excluding a few math details like measures & numeraires to keep it simple.
Let φ be the probability density function (PDF) of the underlying we are trying to recover. Let’s try to solve the expectation above (ignoring discount factor and other parameters C depends on to make equations look simpler)

(refer equation 2 pic below)
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(