loader2
Partner With Us NRI

Open Free Demat Account Online with ICICIDIRECT

Basics of Algorithmic Trading: How to start Algo Trading

Introduction

A rapidly-changing technological environment has brought fascinating changes to the world of finance. Algorithmic trading or ‘Algo trading’ has endowed traders with new skills that provide a competitive edge.

What is Algorithmic Trading?

Algo trading is a trading strategy that involves using coded programs to identify and execute large trades in the market. It operates automatically based on the code that has been created. The code can be based on price, volume, timing or other mathematical and quantitative formulae. When the requirements based on the code are met, the algorithm automatically executes the trade without any human intervention.

Since Algo trading works on pre-decided conditions, getting the coding right is essential. That means you have to back-test your strategy on past data before implementing it in the real world. Once you have tested it out, you can create entry or exit trading signals that will be executed automatically when the conditions are met. Algo trading can be programmed to be positional, intraday-based, or used for high-frequency trades. For example, an Algo trading example could be:

  1. Buy 1 lakh shares when 14 days moving average price crosses 200 DMA (Daily Moving Average)
  2. Sell 1 lakh shares when 14 days moving average price goes below 200 DMA

Additional Read: Margin trading: An overview

Advantages of Algorithmic Trading

Speed is the biggest advantage of algorithmic trading. A computer-coded program can execute orders much faster than humans. It also eliminates human bias and reduces the number of trading errors, as long as the code is correct.

  1. Another advantage of Algo trading is that high-volume trades can be executed at fractional speeds across the markets. That also reduces the overall transaction costs. It can effectively capture arbitrage opportunities. While retail investors can use Algo trading to improve their trading strategy, institutional investors often use it to enhance returns.  Algo trading also has various types of risk. It could create a huge loss in a volatile market. It can also amplify the systematic risk as most markets are interlinked and impact of one market can quickly be transferred to other markets.

Algorithmic Trading in India

The Securities and Exchange Board of India allowed Algo trading in 2008. Initially, it was restricted to institutional investors like mutual funds, hedge funds, insurance companies etc., but its growing popularity made the retail community adapt. Many broker and fintech firms offer Application Programming Interface (API) where users code their strategy or choose from the existing strategy. As per the NIFM report on Algo trading, which was published in 2018, 50% of the client trade are Algo trades, while in the case of proprietary trading, Algo contributes around 40%. In the developed markets, around 80% of the trades come from Algo.

Recently SEBI raised concerns on Algo trading. As per the present scenario, the exchange approves the Algo submitted by the brokers but doesn't control where individuals create their own using the brokers' API. SEBI has suggested that all orders routed through API will be considered Algo trades. All API involved in Algo trading will be allocated a unique Algo ID and this has to be approved by the stock exchange. Brokers also need to put a proper mechanism to control unauthorized use, alteration in the Algo etc.

As per SEBI, this unapproved Algo poses a risk to the market as these can be misused to manipulate the markets.

How to Start Algo Trading?

As a retail investor, you can begin Algo trading in the following manner:

      1.  Understand the Market

The first step to any kind of trading is to understand the market. Before you jump into Algo trading, get an in-depth understanding of the instrument or market you can trade-in so that you can come up with a hypothesis to base your trades on.

      2.  Learn to Code

If you don’t know how to code, you can pick up some coding languages such as Python and create an algorithm that works for you or get it coded by experts.

      3.  Back-test Your Strategy

Before you go live with your algorithm, you must test it out first. Get good quality historical data from reputed sources and back-test your strategy. You can also use third-party back-testing software to confirm whether your algorithms work. Depending on whether or not they work, you can tweak your code.

     4.  Choose the Right Platform

As important as your code is, it is also essential that you choose the right broker and platform to execute your trades. Pick a broker who supports your algorithm and provides various tools you can use to optimise your trading strategy.

     5.  Go Live

Once you are confident with your algorithm, the next step is to take it to live! Monitor its functioning in the market and keep an eye on how it works in the real world. Sometimes, your algorithm doesn’t work the way you want it to. You may then have to re-do it from scratch or tweak as per your requirement.

     6. Keep Evolving

If your first strategy fails, that doesn’t mean you need to give up on Algo trading. Continue to experiment with codes and see what works best.

If you don’t have the time or skills to come up with your own algorithm, there are plenty of Algo software in the market that you can purchase that will do the job for you. Do your research, back-test the strategies and choose one that fits your requirements.

