Robot James 🤖🏖 Profile picture
Mar 18, 2021 15 tweets 3 min read Read on X
How do I know if I have an edge?

A thread... 👇👇👇👇

I've been helping a family friend with his trading. I've given him a simple systematic strategy to trade by hand.

We can plot the distribution of historic trade returns from past trading or a backtest as a histogram.

1/n
The trade P&L is on the x-axis and the frequency (# of trades with that P&L) on the y-axis.

This is useful because it gives us a hint as to what the "edge" of our strategy might be - if we could ever truly *know* such a thing.

2/n
In this case, our strategy had positive mean and negative skew.

We saw winning trades about 58% of the time but losers were bigger, on average, than winners.

(As many things that make money tend do, regrettably)

3/n
Now, when we make a trade, we're really just taking a random sample from a bucket of returns.

You might think of it like we're picking observations out of the bucket described by the histogram we just made.

BUT....

4/n
The histogram doesn't show us the true nature of the distribution of returns in the bucket - just the returns that occurred in the past.

The "true distribution" changes with time (it is stochastic) and cannot be observed directly. We can only infer it from the past.

5/n
So the best we can know is that, in the past, it looked like we had an edge.

We might run rolling stats to try to observe the time-varying nature of things - but we'd be working with only a few samples and the variance of our trade return is large.

6/n
So we do our best to estimate what the "true process" looks like, by inferring it from past observations and our understanding of market dynamics.

Now we have set reasonable expectations about the P&L distribution, my friend starts trading...

7/n
My friend has placed about 20 trades and he's starting to try to make some distinctions based on individual trades.

"I've learned to exit later when momentum is in my favour" etc...

This is what humans do. They look for patterns in noise.

8/n
Ultimately, however, analysis at the individual trade level is meaningless.

He's just fitting stories to random data. Individual trade P&L carries no useful information.

9/n
Think about the trade p&l histogram we made at the start.

Imagine we're building that up trade by trade, observation by observation.

How many points would you need before it had a meaningful shape?

10/n
All analysis needs to be undertaken in the aggregate, ideally over as many stable observations as possible.

But everything is non-stationary (it changes with time) so our observations always arrive later than we want them to, and there are never enough of them.

11/n
This is why trading is hard and you don't get much feedback (on edge) from observing your own trades.

You get plenty of useful quick feedback on things such as market impact, but the data on "edge" takes forever to collect and stuff is constantly changing underneath you

12/n
You're extremely unlikely to make much sense of this kind of probabilistic thinking by watching the market - unless you are trading extremely fast and disciplined.

You need a quantitative approach. You need to analyze in aggregate. You need an understanding of stats

13/n
You need a critical mind. You need to understand why something works, and track whether those conditions are still in place - so you can try to pre-empt the change in the return process.

You need to understand you can never *know* if you have an edge right now.

14/n
As @AgustinLebron3 pointed out the other day, this is not something to be feared... this is what makes trading awesome!😀

You never know if you have an edge right now, but when you think you do - sample from it as much as you can in the simplest, most robust way possible.

15/15

• • •

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

Sep 30, 2024
all active etfs are trash.

under the premise that all active etfs are trash, i looked at what it would look like if you could shorta bunch of them against an equivalent SPY long.

the legs are sized to equal volatility based on 120 day rolling realized vol. Image
highlighly scientifically, i looked at etfdb and picked 15 active / tactical ETFs based on their name and category. Image
here's the performance of the long SPY / short ETF pairs individually.

some did less bad than others, but all the ETFs underperformed SPY, risk-adjusted.

FIG, HFND, MOOD look especially bad. Image
Read 6 tweets
Apr 23, 2024
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, 2024
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, 2024
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, 2024
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

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!

:(