Algorithmic trading

From Wikipedia, the free encyclopedia

Algorithmic trading, also called automated trading, black-box trading, or algo trading, is the use ofelectronic platforms for entering trading orders with an algorithm which executes pre-programmed trading instructions whose variables may include timing, price, or quantity of the order, or in many cases initiating the order by a "robot", without human intervention. Algorithmic trading is widely used by investment banks, pension funds, mutual funds, and other buy-side (investor-driven) institutional traders, to divide large trades into several smaller trades to manage market impact and risk.[1][2] Sell side traders, such as market makers and some hedge funds, provide liquidity to the market, generating and executing orders automatically.

A special class of algorithmic trading is "high-frequency trading" (HFT), which is often most profitable during periods of high market volatility. During the past years, companies such as Algorates have employed HFT strategies, recording high profits even during periods in which the markets have seen steep declines.[3] [4]

Many types of algorithmic or automated trading activities can be described as HFT. As a result, in February 2012, the Commodity Futures Trading Commission (CFTC) formed a special working group that included academics and industry experts to advise the CFTC on how best to define HFT.[5][6] HFT strategies utilize computers that make elaborate decisions to initiate orders based on information that is received electronically, before human traders are capable of processing the information they observe. Algorithmic trading and HFT have resulted in a dramatic change of the market microstructure, particularly in the way liquidity is provided.[7] Algorithmic trading may be used in any investment strategy, including market making, inter-market spreading, arbitrage, or pure speculation(including trend following). The investment decision and implementation may be augmented at any stage with algorithmic support or may operate completely automatically. one of the main issues regarding HFT is the difficulty in determining how profitable it is. A report released in August 2009 by the TABB Group, a financial services industry research firm, estimated that the 300 securities firms and hedge funds that specialize in this type of trading took in a maximum of US$21 billion in profits in 2008,[8] which the authors called "relatively small" and "surprisingly modest" when compared to the market's overall trading volume. In 2014 Virtu Financial, an algorithmic trading firm, reported that it had only one losing trading day over the course of three years.[9]

A third of all European Union and United States stock trades in 2006 were driven by automatic programs, or algorithms, according to Boston-based financial services industry research and consulting firm Aite Group.[10] As of 2009, studies suggested HFT firms accounted for 60-73% of all US equity trading volume, with that number falling to approximately 50% in 2012.[11][12] In 2006, at the London Stock Exchange, over 40% of all orders were entered by algorithmic traders, with 60% predicted for 2007. American markets and European markets generally have a higher proportion of algorithmic trades than other markets, and estimates for 2008 range as high as an 80% proportion in some markets. Foreign exchange markets also have active algorithmic trading (about 25% of orders in 2006).[13] Futures markets are considered fairly easy to integrate into algorithmic trading,[14] with about 20% of options volume expected to be computer-generated by 2010.[dated info][15] Bond markets are moving toward more access to algorithmic traders.[16]

Algorithmic and HFT have been the subject of much public debate since the U.S. Securities and Exchange Commission and the Commodity Futures Trading Commission said in reports that an algorithmic trade entered by a mutual fund company triggered a wave of selling that led to the 2010 Flash Crash.[17][18][19][20][21][22][23][24] The same reports found HFT strategies may have contributed to subsequent volatility. As a result of these events, the Dow Jones Industrial Average suffered its second largest intraday point swing ever to that date, though prices quickly recovered. (See List of largest daily changes in the Dow Jones Industrial Average.) A July, 2011 report by the International Organization of Securities Commissions (IOSCO), an international body of securities regulators, concluded that while "algorithms and HFT technology have been used by market participants to manage their trading and risk, their usage was also clearly a contributing factor in the flash crash event of May 6, 2010."[25][26] Some algorithmic trading ahead of index fund rebalancing transfers profits from investors.[27][28][29]

History[edit]

Computerization of the order flow in financial markets began in the early 1970s, with some landmarks being the introduction of the New York Stock Exchange's “designated order turnaround” system (DOT, and later SuperDOT), which routed orders electronically to the proper trading post, which executed them manually. The "opening automated reporting system" (OARS) aided the specialist in determining the market clearing opening price (SOR; Smart Order Routing).

Program trading is defined by the New York Stock Exchange as an order to buy or sell 15 or more stocks valued at over US$1 million total. In practice this means that all program trades are entered with the aid of a computer. In the 1980s, program trading became widely used in trading between the S&P 500equity and futures markets.

In stock index arbitrage a trader buys (or sells) a stock index futures contract such as the S&P 500 futures and sells (or buys) a portfolio of up to 500 stocks (can be a much smaller representative subset) at the NYSE matched against the futures trade. The program trade at the NYSE would be pre-programmed into a computer to enter the order automatically into the NYSE’s electronic order routing system at a time when the futures price and the stock index were far enough apart to make a profit.

At about the same time portfolio insurance was designed to create a synthetic put option on a stock portfolio by dynamically trading stock index futures according to a computer model based on the Black–Scholes option pricing model.

Both strategies, often simply lumped together as "program trading", were blamed by many people (for example by the Brady report) for exacerbating or even starting the 1987 stock market crash. Yet the impact of computer driven trading on stock market crashes is unclear and widely discussed in the academic community.[30]

