How COLO went Loco, or how technology aided stock scams

In 2010, in an exercise dubbed Co-Location (COLO), the NSE allowed a few brokers to trade from inside its premises. The traders set up machines in the exchange’s data center, which housed the technological engines that matched the millions of buy and sell deals every day.

Update: 2021-01-20 00:50 GMT
#disqus_thread{ display:none !important;} .clearfixsol:after { content: ""; display: table; clear: both; } /* #disqus_thread, .td-main-sidebar, .td-footer-wrapper, .td-sub-footer-container { display:none !important;} */ #tfwrapper {height:auto;} #tfwrapper .firstcharacter { color: #000000; float: left; font-family: Georgia; font-size: 75px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; } #tfwrapper h6 { font-family: 'Roboto', sans-serif; font-size: 17px; line-height: 20px; font-weight: 400; text-align: center; color: #000000; } #tfwrapper #tfbody{ margin: 15px;} #tfwrapper #tfbody, #tfwrapper #tfheader{ margin: 15px;} #tfwrapper .hidden{ display:none !important; } #tfwrapper h1 { font-family: 'Rubik', sans-serif; font-weight:400; font-size: 17px; line-height: 20px; text-align: center} #tfwrapper h2, #tfwrapper h3, #tfwrapper h4, #tfwrapper h5 { font-family: 'Arapey', serif; text-align: center; } #tfwrapper h2{ font-size: 48px; color: #bfbebe;} #tfwrapper h2.iframeheadline{ text-align: left; font-family: 'Roboto', sans-serif; font-size: 36px; max-width: 960px; width: 100%; margin: 0px auto; line-height: 26px; font-weight: 400; color: #333333;} #tfwrapper h3{ font-size: 34px; line-height: 36px; max-width: 750px; margin: 15px auto;} #tfwrapper p.tfauthor { font-family: 'Arapey', serif; font-style:italic; font-size: 20px; font-weight: 400; margin-bottom: 18px; text-align:center; } #tfwrapper p.intro { font-family: 'Arapey', serif; font-size: 24px; color: #888888; line-height: 25px;} #tfwrapper p.dataupdated { font-weight: 300; font-family: 'Roboto', sans-serif; font-size: 14px; text-align:center; margin: 0px auto;} #tfwrapper p { text-align: left; font-family: 'Roboto', sans-serif; font-size:18px; max-width: 525px; width: 100%;margin: 35px auto; line-height: 26px; font-weight: 300;} #tfwrapper p.nextstry { text-align: center; font-weight: 700; color: #888888;} #tfwrapper img { max-width: 525px; width: 100%;margin: 15px auto 35px auto; display:block;} #tfwrapper img#leadImg { max-width: 100%;} #tfwrapper iframe { max-width: 960px; width: 100%;margin: 15px auto 35px auto; display:block;} #tfwrapper img.gitag { width: 230px; margin: 0 auto;} #tfwrapper .dividercontent { width:100%;margin: 15px auto; max-width:1400px; } #tfwrapper .dividercontent .grid { width:100%; height: auto; } #tfwrapper .dividercontent .grid .griditem { float:left; width:25%; margin:15px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;} #tfwrapper .dividercontent .grid .griditem:first-child { margin-left:0px; } #tfwrapper .dividercontent .grid .griditem:last-child { margin-right:0px; } #tfwrapper .dividercontent .grid .griditem img{ width:100%; } #tfwrapper .storynav{ margin:0 auto; height:auto; max-width: 525px; width: 100%; text-align:center; line-height: 0px; margin-top: -15px;} #tfwrapper .storynav .col{ float:left; width:33.3%; height:90px; } #tfwrapper .storynav .col a{margin-top: 40px; display: block; color:#f72c2c; text-decoration: none; font-weight:bold; } #tfwrapper .nextstory {text-align:center; } #tfwrapper .nextstory a{color:#f72c2c; text-decoration: none; font-weight:bold; } #tfwrapper .maincopy-head { line-height: 48px; font-size: 48px; color: #000000; max-width: 845px; margin: 15px auto 35px auto; width: 100%;} #tfwrapper .maincopy-subheads{width: 100%; max-width: 375px; margin: 15px auto;font-size: 34px; min-height: 80px; font-family: 'Arapey', serif; line-height: 35px;} #tfwrapper .maincopy-subheads span{ font-size: 95px; font-family: 'Arapey', serif; color: #999999; border-right: 1px solid #999999; float: left; padding-right: 10px; margin-right: 15px; height: auto; line-height: 70px;} #tfwrapper .alsoread{ font-weight: bold;} #tfwrapper .alsoread a{ color: #f72c2c; text-decoration: none;} #tfwrapper p.graphiccaption { font-weight: 400; font-family: 'Roboto', sans-serif; font-size: 14px; line-height: 18px; font-style: italic; text-align: center; margin: 0px auto; } .twitter-tweetmargin-left: auto; margin-right: auto; } /* Mobile Devices */ @media screen and (max-width: 767px){ #tfwrapper h2 { font-size: 45px; line-height: 30px; } }

