Robot James 🤖🏖 Profile picture
Apr 27, 2021 22 tweets 7 min read Read on X
A simple thread about position sizing and volatility targeting 👇

You have $1,000
You buy $1,000 of SPY
You leave it alone
The volatility of SPY over the period was 18%

What is the volatility of your portfolio?

Not a trick question. It's 18%

1/n
Imagine instead you buy $500 of SPY in your $1000 account.

At the start, you have half your money in cash and half in SPY.

What is the volatility of your portfolio now?

It's 9%: half what it was before.

2/n
Now, let's say you could buy $2000 of SPY in your $1000 account (and don't pay anything to borrow)

What is the volatility of your portfolio now?

It's 36%: twice the figure when you were fully invested.

This is a useful result. You can prove it to yourself easily in Excel

3/n
If you half the size of your position you get half of the volatility contribution.

If you double the size of your position you get double the volatility contribution.

This is very useful when it comes to *sizing positions*

4/n
Asset volatility is quite easy to predict.

And here are some scatterplots to illlustrate.

I've plotted annualised volatility over 20 days against the vol over the previous 20 days.

(estimated from the standard deviation of returns)

5/n
Simply assuming volatility stays the same as your last estimate of it works pretty well as a forecast.

Just like the weather.

This, and the fact that volatility increases in linear proportion to size, suggests a simple approach to "targeting" a certain level of volatility.

6/n
If you want a given position to contribute 10% volatility to your portfolio.

You can:
- Observe the vol it contributed over the last 20 days (15% say)
- Scale its sizing by vol_estimated / vol_you_want:

So you'd scale the position up 15 / 10 = 1.5

7/n
Why would this be a useful thing?

Why would you target a certain level of volatility?

Imagine you have two assets:
- a volatile orange asset
- a less volatile yellow asset

8/n
If you hold these assets together with equal size.

Half your money in orange. Half your money in yellow.

The portfolio returns are going to look a bit like the black line here.

It will be dominated by the volatility of the orange asset.

9/n
Is this what you want?

Probably not, right?

You're allowing our portfolio to be dominated by the most volatile asset, simply because it happens to be the most volatile asset.

10/n
Unless you have a good reason to prefer one asset over the other, you'll want each stock to contribute about the same amount of volatility to your portfolio.

You want the movements in your portfolio to be equally dependent on both assets. Probably.

11/n
To do that, we'd buy more of the yellow one - intentionally making it more volatile in the context of our portfolio (than when we equal-weighted it)

And we'd buy less of the orange one - intentionally making it less volatile in the context of our portfolio.

12/n
If you scale yellow up and size orange down to targe equal vol... it would look something like this:

The portfolio (black line) is less volatile than the constituent stocks. This will always be the case as long as they don't wiggle in sync.

Diversification 101

13/n
One objection you may have to this example is:

"Why would I give them equal volatility weight? The yellow one is better"

Yeah, but only in the past... We have no idea what's going to happen next.

Predicting returns is super hard. At least in the future.

14/n
Now if you're convinced this is a good idea, you already know how to do the scaling, cos I told you earlier...

But let's go thru it cos repetition is good...

We'll assume:
- orange shows 30% vol over the charted period
- yellow 10% vol

15/n
Remember volatility scales in proportion to size?

Given a $1k account...

At $1k we realize 30% vol
At $500 we realize 15% vol
At $250 we realize 7.5% vol

16/n
So let's size "orange" to 7.5% vol contribution by buying $250 of it in our $1k account.

17/n
Now let's do yellow.

Given our $1k account...

At $1k we realize 10% vol
At $750 we realize 7.5% vol

So we size "yellow" to a 7.5% vol contribution by buying $750 of it in our $1k account.

18/n
Now, assuming our volatility "predictions" were reasonable, we can now expect both assets to contribute about 7.5% volatility each to our portfolio.

And, to the extent one zigs whilst the other zags, we'd see portfolio vol to be less than the sum (<15%)

19/n
This is a really useful sizing technique. And it's useful to think in these terms.

Managing volatility can also increase your risk/adjusted returns. Because although volatility is linear in size, compounded returns are not.

A discussion for another time...

20/20
I took these examples from this simple retail-focused quant trading course I'm teaching here: robotwealth.com/trade-like-a-q…
Tweet 7 is the wrong way around here. Thanks @cyberSM7. Should say...

