ExQuant Profile picture
Nov 14, 2021 9 tweets 3 min read Read on X
(Thread) Stochastic processes

Thought of posting a primer on stochastic processes that’ll be useful for any future posts on whether deriving Black’s formula for pricing calls/puts (my next post and should be a quick one) or discussing interpolation of vol surfaces (SVI) etc.
This should also help understanding my VIX derivation post better.

Any let's get started.

Any underlying variable, be it a Nifty/BankNifty, USDINR, crude etc, can be represented as a stochastic process with a drift and a diffusion(random) component.
+
Think of a stochastic process as a random variable evolving with time OR a collection of random variables that have been gathered at different times (Usually all stochastic processes, expectations are always defined under some probability measure but I’m not touching on
+
measures right now as it’ll complicate the topic under discussion. Will explain it in some future post).

The Weiner process or a standard Brownian motion is a fundamental unit to “drive” the diffusion component of an underlying variable.
So, what is a Weiner process? See below
+
A couple of more properties/applications of a Wiener processes in below pic.

Now that we defined a Wiener process let’s propose a typical stochastic differential equation (SDE) for a stock Index.
+
Let’s work on the future/forward (these aren’t the same but let’s treat them for now without much harm) instead of spot to ignore the drift component. The SDE is in eq (1) below:
Ito’s formula:
If we look at any function V of F_t i.e., V(F_t) and try writing a Taylor series expansion of it, and ignoring orders greater than two, we get the eq.2 below.

Here we assume V(F_t) is atleast twice-differentiable (i.e., second derivative is defined).
+
Difference here between standard calculus, where F is deterministic, and in this case where F is stochastic comes with how [dF_t ]^2 is treated. In standard calculus this term can be very small and often ignored. But with F_t stochastic let’s evaluate this term
+
.., also called "quadratic variation" of F_t also represented as 〖<F>〗_t:

From (1), see pic below.

That is the Ito’s formula for the index assumed to follow the SDE in (1)

In the next post I’ll derive the Black’s formula

(END)

• • •

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

Keep Current with ExQuant

ExQuant 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

Oct 22, 2022
(Thread) Event Volatility & Implied move

Objective: an event coming up next day and we want to calculate the expected move in the index/stock implied by option prices

Bro @l_thorizon mentioned on a call about implied move formula the other day (not for the first time)
+
..so thought it's time to derive it.
(it’s been ages since I posted a thread so excuse any mistakes pls)

Events can be FED/RBI policy meetings, CPI data release, stock earnings. You can compute these for (say) Reliance, ICICIbank this weekend or for Nifty(or S&P500 if you’re
+
into it) before 2nd Nov Fed meeting and see if they’re of any use.

Event Volatility:

We need ATM options with two different expiries T1 and T2 say T2>T1
Event vol, ev = sqrt (365) * sqrt [ IV(T1)^2 * T1/365 - FV(T1,T2)^2 * (T1-1)/365]
Where,
+
Read 7 tweets
Apr 18, 2022
(quick thread)
Option strategies from probability density functions (pdfs)

Ref: papers.ssrn.com/sol3/papers.cf…

I'll summarize the paper...

The author presents an easy way to transform one's expectation of how returns distribution will pan out in the future("user-expected"
+
distribution) given current market implied distribution into appropriate trading strategies.

Let's say b(x) is what you expect index/stock returns "x" to be distributed in the future and m(x) is current market implied pdf based on prevailing option prices (see thread

+
below to get market implied density function from option prices. To get a continuum of option prices fit an SVI IV surface on option price grid)

Then the strategy that needed to be entered is simply given by:

f(x) = b(x) / m(x)

+
Read 5 tweets
Dec 30, 2021
#OptionExpiry
Quick note on Nifty/BankNifty options

Asian/Averaging options

Given option prices are settled based on average of last half hour prices (correct me if interval is wrong) perhaps in 5min intervals (trust me I couldn't find an NSE doc on this piece🤦‍♂️) our options
+
are actually Asian options.
So,

Asian call payoff : max(avg(S(ti) - strike,0) where S(ti) last 30mins, 5 min intervals prices (say)
and not european i.e. max(S(T) - strike,0)

The impact of averaging feature will be much less when we are away from expiry but gain significance
+
As we are closer and specially in the second half of the expiry.

Now I won't bore you with the math of pricing them (which isn't trivial and done by matching 1st, 2nd moments of an assumed log-normal distribution of the averaged price and finding parameters i.e. mean/variance
+
Read 4 tweets
Dec 27, 2021
I usually don't do the "role model" thingy but if there's anyone I look up to and want to be like (in a couple of years time!) that's Benn Eifert @bennpeifert

@mnopro pointed me to his handle a couple of months ago and I recently watched his mixing with models YT video & gone
+
through some of his posts and given my experience interacting with HF friends or interviewing with HFs during my 10years working in London I can honestly say he's right up there with the best. Don't get me wrong there's absolute garbage as well on the HF side (and I'll share
+
my thoughts on that some other time), but the CIO folks are altogether different class and Benn seems no different. The clarity with which he speaks about anything Vol related is mind-boggling(!) & something I'd like to aspire to.

(Hello Benn - this is not fake praise
+
Read 4 tweets
Dec 20, 2021
(Thread) One of my more important posts from a trading point of view (hardly any quanty stuff in this one). Might be relevant now hence posting.

Just so it's clear for anyone wanting to trade call ratio spreads in the future in a bear market:

(this is my approach anyway..)

Best time to enter zero-cost call ratios or a ladder (shorts at multiple strikes) is when IVs are shooting up combined with mkt going down. Today was a classic example.

If we see the kind of fall we saw today in Nifty keep long leg 100pt OTM and
+
short leg atleast 300pts further away and you can increase the ratio higher than 1:3 (you'll have to, to keep it zero-cost). You can make it credit depending on your risk-appetitie and your skill in adjusting these.

So when you enter this you will be net short vega.
+
Read 10 tweets
Dec 14, 2021
#Strangles A little note on getting into strangles in a bear market scenario

If you're an intra-day trader selling delta-neutral strangles on non-expiry days in the morning and holding them till day end then be careful of the following when market is expected to be bearish.
+
Given short strangles are short vol trades (-ve vega) the view is not just on benefitting from theta but more importantly on vols going down during the day. So in a bearish scenario when vols are expected to go up with market going down your strangle position
+
will get affected in the following way:

- Loss due to vols going up with this being a -ve vega position. There are other vol factors that you'll be short on such as skew (below), convexity of the vol surface and these increase as well affecting the position negatively.

+
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

Don't want to be a Premium member but still want to support us?

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

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(