Financial markets with fully electronic execution and similar electronic communication networks developed in the late 1980s and 1990s. In the U.S.,decimalization, which changed the minimum tick size from 1/16 of a dollar (US$0.0625) to US$0.01 per share, may have encouraged algorithmic trading as it changed the market microstructure by permitting smaller differences between the bid and offer prices, decreasing the market-makers' trading advantage, thus increasing market liquidity.

This increased market liquidity led to institutional traders splitting up orders according to computer algorithms so they could execute orders at a better average price. These average price benchmarks are measured and calculated by computers by applying the time-weighted average price or more usually by thevolume-weighted average price.

A further encouragement for the adoption of algorithmic trading in the financial markets came in 2001 when a team of IBM researchers published a paper[31] at the International Joint Conference on Artificial Intelligence where they showed that in experimental laboratory versions of the electronic auctions used in the financial markets, two algorithmic strategies (IBM's own MGD, and Hewlett-Packard's ZIP) could consistently out-perform human traders. MGD was a modified version of the "GD" algorithm invented by Steven Gjerstad & John Dickhaut in 1996/7;[32] the ZIP algorithm had been invented at HP by Dave Cliff (professor) in 1996.[33] In their paper, the IBM team wrote that the financial impact of their results showing MGD and ZIP outperforming human traders "...might be measured in billions of dollars annually"; the IBM paper generated international media coverage.

As more electronic markets opened, other algorithmic trading strategies were introduced. These strategies are more easily implemented by computers, because machines can react more rapidly to temporary mispricing and examine prices from several markets simultaneously. For example Chameleon (developed by BNP Paribas), Stealth (developed by the Deutsche Bank), Sniper and Guerilla (developed by Credit Suisse[34]), arbitrage, statistical arbitrage,trend following, and mean reversion.

This type of trading is what is driving the new demand for Low Latency Proximity Hosting and Global Exchange Connectivity. It is imperative to understand what latency is when putting together a strategy for electronic trading. Latency refers to the delay between the transmission of information from a source and the reception of the information at a destination. Latency has as a lower bound determined by the speed of light; this corresponds to about 3.3 milliseconds per 1,000 kilometers of optical fibre. Any signal regenerating or routing equipment introduces greater latency than this lightspeed baseline.

Strategies[edit]

Trading ahead of index fund rebalancing[edit]

Most retirement savings, such as private pension funds or 401(k) and individual retirement accounts in the US, are invested in mutual funds, the most popular of which are index funds which must periodically "rebalance" or adjust their portfolio to match the new prices and market capitalization of the underlying securities in the stock or other index that they track.[35][36] This allows algorithmic traders (80% of the trades of whom involve the top 20% most popular securities[35]) to anticipate and trade ahead of stock price movements caused by mutual fund rebalancing, making a profit on advance knowledge of the large institutional block orders.[27][37] This results in profits transferred from investors to algorithmic traders, estimated to be at least 21 to 28 basis points annually for S&P 500 index funds, and at least 38 to 77 basis points per year for Russell 2000 funds.[28] John Montgomery of Bridgeway Capital Management says that the resulting "poor investor returns" from trading ahead of mutual funds is "the elephant in the room" that "shockingly, people are not talking about."[29]Related "time zone arbitrage" against mutual funds and their underlying securities traded on overseas markets is likely "damaging to financial integration between the United States, Asia and Europe,"[38] although some may argue quite the opposite.

Trend following[edit]

Trend following is an investment strategy that tries to take advantage of long-term, medium-term, and short-term movements that sometimes occur in variousmarkets. The strategy aims to take advantage of a market trend on both sides, going long (buying) or short (selling) in a market in an attempt to profit from the ups and downs of the stock or futures markets. Traders who use this approach can use current market price calculation, moving averages and channelbreakouts to determine the general direction of the market and to generate trade signals. Traders who subscribe to a trend following strategy do not aim to forecast or predict specific price levels; they initiate a trade when a trend appears to have started, and exit the trade once the trend appears to have ended.[39]

Pairs trading[edit]

Pairs trading or pair trading is a long-short, ideally market-neutral strategy enabling traders to profit from transient discrepancies in relative value of close substitutes. Unlike in the case of classic arbitrage, in case of pairs trading, the law of one price cannot guarantee convergence of prices. This is especially true when the strategy is applied to individual stocks - these imperfect substitutes can in fact diverge indefinitely. In theory the long-short nature of the strategy should make it work regardless of the stock market direction. In practice, execution risk, persistent and large divergences, as well as a decline in volatility can make this strategy unprofitable for long periods of time (e.g. 2004-7). It belongs to wider categories of statistical arbitrage, convergence trading, and relative value strategies.[40]

Delta-neutral strategies[edit]

In finance, delta-neutral describes a portfolio of related financial securities, in which the portfolio value remains unchanged due to small changes in the value of the underlying security. Such a portfolio typically contains options and their corresponding underlying securities such that positive and negative deltacomponents offset, resulting in the portfolio's value being relatively insensitive to changes in the value of the underlying security.

Arbitrage[edit]

