pedma Profile picture
Aug 24 14 tweets 4 min read Twitter logo Read on Twitter
"Smoothing Volatile Alpha"

We all read concepts that we don't fully understand what they mean or their implications.

That's fine, we don't know everything.

I try to understand by writing.

Let's go over this concept and simplify what's discussed below.

I want to start by saying that I am exploring the concepts in this tweet and by no means am I going to represent them in perfection.

I welcome anyone to correct me in the way I am representing the thoughts here shared.
Let's imagine we are trying to predict tomorrow's weather.

We have a feature or set of features that give us a prediction.

However these features are very "jumpy" and change their mind a lot.

This is the volatile alpha that is mentioned in the conversation.
Now because our weather detection system is so jumpy, we try to average out its predictions over a few days to make it more stable.

This is what's meant by "smoothing" the alpha.

However, as always, there's a catch. The more you average the signal, the less accurate it becomes.
That loss in accuracy is similar to the "decay in IC" that is talked about here.

IC = Information Coefficient.

However we notice that when we average out those predictions, they tend to follow a certain pattern or trend.

This is what is meant by autocorrelation.
Autocorrelation, in the context of our weather prediction, it's like noticing that it has been sunny for the past few days, and due to that it's likely to remain sunny for the remaining of the days.
Let's now get into @macrocephalopod answers.

Continuing with our weather analogy, let's say you're planning a picnic tomorrow.

You care a lot about tomorrow's weather.

But if you're planning a week long camping trip, you care more about overall trend.

If you're looking at the weather for a week-long trip, don't average out the predictions for a whole month.

Maybe average out just a week or so.

This is the idea behind "smoothing based on holding period".

And instead of just relying on the "jumpy" set of features we have, maybe use other tools or methods to decide when to have the picnic or camping trip.

Like trading, every time you go on that picnic or camping trip you will incur in costs.

This decision of going on trip or not is the analogy to the "turnover" in trading when we buy and sell stocks.

Every time you decide to go out, based on the tool's prediction, there's a risk or cost, like getting caught in rain.

This is the transaction cost.
If you go out too often, without considering the risks, you will get wet more often.

When planning those outdoor activities, you should account for those risks.

If we have a specific type risk (quadratic transaction cost), with a factor "q" it will affect how often you go out.
The higher the value of "q", the less often you'll want to go out because the risk becomes higher.

The formula "1/(1+q)" is a way of saying that the more risk factor "q" increases, the less often you'll decide to go out.
When "q=0", there's no risk, so you'd go out as often as the jumpy weather tool suggests.

Bust as "q" gets bigger, you'll decide to stay in more often.

Accounting for the risk "q" has a similar effect to smoothing, because increased cost will "punish" outcomes of jumpy tools.
In essence, the conversation is about how to best use a prediction tool that's a bit jumpy and how to make decisions based on its predictions.

The key takeaway is the importance of considering the broader context of what's trying to be achieved and understanding inherent risks.

• • •

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

Keep Current with pedma

pedma 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 @pedma7

Aug 24
Day 11: "ROC's RSI"

Today we backtest a strategy that tries to capture short-term weakness on an uptrend.

We will be using the RSI but instead of applying it directly to price, we will apply it to the rate of change.

Let's put the strategy to the test below.
Image
Image
Author:

As with any strategy, we must start with an idea. I just went on the internet and typed in trading strategies examples.

I randomly picked on for us to test here and see how it translates to the crypto market.quantifiedstrategies.com/bull-market-tr…
Strategy Rules:

Entry Rules:

1. The close must be above the 200-day average.
2. The 5-day RSI indicator of the 5-day Rate of Change indicator must be below 20.

Exit Rule:

1. We sell when the 5-day RSI is above 50. Image
Read 14 tweets
Aug 23
Day 10: "MACD Crossover"

I'm sharing a simple backtest of trading strategies & ideas I find online for 30 days.

Today we go over a simple MACD crossover and analyze its historical performance.

Let's put the strategy to the test. Check it out below!
Image
Image
The MACD is an indicator commonly used for its trend identification properties.

The MACD is typically calculated by subtracting the 26 EMA from the 12 EMA.

A 9 EMA of the MACD, termed the "signal line," is then plotted on top of the MACD line, which acts as a trigger.
Strategy Rules:

Entry Rules:

1. MACD line is greater than the Signal line on the previous day, indicating a bullish crossover.
2. The MACD line is below the Signal line on the day before the previous day, ensuring that the crossover has just occurred. Image
Read 18 tweets
Aug 21
Day 9: "EMA Positive and Volume Expansion Strategy"

I'm sharing a simple backtest of trading strategies I find online for 30 days.

Today we go over a strategy that displayed 78% win rate since 2016.

Let's put the strategy to the test. Check it out below!
Image
Image
This idea emerged when I was researching ideas around volume and trend and has been laying around in my own research folders.

The simple concept is about trying to understand if after a volume expansion in a positive trend, we can extract some profits from that.
So we use two exponential moving averages to gauge higher timeframe trend and then we look at the current volume to understand its relationship to the average volume.

If it's above average than we assume there's some interest for whatever reason and we buy the next bar open.
Read 21 tweets
Aug 20
Day 8: "20-Day High Breakout"

I'm sharing a simple backtest of trading strategies I find online for 30 days.

Today we will be looking into a momentum strategy and how it has performed vs a simple buy and hold.

Let's put the strategy to the test. Check it out below!
Image
Image
Even though this idea of a breakout is well known by momentum and trend-following traders, I got the idea for this backtest from this interview:



In the interview @therobotjames also mentions a momentum strategy he used in crypto back in 2020/2021.
James mentions the following ideas:

1) "Around price extremes, conditional returns tend to be higher"
2) "Around a new high it's a good place to be long"
3) "Around a new low it's a good place to be short"

These are core fundamental principles for any trend/momentum system.
Read 24 tweets
Aug 19
Day 7: "Day of Week Seasonality"

I'm sharing a simple backtest of trading strategies I find online for 30 days.

Today I am sharing the backtest of an idea that @therobotjames mentioned in his latest interview.

Let's put the strategy to the test. Check it out below!
Image
Image
First and foremost, I recommend anyone interested in trading to watch this interview:

This is where @therobotjames talks about multiple ways he traded in 2020/2021, including seasonality.

The goal of this thread is to backtest this idea up until today.
Strategy Rules:

Entry Rules:
• Day of week is either monday, wednesday or friday
• Enter on bar open

Exit Rules:
• Exit on same day close Image
Read 27 tweets
Aug 17
Day 6: "RSI as a Mean Reversion Tool"

I'm sharing a simple backtest of trading strategies I find online for 30 days.

In order to keep these coming every day, I will keep them as simple as possible.

Let's put the strategy to the test. Check it out below!
Image
Image
I found this strategy on quantified strategies website.

Link:

It was originally designed for stocks.quantifiedstrategies.com/what-happens-w…
Strategy Rules:

Entry Rules:
• RSI of the last 3 bars is below 20.
• Enter on next bar open

Exit Rules:
• The close price is higher than previous bar's high.
• Exit on next bar open Image
Read 21 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 on Twitter!

:(