You want to target 10% vol

You can:
- Observe the vol it contributed over the last 20 days (15% say)
- Scale its sizing by vol_you_want / vol_estimated:

So you'd scale the position up 10 / 15 = 2/3

• • •

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

Keep Current with Robot James 🤖🏖

Robot James 🤖🏖 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 @therobotjames

Apr 23
trading is hard.

if you disagree, that's cos you haven't done it for long enough.

you can get lucky for a while - but your luck will inevitably turn

you can find yourself doing the right thing at the right time for a while - but markets adapt quicker than you can, typically.
extracting returns from the market, persistently, over years and decades is tough.

it requires pragmatism and flexibility.

it requires you to be decisive about trade-offs, in a world of incomplete information and massive uncertainty.
if the responsibility of turning money into more money incites a certain amount of anxiety in you, that is the good and natural and correct response.

financial markets are highly competitive.

that's because they are competitive, they are highly adaptive.
Read 18 tweets
Apr 16
i saw a bunch of people saying that high-ish interest rates were very bad for risk assets.

you shouldn't believe it when ppl say stuff like that

ppl say all kinds of dumb stuff

and you can investigate it yourself in five minutes to see if it's bollox or not.
this page lists historical total returns on stocks, bonds, and bills, and historical yields since 1928.



we can pull that into excel with Get Data > From Web, then pasting that url.

here is the data pages.stern.nyu.edu/~adamodar/New_…
Image
now we want two columns of data.

1. the annual returns on 3 month t-bills
2. the annual returns of s&p500 including dividends

so, to keep it tidy, lets remove all the columns we don't need. Image
Read 8 tweets
Mar 19
if you try random trading rules on raw data, you'll find a lot of stuff that would seem to have made money in the past if you'd been trading it.

but you're unlikely to have achieved anything useful, even if your simulation of all the frictions involved was perfect.
the main reason for this is luck.

your raw data contains a lot of non-randomness.

sims on options contacts, especially, are full of unintended bets.

contracts are incomparable with themselves as price moves relative to their strike, and as time approaches contract expiry.
if you simulate buying a 1m ATM straddle at the start of the month, it starts off being a delta-neutral bet on 1m volatility.

but during the month it picks up directional risk that you didn't want and becomes a smaller bet on more volatile shorter-term volatility.
Read 18 tweets
Feb 19
at some point, volatility is going to spike a lot.

and lots of you are going to get rekt cos you didn't have a good plan for what to do, or you didn't stick to it.

i can't have that on my conscience - i got enough already - so pls read this and make a plan.
you need to be prepared to TRADE to keep your risk in line.

the market is constantly giving you risk you don't want.

there's no excuse for just accepting that.

if the market gave you risk you don't want, you gotta trade to push your risk back to what you wanted.
1. when you first put a position on, the risk you want and the risk you have are the same.

2. over time, the market gives you different risk

3. when the risk the market gives you is more (or less) than you'd accept, trade to push it back within acceptable bounds. Image
Read 9 tweets
Nov 4, 2023
if you have been paying attention recently, you may have heard whispers of the dangers that the rapid growth of the Forex Repo Market may pose to the financial system.

but what is the Forex Repo Market?
despite its relative obscurity, the Forex Repo Market is a pivotal component of modern finance, facilitating short-term currency liquidity like no other mechanism.
in this market, participants can "repo" a currency pair, effectively agreeing to sell the pair today and buy it back in the future at a set price. this enables powerful leverage and hedging strategies that wouldn't be possible otherwise.
Read 9 tweets
Oct 25, 2023
stop trying to beat djokovic at tennis.

the first fundamental problem traders run up against is that there's no beginners' market.

you gotta compete for good prices with the best in the market.

this is a problem.

there are a lot of people better at markets than you. Image
if you approach trading in a gung-ho manner, it's basically like playing in a tennis competition with djokovic.

and that's not going to go well.

cos he's very good at playing tennis and you're bad at it.

(sorry to break it to)
what do i mean about "competing for prices with the best in the market?"

well... to make money trading you need to buying things that are too cheap and selling things that are too expensive.

you need your side of the trade to be good and the other side of the trade to be bad. Image
Read 28 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!

:(