In economics and finance, arbitrage /ˈɑrbɨtrɑːʒ/ is the practice of taking advantage of a price difference between two or more markets: striking a combination of matching deals that capitalize upon the imbalance, the profit being the difference between the market prices. When used by academics, an arbitrage is a transaction that involves no negative cash flow at any probabilistic or temporal state and a positive cash flow in at least one state; in simple terms, it is the possibility of a risk-free profit at zero cost. Example: one of the most popular Arbitrage trading opportunities is played with the S&P futures and the S&P 500 stocks. During most trading days these two will develop disparity in the pricing between the two of them. This happens when the price of the stocks which are mostly traded on the NYSE and NASDAQ markets either get ahead or behind the S&P Futures which are traded in the CME market.

Conditions for arbitrage[edit]

Arbitrage is possible when one of three conditions is met:

  1. The same asset does not trade at the same price on all markets (the "law of one price" is temporarily violated).
  2. Two assets with identical cash flows do not trade at the same price.
  3. An asset with a known price in the future does not today trade at its future price discounted at the risk-free interest rate (or, the asset does not have negligible costs of storage; as such, for example, this condition holds for grain but not for securities).

Arbitrage is not simply the act of buying a product in one market and selling it in another for a higher price at some later time. The long and short transactions should ideally occur simultaneously to minimize the exposure to market risk, or the risk that prices may change on one market before both transactions are complete. In practical terms, this is generally only possible with securities and financial products which can be traded electronically, and even then, when first leg(s) of the trade is executed, the prices in the other legs may have worsened, locking in a guaranteed loss. Missing one of the legs of the trade (and subsequently having to open it at a worse price) is called 'execution risk' or more specifically 'leg-in and leg-out risk'.[note 1]

In the simplest example, any good sold in one market should sell for the same price in another. Traders may, for example, find that the price of wheat is lower in agricultural regions than in cities, purchase the good, and transport it to another region to sell at a higher price. This type of price arbitrage is the most common, but this simple example ignores the cost of transport, storage, risk, and other factors. "True" arbitrage requires that there be no market risk involved. Where securities are traded on more than one exchange, arbitrage occurs by simultaneously buying in one and selling on the other. Such simultaneous execution, if perfect substitutes are involved, minimizes capital requirements, but in practice never creates a "self-financing" (free) position, as many sources incorrectly assume following the theory. As long as there is some difference in the market value and riskiness of the two legs, capital would have to be put up in order to carry the long-short arbitrage position.

See rational pricing, particularly arbitrage mechanics, for further discussion.

Mean reversion[edit]

Mean reversion is a mathematical methodology sometimes used for stock investing, but it can be applied to other processes. In general terms the idea is that both a stock's high and low prices are temporary, and that a stock's price tends to have an average price over time.

Mean reversion involves first identifying the trading range for a stock, and then computing the average price using analytical techniques as it relates to assets, earnings, etc.

When the current market price is less than the average price, the stock is considered attractive for purchase, with the expectation that the price will rise. When the current market price is above the average price, the market price is expected to fall. In other words, deviations from the average price are expected to revert to the average.

The Standard deviation of the most recent prices (e.g., the last 20) is often used as a buy or sell indicator.

Stock reporting services (such as Yahoo! Finance, MS Investor, Morningstar, etc.), commonly offer moving averages for periods such as 50 and 100 days. While reporting services provide the averages, identifying the high and low prices for the study period is still necessary.

Scalping[edit]

Scalping (trading) is a method of arbitrage of small price gaps created by the bid-ask spread. Scalpers attempt to act like traditional market makers or specialists. To make the spread means to buy at the bid price and sell at the ask price, to gain the bid/ask difference. This procedure allows for profit even when the bid and ask do not move at all, as long as there are traders who are willing to take market prices. It normally involves establishing and liquidating a position quickly, usually within minutes or even seconds.

The role of a scalper is actually the role of market makers or specialists who are to maintain the liquidity and order flow of a product of a market. A market maker is basically a specialized scalper. The volume a market maker trades are many times more than the average individual scalpers. A market maker has a sophisticated trading system to monitor trading activity. However, a market maker is bound by strict exchange rules while the individual trader is not. For instance, NASDAQ requires each market maker to post at least one bid and one ask at some price level, so as to maintain a two-sided market for each stock represented.

Transaction cost reduction[edit]

Most strategies referred to as algorithmic trading (as well as algorithmic liquidity-seeking) fall into the cost-reduction category. The basic idea is to break down a large order into small orders and place them in the market over time. The choice of algorithm depends on various factors, with the most important being volatility and liquidity of the stock. For example, for a highly liquid stock, matching a certain percentage of the overall orders of stock (called volume inline algorithms) is usually a good strategy, but for a highly illiquid stock, algorithms try to match every order that has a favorable price (called liquidity-seeking algorithms).

The success of these strategies is usually measured by comparing the average price at which the entire order was executed with the average price achieved through a benchmark execution for the same duration. Usually, the volume-weighted average price is used as the benchmark. At times, the execution price is also compared with the price of the instrument at the time of placing the order.

A special class of these algorithms attempts to detect algorithmic or iceberg orders on the other side (i.e. if you are trying to buy, the algorithm will try to detect orders for the sell side). These algorithms are called sniffing algorithms. A typical example is "Stealth."

Some examples of algorithms are TWAP, VWAP, Implementation shortfall, POV, Display size, Liquidity seeker, and Stealth. Modern algorithms are often optimally constructed via either static or dynamic programming .[41]

Strategies that only pertain to dark pools[edit]

