Algorithmic Trading Secrets - Trading Tuitions PDF
Algorithmic Trading Secrets - Trading Tuitions PDF
1
Trading is considered as a complicated business and human mind complicates it further. We
always tend to look for shortcuts for success, which never comes along. Let’s face it, everyone wants
to be successful in life, while living in a swanky beach house or driving a top-class automobile. The
stock market success stories about how one can turn their life by investing has led to an increase in
affinity towards stock market.
After spending years in this field, I very well know that overnight success is a myth. One becomes
wealthy step by step by following a trading system with discipline and consistency. It doesn’t matter
whether this system is simple or complex.
If you want to get rid of your 9 to 5 job and make a consistent passive income from the stock market,
Algorithmic Trading is your rescue. Read on to know more….
PS: Algorithmic Trading cannot make you a millionaire overnight. It requires patience and discipline
to build and follow a trading system which can generate consistent income.
Are you new to Algorithmic Trading? Well, this guide is made for people like you.
Have you tried everything possible in Stock market, but only earned pennies? We will show you
step by step method to grow your wealth and live the life that you always wanted.
Are you too confused or looking to quit markets forever? Just give this method a try, we cannot
promise you results overnight, but you have nothing to lose!
In the United States, around 70% of total trading volumes comes from Algorithmic Trading. In
developing nations like India, it accounts for around 40% of trading volumes, not a bad number at
all! Machines are replacing humans in every field and so is financial trading. So only way to keep
yourself at par or above is to learn and implement algorithmic trading methods.
Retail traders tend to keep away from Algorithmic Trading considering it complex and out of reach.
However, it’s not true at all. Building an Algorithmic Trading system can be a simple task if one
knows the fundamentals behind it. And this guide intends to introduce you to the world of
algorithmic trading.
Before we get into the detail, let’s see what can the end result look like.
Suppose, you develop a trading system which gives accurate buy/sell signals and you are
consistently able to earn 0.5% per day on an average. And you let your capital compound i.e. you
invest your profits back into the system.
With an initial investment of 50000, your capital growth chart for a year would be:
300000
250000
Capital multiplied by 6~ times in a
year
200000
150000
100000
50000
0 Day 177
Day 331
Day 1
Day 12
Day 23
Day 34
Day 45
Day 56
Day 67
Day 78
Day 89
Day 100
Day 111
Day 122
Day 133
Day 144
Day 155
Day 166
Day 188
Day 199
Day 210
Day 221
Day 232
Day 243
Day 254
Day 265
Day 276
Day 287
Day 298
Day 309
Day 320
Day 342
Day 353
Day 364
Your initial capital of 50000 bucks turned into over 300000 in a period of 1 year. This is an
incredible return on investment.
And what if you are able to carve out a system which gives 1% profit every day
Capital
2000000
1800000
1600000
800000
600000
400000
200000
0
Day 12
Day 210
Day 1
Day 23
Day 34
Day 45
Day 56
Day 67
Day 78
Day 89
Day 100
Day 111
Day 122
Day 133
Day 144
Day 155
Day 166
Day 177
Day 188
Day 199
Day 221
Day 232
Day 243
Day 254
Day 265
Day 276
Day 287
Day 298
Day 309
Day 320
Day 331
Day 342
Day 353
Day 364
Can you imagine this? You can multiply your capital passively if you have an accurate algorithmic
trading strategy in place.
A capital of 200K invested in 2006 multiplied to 6~ million in 2016, and the profit still keeps coming.
This is 30 times growth in 10 years without compounding. Had it been I allowed compounding, this
would have been a billion-dollar system!
Now, since you know why it is worth to invest your time in developing algorithmic trading system,
let’s try to understand the basics behind it.
It’s said that your success in Trading depends on 30% market analysis, 30% risk management, 30%
emotion control and 10% luck. If we keep luck aside, then Algorithmic systems can take care of rest
90%. Most of the Traders fail when emotions intervene in their trading decisions. Even the seasoned
traders panic while pressing Buy/Sell button which eventually leads to loss.
Algorithmic systems will take care of all these drawbacks associated with manual trading. Also, if you
are busy with your day job and cannot devote time to trading, then you can simply automate your
algorithm so that your computer can trade on behalf of you.
The only thing is you need is right guidance and resources at the right time. The Internet is full of crap
and you need to be careful about how and where to start.
Based on my 10+ years of experience, I have created a 5 step checklist to become an algorithmic
trader. If you follow this in order, you should be able to write your own trading system in less than 6
months.
Assuming that you are building a trading system based on technical analysis, this is the most important
step. Even if you think you are an expert technical analyst, never stop learning. Technical analysis is
more of an art than science, and there is no end to it. The best way to learn is to observe price charts,
make it a habit and make notes whenever necessary.
Varsity is one of the best websites to learn technical analysis. If you are looking for some hardcopy
books, here are the suggestions.
I have met people who simply do paper trading and aspire to become an algorithmic trader. Believe
me, that’s not going to work. In order to win the war, you have to go out and fight yourself! So, open
a trading account and start trading regularly. Don’t just speculate or trade based on the gut feeling.
Try to apply the concepts you learned in technical analysis.
You might fail in the beginning but note down your observations from each trade. Try to maintain a
date wise trade log. If you buy any stock, make a note what made you buy it. Collect as much data as
you can as that is going to be the foundation of your algorithmic system development.
You would need a software or tool to convert your trading strategy into an algorithm. And once the
algorithm is coded, the tool should have a capability to backtest this algorithm on historical data.
Picking a right tool is important as you cannot re-invest your time learning different tools.
I did an independent survey among 1000~ experienced traders to know which algorithmic trading tool
is best. The survey focussed on 5 parameters and users were asked to rate out of 100 for each tool.
See the result below:
98
95
93
91
90
90
89
88
86
84
83
82
78
78
75
75
74
72
68
64
63
57
55
45
45
Clearly, Amibroker stands out in all aspects. I have been personally using Amibroker from past 10
years, and never had any complaints.
So, whether you are a beginner or experienced trader, I would recommend to start using Amibroker
for algorithmic trading system development. It is a feature-rich, robust software that allows you to
develop and backtest trading systems. Even people from non-computers background find it very easy
to learn.
Now here comes the important part. Based on the data you collected in Step 2, you need to code your
algorithmic trading system. Assuming that you are using Amibroker, it provides a neat coding interface
where you can write trading systems using Amibroker formula language (AFL). You need not to be a
computer programmer to learn this language, a little practice can help you get going. Check out this
link if you want to learn AFL coding from scratch.
Make sure you add risk management rules, position sizing and commission calculation in your code.
Against the mass belief, the algorithmic trading systems need not to be complex always. I have a live
system which has just 50 lines of code, and it’s performing well since a year now.
Once you have coded your system, you need to backtest it against historical data to see how it works.
Never ever start trading on a system without backtesting it. It is a way to validate the performance of
your system. Also, make sure that the historical data source is reliable, otherwise backtesting results
may not be accurate.
Post backtesting, you can also optimize the system parameters to further improve its performance.
All this can be done with few clicks in Amibroker. Learn trading system development using Amibroker
here.
Observe the system performance for few months and try to compare it with the backtest results that
you saw earlier. Don’t get disheartened if there are few losses, no system in the world is 100%
accurate. If you are not convinced with the performance, then tweak it further to obtain the desired
result.
After you are fully satisfied that your system is working, you can try to automate it. Depending on your
exchange and country, there are different options to automate. And almost all of these options
support Amibroker. The money will start flowing in passively, your system will do all the hard work
for you.
These 5 steps are more than sufficient to become a successful algorithmic trader. Spend most of the
time in Step 2 and Step 4 as the foundation of your system depends on it. You would be tempted to
hire a freelancer to code your system, but I would recommend to do it yourself. It’s not difficult at all!
Drop me an email if you need help with coding.
Also, never stop with just 1 system. None of the trading systems will work forever. So keep
experimenting with new systems always. Diversification of systems is more important than
diversification of the portfolio.
No, it’s not. You can even convert your simple trading rules into Algorithms and trade live on it.
No! You can even buy very small quantities using Algorithmic Trading.
This may be required only if you are doing high-frequency trading using algorithms. For anything else
your PC is sufficient.
Interesting Reads