Professional Documents
Culture Documents
Introduction
What is an Algorithm (Algo) ?
An Algorithm is "a set of rules that precisely define a sequence of operations. e.g. calculating employees'
paychecks or printing students' report cards.
Algorithmic trading could be understood as a set of instructions to buy/sell financial instruments e.g.
stocks, bonds, currencies based on pre-defined parameters and upon certain events being invoked.
e.g. Simple Algo - Split an order to buy 5000 shares of ITC into 50 orders of 100 shares each (this is
known as Order Slicing)
Complex Algo Based on P/E sell 5 stocks (Highest P/E) and buy 5 stocks (Lowest P/E) of Nifty 50 stocks.
To hedge positions, buy call / put options for an amount = 10% of exposure to each stock
Start
System
Get
Stock
Prices
If Price
of ACC
< 1000
Buy 100
shares @
price of
1000
Figure: A basic algo to buy when last traded price falls below a specified level
Introduction
So how different are Trading workstations (offered by Retail Brokers) vis-a-vis Algo Trading
Trading workstations allow us to do some basic algorithms such as a Stop Loss order (which also is an algo
if you think about it), Buying a Basket of Nifty stocks, Placing Spread Orders, etc.
However, it ends at that.
If you want to build more sophisticated rules or rules specific to your own trading style and methodology,
which is precisely what you should be doing to improve your trading performance, you can build your own
algorithmic trading system.
So do we re-invent the wheel and build an entire trading system all-over? Not at all.
All algo trading does is interfaces with or talks to the regular trading workstations through API
(Application Programming Interfaces).
Rules rule!
Why is it that few traders consistently make money v/s other traders who may be more well-informed
or even having a higher IQ ?
Because trading, as a discipline, has an equal if not more important weightage factor in terms of EQ i.e.
Emotional Quotient
Successful traders do trade on basic rules, and they have strong money management and risk management
principles in place. They do not let their emotions get the better of them, generally speaking.
Algo Trading eliminates the heavy losses that may crop due to periods of emotional upheaval, thereby
enabling the average trader to move up into the rung of successful traders
Algo Trading brings in:Choosing trades based on set rules and eliminating trading on impulse
Figure: A tug-of-war may be always going on between You and Your system,
which effectively keeps both at bay
Technical Strategies. Buy where there is a technical break-out such as the 10 day moving average crossing
over the 20 day moving average and likewise short on the reverse side. Combines momentum indicators
VWAP based. Aimed at benchmarking against the Volume Weighted Average Price of the stock for the day,
or for the last half an hour of trading (particularly used on days of derivatives expiry)
Market-making. Simultaneous quoting for both Buying & Selling at a certain bid-ask spread and profit
from temporary demand-supply imbalances which cause prices to move either side in a particular direction
Index Arbitrage. Buy a basket of Index stocks and sell futures or vica-versa to take advantage of basis
Figure: Server/Development PC at client end receives Data Feed and connects to Broker infra via the Internet.
Server can also be hosted at Brokers end or at Stock Exchange end (Co-Location) to reduce latency
Reach us at :
52/53, Hi Life, P.M Road
Santacruz (W) Mumbai 400 054.
Tel: +91 9870104332
Email: vivek.gadodia@gmail.com