Recently, HFT, which comprises a broad set of buy-side as well as market making sell side traders, has become more prominent and controversial.[42] These algorithms or techniques are commonly given names such as "Stealth" (developed by the Deutsche Bank), "Iceberg", "Dagger", "Guerrilla", "Sniper", "BASOR" (developed by Quod Financial) and "Sniffer".[43] Dark pools are alternative electronic stock exchanges where trading takes place anonymously, with most orders hidden or "iceberged."[44] Gamers or "sharks" sniff out large orders by "pinging" small market orders to buy and sell. When several small orders are filled the sharks may have discovered the presence of a large iceberged order.

“Now it’s an arms race,” said Andrew Lo, director of the Massachusetts Institute of Technology’s Laboratory for Financial Engineering. “Everyone is building more sophisticated algorithms, and the more competition exists, the smaller the profits.”[45]

High-frequency trading[edit]

Main article: High-frequency trading

In the U.S., high-frequency trading (HFT) firms represent 2% of the approximately 20,000 firms operating today, but account for 73% of all equity trading volume.[46] As of the first quarter in 2009, total assets under management for hedge funds with HFT strategies were US$141 billion, down about 21% from their high.[47] The HFT strategy was first made successful by Renaissance Technologies.[48] High-frequency funds started to become especially popular in 2007 and 2008.[47] Many HFT firms are market makers and provide liquidity to the market, which has lowered volatility and helped narrow Bid-offer spreadsmaking trading and investing cheaper for other market participants.[47][49][50] HFT has been a subject of intense public focus since the U.S. Securities and Exchange Commission and the Commodity Futures Trading Commission stated that both algorithmic and HFT contributed to volatility in the 2010 Flash Crash. Major players in HFT include GETCO LLC, Jump Trading LLC, Tower Research Capital, Hudson River Trading as well as Citadel Investment Group, Goldman Sachs, DE Shaw, Renaissance Technologies.[17][18][19][20]

There are four key categories of HFT strategies: market-making based on order flow, market-making based on tick data information, event arbitrage and statistical arbitrage. All portfolio-allocation decisions are made by computerized quantitative models. The success of HFT strategies is largely driven by their ability to simultaneously process volumes of information, something ordinary human traders cannot do.

Market making[edit]

Market making is a set of HFT's strategies that involves placing a limit order to sell (or offer) above the current market price or a buy limit order (or bid) below the current price to benefit from the bid-ask spread. Automated Trading Desk, which was bought by Citigroup in July 2007, has been an active market maker, accounting for about 6% of total volume on both NASDAQ and the New York Stock Exchange.[51]

Statistical arbitrage[edit]

Another set of HFT strategies is classical arbitrage strategy might involve several securities such as covered interest rate parity in the foreign exchange market which gives a relation between the prices of a domestic bond, a bond denominated in a foreign currency, the spot price of the currency, and the price of a forward contract on the currency. If the market prices are sufficiently different from those implied in the model to cover transaction cost then four transactions can be made to guarantee a risk-free profit. HFT allows similar arbitrages using models of greater complexity involving many more than 4 securities. The TABB Group estimates that annual aggregate profits of low latency arbitrage strategies currently exceed US$21 billion.[11]

A wide range of statistical arbitrage strategies have been developed whereby trading decisions are made on the basis of deviations from statistically significant relationships. Like market-making strategies, statistical arbitrage can be applied in all asset classes.

Event arbitrage[edit]

A subset of risk, merger, convertible, or distressed securities arbitrage that counts on a specific event, such as a contract signing, regulatory approval, judicial decision, etc., to change the price or rate relationship of two or more financial instruments and permit the arbitrageur to earn a profit.[52]

Merger arbitrage also called risk arbitrage would be an example of this. Merger arbitrage generally consists of buying the stock of a company that is the target of a takeover while shorting the stock of the acquiring company. Usually the market price of the target company is less than the price offered by the acquiring company. The spread between these two prices depends mainly on the probability and the timing of the takeover being completed as well as the prevailing level of interest rates. The bet in a merger arbitrage is that such a spread will eventually be zero, if and when the takeover is completed. The risk is that the deal "breaks" and the spread massively widens.

Low-latency trading[edit]

HFT is often confused with low-latency trading that uses computers that execute trades within microseconds, or "with extremely low latency" in the jargon of the trade. Low-latency traders depend on ultra-low latency networks. They profit by providing information, such as competing bids and offers, to their algorithms microseconds faster than their competitors.[11] The revolutionary advance in speed has led to the need for firms to have a real-time, colocatedtrading platform to benefit from implementing high-frequency strategies.[11] Strategies are constantly altered to reflect the subtle changes in the market as well as to combat the threat of the strategy being reverse engineered by competitors. There is also a very strong pressure to continuously add features or improvements to a particular algorithm, such as client specific modifications and various performance enhancing changes (regarding benchmark trading performance, cost reduction for the trading firm or a range of other implementations). This is due to the evolutionary nature of algorithmic trading strategies – they must be able to adapt and trade intelligently, regardless of market conditions, which involves being flexible enough to withstand a vast array of market scenarios. As a result, a significant proportion of net revenue from firms is spent on the R&D of these autonomous trading systems.[11]

Strategy implementation[edit]

