JayneshKasliwal
JayneshKasliwal

@JayneshKasliwal

18 Tweets 60 reads Jul 15, 2022
4 Steps to Create A Systematic Trading Strategy
A Thread Covering basics of Rules Based Trading ๐Ÿงต
[1/17]
Traders gather past historical data and try to identify profitable trading opportunities, backtest their logic and develop profitableย trading strategiesย 
[2/17]
What matters is only data and what the data is trying to tell you.
In rules based trading you donโ€™t take trades based on what you think is going to happen , rather you follow the rules that you have created
[3/17]
A Systematic Trading consists of four major components:
๐Ÿ”ธ ๐—ฆ๐˜๐—ฟ๐—ฎ๐˜๐—ฒ๐—ด๐˜† ๐—œ๐—ฑ๐—ฒ๐—ป๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ปย - Finding a strategy and exploiting an edge.
๐Ÿ”ธ ๐—ฆ๐˜๐—ฟ๐—ฎ๐˜๐—ฒ๐—ด๐˜† ๐—•๐—ฎ๐—ฐ๐—ธ๐˜๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ดย - Obtaining data and analysing strategy performance across years .
[4/17]
๐Ÿ”ธ ๐—˜๐˜…๐—ฒ๐—ฐ๐˜‚๐˜๐—ถ๐—ผ๐—ป ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บย - Linking to a brokerage, automating the trading system and minimising transaction costs.
๐Ÿ”ธ ๐—ฅ๐—ถ๐˜€๐—ธ ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜ย - Optimal capital allocation , strategy diversification and design .
[5/17]
What are the Pros and Cons of Systematic Trading
[6/17]
๐Ÿญ. ๐—ฆ๐˜๐—ฟ๐—ฎ๐˜๐—ฒ๐—ด๐˜† ๐—œ๐—ฑ๐—ฒ๐—ป๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป
All quantitative trading processes begin with an initial period of research. This research process encompasses finding a strategy, seeing whether the strategy fits into a portfolio of other strategies you may be running.
[7/17]
๐Ÿฎ. ๐—ฆ๐˜๐—ฟ๐—ฎ๐˜๐—ฒ๐—ด๐˜† ๐—•๐—ฎ๐—ฐ๐—ธ๐˜๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด
The goal ofย ๐˜ฃ๐˜ข๐˜ค๐˜ฌ๐˜ต๐˜ฆ๐˜ด๐˜ต๐˜ช๐˜ฏ๐˜จย is to provide evidence that the strategy is profitable when applied to historical data.
This sets the expectation of how the strategy will perform in the "๐—ฟ๐—ฒ๐—ฎ๐—น ๐˜„๐—ผ๐—ฟ๐—น๐—ฑ".
[8/17]
Where can you backtest Strategies ?
You can use ๐˜š๐˜ต๐˜ฐ๐˜ค๐˜ฌ๐˜ฎ๐˜ฐ๐˜ค๐˜ฌ , ๐˜ˆ๐˜ญ๐˜จ๐˜ฐ๐˜ต๐˜ฆ๐˜ด๐˜ต , ๐˜›๐˜ณ๐˜ข๐˜ฅ๐˜ฆ๐˜ต๐˜ณ๐˜ฐ๐˜ฏ for Backtestingย  Index Option Strategies and ๐˜ˆ๐˜ฎ๐˜ช๐˜ฃ๐˜ณ๐˜ฐ๐˜ฌ๐˜ฆ๐˜ณ, ๐˜—๐˜บ๐˜ต๐˜ฉ๐˜ฐ๐˜ฏ, ๐˜›๐˜ณ๐˜ข๐˜ฅ๐˜ช๐˜ฏ๐˜จ๐˜ท๐˜ช๐˜ฆ๐˜ธย  to custom code and backtest all other strategies
[9/17]
๐—˜๐˜…๐—ฒ๐—ฐ๐˜‚๐˜๐—ถ๐—ผ๐—ป ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ๐˜€
Anย ๐˜ฆ๐˜น๐˜ฆ๐˜ค๐˜ถ๐˜ต๐˜ช๐˜ฐ๐˜ฏ ๐˜ด๐˜บ๐˜ด๐˜ต๐˜ฆ๐˜ฎย is the means by which the list of trades generated by the strategy are sent and executed by the broker
[10/17]
The key considerations when creating an execution system are
ย A. ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ณ๐—ฎ๐—ฐ๐—ฒ ๐˜๐—ผ ๐˜๐—ต๐—ฒ ๐—ฏ๐—ฟ๐—ผ๐—ธ๐—ฒ๐—ฟ๐—ฎ๐—ด๐—ฒ
B. Minimisation ofย ๐˜๐—ฟ๐—ฎ๐—ป๐˜€๐—ฎ๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐—ฐ๐—ผ๐˜€๐˜๐˜€ย 
(including commission, slippage and spread)
[11/17]
C.ย ๐——๐—ถ๐˜ƒ๐—ฒ๐—ฟ๐—ด๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—ผ๐—ณ ๐—ฝ๐—ฒ๐—ฟ๐—ณ๐—ผ๐—ฟ๐—บ๐—ฎ๐—ป๐—ฐ๐—ฒย of the live system from backtested performance.
Example : You can use ๐˜˜๐˜ถ๐˜ข๐˜ฏ๐˜ต๐˜ช๐˜ฑ๐˜ญ๐˜บ, ๐˜›๐˜ณ๐˜ข๐˜ฅ๐˜ฆ๐˜ต๐˜ณ๐˜ฐ๐˜ฏ , ๐˜ˆ๐˜ญ๐˜จ๐˜ฐ๐˜ฎ๐˜ฐ๐˜ซ๐˜ฐ , or directly use Python to deploy our strategies
[12/17]
Came across this start-up called Investmint @investmintclub .They seem to have some quantitative strategies for retail users. I joined their beta group where I found two intraday strategies, seems they are on to something interesting.
[13/17]
๐Ÿฐ. ๐—ฅ๐—ถ๐˜€๐—ธ ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜:
Risk management encompasses ๐˜ฐ๐˜ฑ๐˜ต๐˜ช๐˜ฎ๐˜ข๐˜ญ ๐˜ค๐˜ข๐˜ฑ๐˜ช๐˜ต๐˜ข๐˜ญ ๐˜ข๐˜ญ๐˜ญ๐˜ฐ๐˜ค๐˜ข๐˜ต๐˜ช๐˜ฐ๐˜ฏ , strategy diversification and inbuilt limits for losses within a strategy
[14/17]
This is the means by which capital is allocated to a set of different strategies and to the trades within those strategies
Example : 2 Lakh per lot for Option Selling , keeping buffer cash for drawdown and MTM Losses
[15/17]
In Summary
How to ๐—ฏ๐˜‚๐—ถ๐—น๐—ฑ/๐—ฏ๐—ฎ๐—ฐ๐—ธ๐˜๐—ฒ๐˜€๐˜ a strategy ?
๐Ÿ”ธ Idea/Hypothesis
๐Ÿ”ธ Specify entry,exit, SL
๐Ÿ”ธ Position Sizing and Risk Mgt.
๐Ÿ”ธ Trade log and Backtest Report
๐Ÿ”ธ Test in diff. market conditions
๐Ÿ”ธ Optimise the strategy
๐Ÿ”ธ Track Real Time performance
๐Ÿ”ธ Deploy
[16/17]
If you like this thread please retweet the first tweet and follow me for more!

Loading suggestions...