Sourabh Sisodiya,CFA Profile picture
Nov 18, 2021 13 tweets 6 min read Read on X
How to build/backtest a strategy 🧵?

1) Idea/Hypothesis
2) Specify entry,exit, SL & position size
3) Generate trade log & Backtest Report
4) Test in diff. market condn.
5)Optimise the strategy
6) Evalute the robustness & stress testing
7) Track Real Time performance
8) Deploy Image
1) Idea( Eg. Theta Eating Strategy)

Options decay with passage of time.
I look at the theta decay curve & wonder that some decay is intraday and some is overnight.
Can I capture the intraday theta decay by creating delta neutral positions ?

#idea #theta Image
2) Entry, Exit, SL & position size

Can we create intraday straddle to capture theta decay ?

Initial Logic :

Entry : Create straddle at 9:20 am
Exit : Close the straddle at 3:15 pm
SL : 10% of combined option premium
Position Size : 1 lot (CE & PE) per 2 lakh Image
3)Generate trade log & basic backtest report

The trade log contains all trades as per your trading logic.
Also plot the equity curve(cumulative P&L ) & certain backtesting metrics to see if the results are decent.

If yes then proceed further else discard the strategy. ImageImage
4) Generate a detailed backtest report & test across different market conditions.

Look for metrics such as-
Outlier adjusted performance
Max drawdown & Time drawdowm
Profit factor
Model efficiency etc to decide whether the systems fits your psychology. Image
5) Optimise :

If the basic results look good, dig deeper.

-What if we exit at pre-defined profit instead of 3:15 pm ?
- Days suitable for the strategy ?
-Days when you should avoid the strategy ?
- High vix or low vix ?

Basically generate more insights. ImageImage
6) Robustness & Stress Test

Check performance on black swan days
Check performance by removing outliers & max
Are trades evenly distributed ?
Consistent performance qtr by qtr, year by year,
Even dist. Of PnL ?

Also do walk forward testing.(Advanced topic so will explain later) Image
7) Track Real Time Performance

Start live execution with small qty before actualy deployment to get feel of the strategy.
Try to incorporate the feedback from live execution to further improve the strategy. Image
8) Deploy :

if the strategy passes all above steps then it’s fit for live deployment.

Deploy the strategty and monitor the real time performance.
The live performance should be similar to the backtest results. Image
9) Other important points

Make sure you avoid the following backtesting pitfalls and clean the data before backtesting.

-survivor ship bias
-look ahead bias
-in sample bias

Also include slippages,brokerage for true picture of the strategy Image
10) As a rule if you backtest for n months , you can trade for n/3 months.

And you need to assess your strategy from time to time bcz as market conditions keep changing your strategy may stop working.

How do you know your strategy has stopped working ? Think over it.
11) Resources :

Trading Systems by Emillo Tomasini is a good book to get started & learn how to build a trading system

Also one can start learning basic python for data analysis & backtesting

udemy.com/course/python-… Image
12) I hope you found the thread insighful.

I truly believe that small data insights can bring significant improvement in your trading

Start learning basic coding & data analysis online.
It’s not difficult, trust me. Just get started💯

End Image

• • •

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

Keep Current with Sourabh Sisodiya,CFA

Sourabh Sisodiya,CFA 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 @sourabhsiso19

Oct 4
Trading isn’t just “buying and selling stocks.”
It’s about knowing yourself, managing risk, controlling emotions, and protecting your capital.
If you’re serious about trading, study your game inside out — not just setups and profits.

A thread 🧵 Image
Trading success isn’t about the best strategy, it’s about mastering yourself:
Discipline. Patience. Consistency. Image
1. Discipline – follow your plan
Successful traders stick to their rules no matter what the market does. Impulse decisions and emotional trades are the fastest way to lose. Discipline keeps you consistent.
Read 9 tweets
Sep 30
Simple Guide to Position Sizing for Trading Success 
By Van K. Tharp
A thread 🧵 Image
1)  What is Position Sizing
Position sizing is simply deciding HOW MUCH to trade. It's about protecting your money while still making profits. Think of it as your trading safety net! Image
2) Why Position Sizing Matters
Prevents big losses that can wipe out your account
Helps you stay in the game during losing streaks
Makes your winning trades count more Image
Read 13 tweets
Sep 19
Warren Buffett nearly went bankrupt in 1962
His biggest bet was burning $4M a month. Bankruptcy was weeks away
Then a man named Harry Bottle saved his career in 6 days
The untold story of Buffett’s riskiest investment  🧵Image
1) Young Buffett thought he struck gold
He bet big on Dempster Mill, a struggling windmill manufacturer
Stock price: $18/share
Book value: $72/share
A 75% discount is the perfect Ben Graham-style bargain
By 1961, he owned 70% of the company Image
2) But the numbers were lying
Dempster made up 21% of Buffett’s fund
Cash: $166K
Debt: $2.3M
$4M of inventory sat rotting in warehouses some of it since 1909
Bankruptcy was weeks away. Buffett was trapped Image
Read 9 tweets
Sep 18
Trading in the Zone – Mark Douglas
Most traders lose not because of bad strategies… but because of bad mindsets.
Mark Douglas explains why trading psychology is the real edge.
Here’s the full breakdown 🧵 Image
1)The Core Idea

Trading isn’t about predicting the market.
It’s about learning to:
- Think in probabilities
- Control your emotions
- Execute with discipline
Success = consistency, not prediction.
2) Why Traders Fail

Douglas says most traders fall into 3 traps:
- Need to be right → They can’t accept losses.
- Random reinforcement → A few lucky wins create overconfidence.
- Emotional trading → Fear, greed, and hope drive decisions.
Result: they sabotage themselves, even with good strategies.
Read 10 tweets
May 16
Are markets really being manipulated on the expiry day ?

A detailed thread🧵 Image
1) Lets see last Nifty expiry on 8th May

We had war tensions
Lot of uncertainity going on

But straddle at 12 pm was quoting at 19😳

Infact 24400 CE had OI of 7.5 crore
This is highest ever OI on a single strike
2) This indicates that someone has opted for a quite expiry and inspite of the uncertainity is sure that 24400 CE won’t be taken out.

But now contrast this to yesterday(15th May)
Straddle was at 175 at 12 pm

And IV was spiking since morning
Read 11 tweets
Apr 11
This is Mark Douglas.
He wrote “Trading in the Zone” — one of the greatest trading books of all time.
But his live lectures go even deeper.
Here are 11 priceless insights that will instantly make you a better trader 🧵 Image
1. “Anything can happen.”
The market doesn’t owe you anything.
There are no guarantees.
Accept uncertainty — or get eaten by it. Image
2. “You don’t need to know what’s going to happen next to make money.”
Prediction is a myth.
You only need a repeatable edge and the discipline to follow it. Image
Read 13 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!

:(