Most of the algorithmic strategies are implemented using modern programming languages, although some still implement strategies designed in spreadsheets. Increasingly, the algorithms used by large brokerages and asset managers are written to the FIX Protocol's Algorithmic Trading Definition Language (FIXatdl), which allows firms receiving orders to specify exactly how their electronic orders should be expressed. Orders built using FIXatdl can then be transmitted from traders' systems via the FIX Protocol.[53] Basic models can rely on as little as a linear regression, while more complex game-theoretic and pattern recognition[54] or predictive models can also be used to initiate trading. Neural networks and genetic programming have been used to create these models.

Issues and developments[edit]

Algorithmic trading has been shown to substantially improve market liquidity[55] among other benefits. However, improvements in productivity brought by algorithmic trading have been opposed by human brokers and traders facing stiff competition from computers.

Cyborg Finance[edit]

Technological advances in finance, particularly those relating to algorithmic trading, has increased financial speed, connectivity, reach, and complexity while simultaneously reducing its humanity. Computers running software based on complex algorithms have replaced humans in many functions in the financial industry. Finance is essentially becoming an industry where machines and humans share the dominant roles – transforming modern finance into what one scholar has called, “cyborg finance.” The financial regulatory system, to date, has not given cyborg finance and its emerging implications proper attention.

Concerns[edit]

Some scholars have called concerns stemming from computerized algorithmic trading "too fast to save" and "too linked to fail." “Too fast to save” means that, due to the high speed with which large amounts of capital trade across borders online, one rogue or misplaced trade may jeopardize institutions or entire trading systems, before meaningful corrective intervention takes place. “Too linked to fail” means that, at present, financial products have become so interconnected that the failure of one product or institution may cause significant harm to others in the financial system. Additionally, algorithmic trading platform also expose the financial systems to cyber crimes and criminals in an unprecedented manner.

“The downside with these systems is their black box-ness,” Mr. Williams said. “Traders have intuitive senses of how the world works. But with these systems you pour in a bunch of numbers, and something comes out the other end, and it’s not always intuitive or clear why the black box latched onto certain data or relationships.” [45]

“The Financial Services Authority has been keeping a watchful eye on the development of black box trading. In its annual report the regulator remarked on the great benefits of efficiency that new technology is bringing to the market. But it also pointed out that ‘greater reliance on sophisticated technology and modelling brings with it a greater risk that systems failure can result in business interruption’.” [56]

UK Treasury minister Lord Myners has warned that companies could become the "playthings" of speculators because of automatic high-frequency trading. Lord Myners said the process risked destroying the relationship between an investor and a company.[57]

Other issues include the technical problem of latency or the delay in getting quotes to traders,[58] security and the possibility of a complete system breakdown leading to a market crash.[59]

"Goldman spends tens of millions of dollars on this stuff. They have more people working in their technology area than people on the trading desk...The nature of the markets has changed dramatically." [60]

On August 1, 2012 Knight Capital Group experienced a technology issue in their automated trading system,[61] causing a loss of $440 million.

This issue was related to Knight's installation of trading software and resulted in Knight sending numerous erroneous orders in NYSE-listed securities into the market. This software has been removed from the company's systems. [..] Clients were not negatively affected by the erroneous orders, and the software issue was limited to the routing of certain listed stocks to NYSE. Knight has traded out of its entire erroneous trade position, which has resulted in a realized pre-tax loss of approximately $440 million.

Algorithmic and HFT were shown to have contributed to volatility during the May 6, 2010 Flash Crash,[17][19] when the Dow Jones Industrial Average plunged about 600 points only to recover those losses within minutes. At the time, it was the second largest point swing, 1,010.14 points, and the biggest one-day point decline, 998.5 points, on an intraday basis in Dow Jones Industrial Average history.[62]

At present in the U.S., the legal regime assumes that human beings are the primary actors in the trading world, and thus, liability would lie with people. However, because computers and artificial intelligence have revolutionized trading—into what some academics call "cyborg finance" or "cy-fi," some legal scholars have called for law to take into account a new investor paradigm: actors who are part human, part machine. This new legal paradigm would take into account some of the problems noted above.

The enhanced speed and interconnectedness of cyborg finance makes our present system of trading more vulnerable to external cyber threats and volatile crashes, like the Flash Crash of 2010.

Recent developments[edit]

Financial market news is now being formatted by firms such as Need To Know News, Thomson Reuters, Dow Jones, and Bloomberg, to be read and traded on via algorithms.

"Computers are now being used to generate news stories about company earnings results or economic statistics as they are released. And this almost instantaneous information forms a direct feed into other computers which trade on the news."[63]

The algorithms do not simply trade on simple news stories but also interpret more difficult to understand news. Some firms are also attempting to automatically assign sentiment (deciding if the news is good or bad) to news stories so that automated trading can work directly on the news story.[64]

"Increasingly, people are looking at all forms of news and building their own indicators around it in a semi-structured way," as they constantly seek out new trading advantages said Rob Passarella, global director of strategy at Dow Jones Enterprise Media Group. His firm provides both a low latency news feed and news analytics for traders. Passarella also pointed to new academic research being conducted on the degree to which frequent Google searches on various stocks can serve as trading indicators, the potential impact of various phrases and words that may appear in Securities and Exchange Commission statements and the latest wave of online communities devoted to stock trading topics.[64]

"Markets are by their very nature conversations, having grown out of coffee houses and taverns", he said. So the way conversations get created in a digital society will be used to convert news into trades, as well, Passarella said.[64]