A Federal series on three decades of reforms

As part of our series on 30 years of liberalisation today we look at how technology helped swindlers game the stock markets

Part 26

How COLO went Loco, or how technology aided stock scams

Uploaded 19 January, 2021

Alam Srinivas

It was a huge leap for the Mumbai-based National Stock Exchange (NSE). In 2010, in an exercise dubbed Co-Location (COLO), it allowed a few brokers to trade from inside its premises. The traders set up machines in the exchange’s data center, which housed the technological engines that matched the millions of buy and sell deals every day. Instantly, COLO went loco, as the inside-brokers found themselves at a huge advantage against their competitors, who were based elsewhere in the city.

This technological innovation enabled the COLO dealers to get a snapshot of the existing buy-sell orders of the other outside-brokers a few seconds earlier. This was due to the proximity of their machines to the exchange’s master engines, which collated the details of the millions of orders. Thus, the technology bots, AI tools, of the COLO traders could instantly, within nanoseconds, place new trades to profit from the demand-supply situation in the various stocks.

For example, if a broker within the exchange knew that the buys for a specific share were more than the sells, her AI could anticipate that the price was likely to go up. The bots could place orders that could benefit from this knowledge, which leaped out on the broker’s screen a few seconds before the others saw it. It was a sure-shot trade; profits were guaranteed. Although the margins were small, the overall gains were phenomenal if the bots did a million trades – and daily.

Once the information was known to everyone, market efficiencies kicked in, and every buyer was matched to a seller. The price stabilized at a new, possibly, higher, level. But the COLO-broker made a killing though her bots. In 2015, a Singapore-based whistleblower, whose pseudonym was Ken Fong, ripped apart the veil over this “Preferential Access” scam. In his eight-page letter to the exchange, he wrote that “certain vested brokers… get price information ahead of the others”.

For most reformers, and those who unabashedly support liberalization, technology is a crucial intervention tool. They feel that once human hands are taken out of the picture, and machine knowledge gets rid of greedy middlemen, the system will logically become transparent, fair, and efficient. However, in the case of stock markets, and other ones too, experiences prove that as long as human minds are involved, there are enough gaps and loopholes that can be exploited.

Let us consider the case of whiz kid-turned-rogue trader, Jignesh Shah, who is fighting to prove his innocence in the courts. Various legal orders charged that he, and the National Spot Exchange that he created, used technology to encourage manipulations in commodity prices. The exchange became a haven for “unworthy members”, or traders, who used it to drag investors into “high-risk exposures”. When the curtain fell on the scandal, there was a huge hole of Rs 5,500 crore.

A recent SEBI order, which summarized the allegations against Shah, One, the management of the spot exchange lacked in “transparency, integrity, competence, compliance with law and, most importantly, an honesty of intent to meet its stated objective of offering a platform for genuine trading in commodities”. In fact, its board nurtured and incentivized unscrupulous dealers to continuously trade, even as they consistently defaulted on their payments to investors.

