Hi There 😇, Algo-Trading is just picking up in India. Almost every discount/traditional brokerage house wants to grab this market by offering innovative products and robust APIs for order executions, market feeds, etc.
This has led to a boom in the number of broking firms offering their API services. This article aims to cover most brokers in India offering this service and give you a comprehensive view of what they offer and how they can be of use to you.
But before we get started, you need to understand some methodology related to this topic; you might have read the technical version of each word below, but here is my attempt to explain this from a Finance point of view.
API (Application Programming Interface)
Let's think of a traditional bank like State Bank of India, you walk into any branch over the country, and you see multiple desks within the branch. For a minute, think of these desks as a gateway, your gateway to access new financial products or conduct transactions. You need to deposit money, sure go to bank teller gateway; you need to enable online banking, go to support gateway, similarly, you need to open a safe deposit box, you go to that relevant gateway within the bank. All these gateways are just endpoints that you need to call to access information or post information to them. Yes, that's an API. Very, very simple. You do not need to anything more.
Technical Representation of an API on how it act's as a gateway. Source: Medium
SDKs (Software Development Kits)
An SDK in technical terms serves as a wrapper around an API, what this means is, an API is just a gateway, BUT, an SDK is a tool that contains all the various gateway and can easily be used by developers for use in their code/software.
In real life, think of a Relationship Manager (RM) from SBI (considering you have the luxury of having one RM), this RM acts as an SDK for you, you need any help related to the bank, you deal with the SDK who in turn would deal with all the API gateways.
SDK is available in multiple languages like Python, Go, Rust, PHP, .NET, it depends on the broking house on which languages they prefer for their clients. You are also always welcome to create your own SDK in any language you want.
You might have heard of the word Ticker Tape which was an actual thing in the 1990s; the stock prices would be printed on this tape and would be streamed to all brokers who had a subscription. It used to look something like this.
Websockets is just a digital version of Ticker Tapes; a WebSocket is basically a connection between us and the broker servers where we request the continuous stock prices information to the server, and it responds with a continuous stream of prices until the broker or client stops the connection.
Most of the Algo-Trading strategies would rely on live stock prices and use WebSockets to get that live prices stream and use it to satisfy their strategy conditions and place orders. If a particular broker does not provide a WebSocket feed, you will have to arrange your own feed to run strategies which can be very inconvenient and expensive.
List Of Brokers with APIs
Before the list, Disclaimer: I do not work for any broking entities mentioned below, and nor is this any recommendation or affiliate marketing. This information is for your reference purpose only.
Every Broker Name below is hyperlinked to the relevant API page, and there is no monetary benefit to Trade With Python.
Just so you know, the table is scrollable horizontally, some columns might be hidden based on your screen size.
|Composite Edge 1||None||Yes||Nil|
|SS Corporate Securities 1||None||Yes||Nil|
: The broker is utilizing Symphony Fintech APIs
: Fyers provide Historical/Websocket Market Data API via TrueData vendor, which has a subscription fee.
: MasterTrust website mentions they have SDKs, but I couldn't find them. TradeLab has developed its API
: API developed by TradeLab
: Upstox API currently under Beta Development
List of Brokers with no API but that support Algo Trading via 3rd Party Platforms
A few days back, I wrote about the low-code/no-code trading platforms in India which give retail investors the power to create/backtest/deploy their strategies without any knowledge of coding. All of the above brokers (who have APIs) are supported by at least one low-code platform mentioned in that article which you can read here.
The below list of brokers do not have their open APIs, but if you have an account with them, they still allow you to Algo Trade using TradeTron. They might be supported by other low-code platforms as well, please feel free to mention them in the comments, and I will update the article.
- Acumen Group
- Aditya Birla Money
- Arham Share
- Arham Wealth
- Enrich Broking
- Gill Broking
- Goodwill Wealth Management
- Share India
- Motilal Oswal
- Nirmal Bang
- Prabhudas Liladher
- Profit Mart
- Rudra Shares
- Trade Swift
- Wisdom Capital
That's it, Folks ✅ I spent a significant time researching and collating information for this article. Apologies in advance if there are any factual errors within the article, but I would be grateful if you can point them out in the comments below or using the Contact Us page on this blog.
If you run a brokerage house and also provide Algo-Trading service, do give me a shout, and I will be more than happy to add you to this article. 😃
Again, I would be more than happy to listen to you on some feedback and any ideas on future articles/content; I thank you for being a reader of TradeWithPython. If you haven't subscribed to the newsletter already, you can do so by putting in your email at the top of this blog, and you will receive all notifications about my future articles. (No spam!)
To support me for all the effort to create this content, consider buying me a coffee ☕ by clicking here or the button below.
Did you find this article valuable?
Support Trade With Python by becoming a sponsor. Any amount is appreciated!