“There is a real interest in moving the process of interpreting news from the humans to the machines” says Kirsti Suutari, global business manager of algorithmic trading at Reuters. "More of our customers are finding ways to use news content to make money."[63]

An example of the importance of news reporting speed to algorithmic traders was an advertising campaign by Dow Jones (appearances included page W15 of the Wall Street Journal, on March 1, 2008) claiming that their service had beaten other news services by 2 seconds in reporting an interest rate cut by the Bank of England.

In July 2007, Citigroup, which had already developed its own trading algorithms, paid $680 million for Automated Trading Desk, a 19-year-old firm that trades about 200 million shares a day.[65] Citigroup had previously bought Lava Trading and onTrade Inc.

In late 2010, The UK Government Office for Science initiated a Foresight project investigating the future of computer trading in the financial markets,[66] led byDame Clara Furse, ex-CEO of the London Stock Exchange and in September 2011 the project published its initial findings in the form of a three-chapter working paper available in three languages, along with 16 additional papers that provide supporting evidence.[67] All of these findings are authored or co-authored by leading academics and practitioners, and were subjected to anonymous peer-review. The Foresight project is set to conclude in late 2012.

In September 2011, RYBN has launched "ADM8",[68] an open source Trading Bot prototype, already active on the financial markets.

Technical design[edit]

The technical designs of such systems are not standardized. Conceptually, the design can be divided into logical units:

  1. The data stream unit (the part of the systems that receives data (e.g. quotes, news) from external sources)
  2. The decision or strategy unit
  3. The execution unit

With the wide use of social networks, some systems implement scanning or screening technologies to read posts of users extracting human sentiment and influence the trading strategies. [69]

Effects[edit]

Though its development may have been prompted by decreasing trade sizes caused by decimalization, algorithmic trading has reduced trade sizes further. Jobs once done by human traders are being switched to computers. The speeds of computer connections, measured in milliseconds and evenmicroseconds, have become very important.[70][71]

More fully automated markets such as NASDAQ, Direct Edge and BATS, in the US, have gained market share from less automated markets such as the NYSE. Economies of scale in electronic trading have contributed to lowering commissions and trade processing fees, and contributed to international mergers and consolidation of financial exchanges.

Competition is developing among exchanges for the fastest processing times for completing trades. For example, in June 2007, the London Stock Exchangelaunched a new system called TradElect that promises an average 10 millisecond turnaround time from placing an order to final confirmation and can process 3,000 orders per second.[72] Since then, competitive exchanges have continued to reduce latency with turnaround times of 3 milliseconds available. This is of great importance to high-frequency traders, because they have to attempt to pinpoint the consistent and probable performance ranges of given financial instruments. These professionals are often dealing in versions of stock index funds like the E-mini S&Ps, because they seek consistency and risk-mitigation along with top performance. They must filter market data to work into their software programming so that there is the lowest latency and highest liquidity at the time for placing stop-losses and/or taking profits. With high volatility in these markets, this becomes a complex and potentially nerve-wracking endeavor, where a small mistake can lead to a large loss. Absolute frequency data play into the development of the trader's pre-programmed instructions.[73]

Spending on computers and software in the financial industry increased to $26.4 billion in 2005.[1]

Communication standards[edit]

Algorithmic trades require communicating considerably more parameters than traditional market and limit orders. A trader on one end (the "buy side") must enable their trading system (often called an "order management system" or "execution management system") to understand a constantly proliferating flow of new algorithmic order types. The R&D and other costs to construct complex new algorithmic orders types, along with the execution infrastructure, and marketing costs to distribute them, are fairly substantial. What was needed was a way that marketers (the "sell side") could express algo orders electronically such that buy-side traders could just drop the new order types into their system and be ready to trade them without constant coding custom new order entry screens each time.

FIX Protocol LTD http://www.fixprotocol.org is a trade association that publishes free, open standards in the securities trading area. The FIX language was originally created by Fidelity Investments, and the association Members include virtually all large and many midsized and smaller broker dealers, money center banks, institutional investors, mutual funds, etc. This institution dominates standard setting in the pretrade and trade areas of security transactions. In 2006-2007 several members got together and published a draft XML standard for expressing algorithmic order types. The standard is called FIX Algorithmic Trading Definition Language (FIXatdl).[74] The first version of this standard, 1.0 was not widely adopted due to limitations in the specification, but the second version, 1.1 (released in March 2010) is expected to achieve broad adoption and in the process dramatically reduce time-to-market and costs associated with distributing new algorithms.

Algorithms[edit]

Some common trading algorithms include:[75][76]

See also[edit]

Notes[edit]

  1. Jump up^ As an arbitrage consists of at least two trades, the metaphor is of putting on a pair of pants, one leg (trade) at a time. The risk that one trade (leg) fails to execute is thus 'leg risk'.