In June 2007, the spot exchange was allowed to trade in one-day forward contracts in commodities. However, from 2009, several traders were able to “roll over their outstanding debts”, and convert spot trades into long-term “financial transactions”. Their expertise seems to be in “paired contracts”, which generated returns of 13-18% per year. These were neither used to discover market prices nor were they backed by physical deliveries. In spot trading, the latter is necessary.

When the exchange “abruptly suspended trading”, there was a default of Rs 5,500 crore, which was to be paid by 24 borrowers to more than 13,000 investors. Nineteen of the 24 borrowers, who had “poor credentials”, were declared defaulters, and the “management had no risk tools at their disposal to recover the money from them”. A physical verification of the exchange’s 16 warehouses revealed physical stocks of Rs 358 crore against claimed stocks of Rs 2,389 crore.

In his book, The Market Mafia, Palak Shah focuses on both the COLO and Shah’s scams. In the case of the former, he observes, “The idea of COLO itself had created an Orwellian state where brokers who were within the (servers) farm were higher among the equals as the whistleblower’s revelations now revealed that the entire infrastructure was in fact defective.” Technology, which was aimed to encourage openness led to a closed-loop system, which profited a few dealers.

Apart from the proximity of the brokers and the National Stock Exchange’s machines, there were other ways in which some lucky brokers were able to manipulate their counterparts and investors. One of them was access to past data. Each day, the stock exchange creates huge gigabytes of data, which captures the daily deals. In themselves, they are worthless for a trader, but valuable for a researcher. But imagine if someone had the exchange’s data for years?

Someone with such a catch-cache could plug-in the past trends into new algorithms to predict the near future. In addition, she could actively watch the patterns on specific stocks, and the behaviour of certain kinds of market players. In its wisdom, the exchange gave this data to researchers, and did not focus on the end use. The fortunate academicians used this new-found “Goldmine”, and coded the data into their algorithm-based stock trading software.

As one of them wrote in an email, which later became public, “You have to swear everyone to silence about the fact that the data we are getting out of NSE is going into Algorithmic trading work. It would be a severe problem if this fact comes to light, since NSE has not even given the data to anyone else.” Palak Shah concludes in his book, “Speed of trading and advanced information is a Mantra for winners in the stock market.” Add to this the access to past data to assess future patterns.

There was yet another interesting element to the COLO scam – early log-in. In most technology-driven exchanges, the servers are automatically switched on at an exact time every trading day. This wasn’t the practice at the NSE. Investigations showed that they were switched on manually at around 7.30 AM on trading days, “but the time wasn’t fixed”. Unlike the stock market, which starts at the same time for everyone, the server connection was “established before the market opened”.

Brokers within the exchange’s premises found out that if they logged in earlier than the others, even within the same location, they could receive the market feeds and reports a few tiny seconds ahead of the others. Investigators found emails that showed how “brokers were enquiring about the advantages of early log-in with COLO (NSE) staff much before everyone else could come in”. In fact, some brokers actually received “advice from someone within the exchange” about this.

Now, it’s time for another twist on the log-in. Each server has a different time clock. Observe it on your laptop. The time on your computer may be a few seconds or minutes off from your wristwatch or wall-clock. The same is true of the various computers. They may all set at 7.30 AM, but each one will clock a different time – 7.31, 7.32, 7.30.45, etc. Think if you knew the clock settings of brokers’ machines in COLO, and set your own computer’s time so that your clock was ahead of them.

In such a scenario, you would get the market data first throughout the day, and enable your bots to “hit the trades”, or take positions, ahead of the competitors. You were likely to earn profits, and more regularly, than the others. It was this kind of intricate planning, which even considered the computer clocks and the discrepancies within them that makes COLO a complex plot. Palak Shah feels that it makes big bulls like Harshad Mehta and Ketan Parekh “really look like Lilliputians”.

With 35 years of experience, Alam Srinivas, an independent journalist, writer and researcher, has worked for premier global and Indian media organizations. He has authored several books on business and sports corruption.

Part 26

Similar News