Additional Read: Making Profits with Intraday Trading

Conclusion

If you are a seasoned traditional investor, then experimenting with Algo trading can take your trading strategy to the next level. You can take advantage of fleeting trading opportunities which you would have otherwise missed out on. Algo trading can make you a quick, efficient and successful trader.

Disclaimer – ICICI Securities Ltd. (I-Sec). Registered office of I-Sec is at ICICI Securities Ltd. - ICICI Venture House, Appasaheb Marathe Marg, Prabhadevi, Mumbai - 400 025, India, Tel No : 022 - 6807 7100. I-Sec is a Member of National Stock Exchange of India Ltd (Member Code :07730), BSE Ltd (Member Code :103) and Member of Multi Commodity Exchange of India Ltd. (Member Code: 56250) and having SEBI registration no. INZ000183631. Name of the Compliance officer (broking): Mr. Anoop Goyal, Contact number: 022-40701000, E-mail address: complianceofficer@icicisecurities.com. Investment in securities market are subject to market risks, read all the related documents carefully before investing. The contents herein above shall not be considered as an invitation or persuasion to trade or invest.  I-Sec and affiliates accept no liabilities for any loss or damage of any kind arising out of any actions taken in reliance thereon. The contents herein above are solely for informational purpose and may not be used or considered as an offer document or solicitation of offer to buy or sell or subscribe for securities or other financial instruments or any other product. Investors should consult their financial advisers whether the product is suitable for them before taking any decision. The contents herein mentioned are solely for informational and educational purpose.

Most Popular

  • 13 May 2022
  • ICICI Securities

The Five-Point Financial Planning Checklist For Your Family

Whether you just got married or planning to have a baby or have dependents, you should have financial plans for every stage in your life to ensure a secured future for your family members. Here are five things you can do financially for your family.   

  • 12 May 2022
  • ICICI Securities

What is a Zero Coupon Bond?

You get fixed returns in the form of interest until maturity when you invest in a bond. Zero-coupon bonds work a little differently. In this article, find out what zero-coupon bonds are, their advantages and whether you should invest in them. 

  • 12 May 2022
  • ICICI Securities

What are Cross Currency Pairs?

The forex market is the largest financial market globally. Currency trading is a lucrative and booming business. While most currencies trading happens in relation to the US Dollar, some don’t. That forms the basis of cross currency pairs. Here’s what you need to know about it. 

  • 12 May 2022
  • ICICI Securities

Investing principles from Benjamin Graham: The Father of Value Investing

Benjamin Graham was a British born economist, professor, and investor who taught at Columbia University. He was also a mentor to some of the most famous investors of the 20th century, including Irving Khan, John Templeton, & Warren Buffett. Buffett called him "the second most influential figure in his life, only after my father". 

  • 12 May 2022
  • ICICI Securities

How to Invest in Nifty 50?

The Nifty 50 is the benchmark index of the National Stock Exchange. It represents the 50 largest companies listed in India. Investing in the Nifty 50 can be a good idea for those looking to make index-linked returns. Here’s how you can invest in the index. 

  • 12 May 2022
  • ICICI Securities

Investment philosophy of Cathie Wood: The most powerful woman on Wall Street

Catherine Duddy Wood, also called Cathie Wood, is an investor who primarily invests in disruptive technologies and is the founder, chief executive officer, and chief investment officer of ARK Investment Management, LLC, an investment management firm mostly active in the United States.

  • 11 May 2022
  • ICICI Securities

How to Use Technology to Improve Your Finances

Technology has made life simpler for everyone. In the realm of personal finance, technology has streamlined many processes—from budgeting to automating your payments. On National Technology Day, let’s look at how technology has transformed our finances. 

  • 11 May 2022
  • ICICI Securities

How to Invest in your Every Goal with Mutual Funds?

Each of us is unique. We have different needs and goals in life. Some of us can ride along swinging markets, while some may need a relatively conservative investment tool. 

  • 11 May 2022
  • ICICI Securities

Four Reasons Why Entrepreneurs should Invest in Equity Mutual Funds

Equity mutual funds provide growth opportunities not just for individual investors but also for entrepreneurs and corporates. They make excellent investments for anyone looking for wealth creation. This article will give you four reasons why businesspeople should consider investing in equity mutual funds.