References[edit]

  1. ^ Jump up to:a b Moving markets Shifts in trading patterns are making technology ever more important, The Economist, Feb 2, 2006
  2. Jump up^ Algorithmic Trading: Hype or Reality?
  3. Jump up^ Yahoo Finance
  4. Jump up^ Wall Street Journal Marketwatch
  5. Jump up^ CFTC Panel Urges Broad Definition of High-Frequency Trading, Bloomberg News, June 20, 2012
  6. Jump up^ Futures Trading Commission Votes to Establish a New Subcommittee of the Technology Advisory Committee (TAC) to focus on High Frequency Trading, February 9, 2012, Commodity Futures Trading Commission
  7. Jump up^ "Easley, D., M. López de Prado, M. O'Hara: The Microstructure of the 'Flash Crash': Flow Toxicity, Liquidity Crashes and the Probability of Informed Trading", The Journal of Portfolio Management, Vol. 37, No. 2, pp. 118–128, Winter, 2011, SSRN 1695041
  8. Jump up^ Opalesque (4 August 2009). "Opalesque Exclusive: High-frequency trading under the microscope".
  9. Jump up^ Virtu Financial Form S-1, available athttps://www.sec.gov/Archives/edgar/data/1592386/000104746914002070/a2218589zs-1.htm
  10. Jump up^ [1]
  11. ^ Jump up to:a b c d e Rob Iati, The Real Story of Trading Software Espionage,AdvancedTrading.com, July 10, 2009
  12. Jump up^ Times Topics: High-Frequency Trading, The New York Times, December 20, 2012
  13. Jump up^ A London Hedge Fund That Opts for Engineers, Not M.B.A.’s by Heather Timmons, August 18, 2006
  14. Jump up^ Looking for options Derivatives drive the battle of the exchanges, April 15, 2007, Economist.com
  15. Jump up^ "Algorithmic trading, Ahead of the tape", The Economist 383 (June 23, 2007), June 21, 2007: 85
  16. Jump up^ "MTS to mull bond access", The Wall Street Journal Europe, April 18, 2007: 21
  17. ^ Jump up to:a b c Lauricella, Tom (2 Oct 2010). "How a Trading Algorithm Went Awry". The Wall Street Journal.
  18. ^ Jump up to:a b Mehta, Nina (1 Oct 2010). "Automatic Futures Trade Drove May Stock Crash, Report Says". Bloomberg.
  19. ^ Jump up to:a b c Bowley, Graham (1 Oct 2010). "Lone $4.1 Billion Sale Led to 'Flash Crash' in May". The New York Times.
  20. ^ Jump up to:a b Spicer, Jonathan (1 Oct 2010). "Single U.S. trade helped spark May's flash crash". Reuters.
  21. Jump up^ Goldfarb, Zachary (1 Oct 2010). "Report examines May's 'flash crash,' expresses concern over high-speed trading". Washington Post.
  22. Jump up^ Popper, Nathaniel (1 Oct 2010). "$4.1-billion trade set off Wall Street 'flash crash,' report finds". Los Angeles Times.
  23. Jump up^ Younglai, Rachelle (5 Oct 2010). "U.S. probes computer algorithms after "flash crash"". Reuters.
  24. Jump up^ Spicer, Jonathan (15 Oct 2010). "Special report: Globally, the flash crash is no flash in the pan". Reuters.
  25. Jump up^ TECHNICAL COMMITTEE OF THE INTERNATIONAL ORGANIZATION OF SECURITIES COMMISSIONS (July 2011), "Regulatory Issues Raised by the Impact of Technological Changes on Market Integrity and Efficiency",IOSCO Technical Committee, retrieved July 12, 2011
  26. Jump up^ Huw Jones (July 7, 2011). "Ultra fast trading needs curbs -global regulators". Reuters. Retrieved July 12, 2011.
  27. ^ Jump up to:a b Amery, Paul (November 11, 2010). "Know Your Enemy".IndexUniverse.eu. Retrieved 26 March 2013.
  28. ^ Jump up to:a b Petajisto, Antti (2011). "The index premium and its hidden cost for index funds". Journal of Empirical Finance 18: 271–288.doi:10.1016/j.jempfin.2010.10.002. Retrieved 26 March 2013.
  29. ^ Jump up to:a b Rekenthaler, John (February–March 2011). "The Weighting Game, and Other Puzzles of Indexing". Morningstar Advisor. pp. 52–56 [56]. Retrieved 26 March 2013.
  30. Jump up^ Sornette (2003), Critical Market Crashes
  31. Jump up^ "Agent-Human Interactions in the Continuous Double Auction", IBM T.J.Watson Research Center, August 2001
  32. Jump up^ "Price Formation in Double Auctions, Games and Economic Behavior, 22(1):1-29", S. Gjerstad and J. Dickhaut, January 1998
  33. Jump up^ "Minimal Intelligence Agents for Bargaining Behaviours in Market-Based Environments, Hewlett-Packard Laboratories Technical Report 97-91", D. Cliff, August 1997
  34. Jump up^ "Algo Arms Race Has a Leader – For Now", NYU Stern School of Business, December 18, 2006
  35. ^ Jump up to:a b "High-Frequency Firms Tripled Trades in Stock Rout, Wedbush Says". Bloomberg/Financial Advisor. August 12, 2011. Retrieved 26 March 2013.
  36. Jump up^ Siedle, Ted (March 25, 2013). "Americans Want More Social Security, Not Less". Forbes. Retrieved 26 March 2013.
  37. Jump up^ Salmon, Felix (July 18, 2012). "What’s driving the Total Return ETF?".Reuters. Retrieved 26 March 2013.
  38. Jump up^ Donnelly, Katelyn Rae; Edward Tower (2009). "Chapter VIII. Time-zone arbitrage in United States mutual funds: Damaging to financial integration between the United States, Asia and Europe?". Challenges and Opportunities for Trade and Financial Integration in Asia and the Pacific. Studies in Trade and Investment 67. New York: United Nations Economic and Social Commission for Asia and the Pacific. pp. 134–165. ISSN 1020-3516.
  39. Jump up^ Anatomy of a Trend Following Trade - The Short Exit
  40. Jump up^ The Application of Pairs Trading to Energy Futures Markets
  41. Jump up^ Jackie Shen (2013), A Pre-Trade Algorithmic Trading Model under Given Volume Measures and Generic Price Dynamics (GVM-GPD), available atSSRN or DOI.
  42. Jump up^ Wilmott, Paul (July 29, 2009). "Hurrying into the Next Panic". New York Times. p. A19. Retrieved July 29, 2009.
  43. Jump up^ "Trading with the help of 'guerrillas' and 'snipers'", Financial Times, March 19, 2007
  44. Jump up^ Rob Curren, Watch Out for Sharks in Dark Pools, The Wall Street Journal, August 19, 2008, p. c5. Available at WSJ Blogs retrieved August 19, 2008
  45. ^ Jump up to:a b Artificial intelligence applied heavily to picking stocks by Charles Duhigg, November 23, 2006
  46. Jump up^ Aite Group Survey
  47. ^ Jump up to:a b c Geoffrey Rogow, Rise of the (Market) Machines, The Wall Street Journal, June 19, 2009
  48. Jump up^ High-frequency finance and the hedge fund category of the future
  49. Jump up^ "Hendershott, Terrence, Charles M. Jones, and Albert J. Menkveld. Does Algorithmic Trading Improve Liquidity?", Journal of Finance (forthcoming), 2010
  50. Jump up^ "Jovanovic, Boyan, and Albert J. Menkveld. Middlemen in Securities Markets", working paper, 2010
  51. Jump up^ "Citigroup to expand electronic trading capabilities by buying Automated Trading Desk", The Associated Press (International Herald Tribune), July 2, 2007, retrieved July 4, 2007
  52. Jump up^ Event Arb Definition Amex.com, September 4th 2010
  53. Jump up^ FIXatdl - An Emerging Standard, FIXGlobal, December 2009
  54. Jump up^ Preis, T.; Paul, W.; Schneider, J. J. (2008), "Fluctuation patterns in high-frequency financial asset returns", EPL (Europhysics Letters) 82 (6): 68005, doi:10.1209/0295-5075/82/68005
  55. Jump up^ "HENDERSHOTT, TERRENCE, CHARLES M. JONES, AND ALBERT J. MENKVELD. Does Algorithmic Trading Improve Liquidity?", Journal of Finance, 2010
  56. Jump up^ Black box traders are on the march The Telegraph, 27 August 2006
  57. Jump up^ Myners' super-fast shares warning BBC News, Tuesday 3 November 2009.
  58. Jump up^ Enter algorithmic trading systems race or lose returns, report warns, Financial Times, October 2, 2006
  59. Jump up^ Cracking The Street's New Math, Algorithmic trades are sweeping the stock market.
  60. Jump up^ The Associated Press, July 2, 2007 Citigroup to expand electronic trading capabilities by buying Automated Trading Desk, accessed July 4, 2007
  61. Jump up^ Knight Capital Group Provides Update Regarding August 1st Disruption To Routing In NYSE-listed Securities
  62. Jump up^ [2] Lauricella, Tom, and McKay, Peter A. "Dow Takes a Harrowing 1,010.14-Point Trip," online Wall Street Journal, May 7, 2010. Retrieved May 9, 2010
  63. ^ Jump up to:a b "If you're reading this, it's too late: a machine got here first," The Financial Times, April 16, 2007, p.1
  64. ^ Jump up to:a b c Sentiment Algos
  65. Jump up^ Siemon's Case Study Automated Trading Desk, accessed July 4, 2007
  66. Jump up^ http://www.bis.gov.uk/foresight/our-work/projects/current-projects/computer-trading
  67. Jump up^ http://www.bis.gov.uk/foresight/our-work/projects/current-projects/computer-trading/working-paper
  68. Jump up^ [3] http://rybn.org/ANTI/ADM8/
  69. Jump up^ C Fiedler, design high-frequency system (algorithmic trading system),dbcoretech.com, June , 2010
  70. Jump up^ Dodgy tickers, The Economist, March 8, 2007
  71. Jump up^ Pleasures and Pains of Cutting-Edge Technology Mar 19, 2007
  72. Jump up^ "LSE leads race for quicker trades" by Alistair MacDonald The Wall Street Journal Europe, June 19, 2007, p.3
  73. Jump up^ "Milliseconds are focus in algorithmic trades". Reuters. May 11, 2007.
  74. Jump up^ [4] FIXatdl version 1.1 released March, 2010
  75. Jump up^ "Crop Circle of the Day – Quote Stuffing and Strange Sequences".Nanex. 29 September 2010. Archived from the original on 23 June 2011. Retrieved 2011-07-28.
  76. Jump up^ Kevin Slavin (12 July 2011). "How algorithms shape our world".TEDGlobal 2011.

External links[edit]

External video
 How algorithms shape our world, TED (conference)