Automated trading system

Last updated

An automated trading system (ATS), a subset of algorithmic trading, uses a computer program to create buy and sell orders and automatically submits the orders to a market center or exchange. [1] The computer program will automatically generate orders based on predefined set of rules using a trading strategy which is based on technical analysis, advanced statistical and mathematical computations or input from other electronic sources. [2]

Contents

Automated trading systems are often used with electronic trading in automated market centers, including electronic communication networks, "dark pools", and automated exchanges. [5] Automated trading systems and electronic trading platforms can execute repetitive tasks at speeds orders of magnitude greater than any human equivalent. Traditional risk controls and safeguards that relied on human judgment are not appropriate for automated trading and this has caused issues such as the 2010 Flash Crash. New controls such as trading curbs or 'circuit breakers' have been put in place in some electronic markets to deal with automated trading systems. [6]

Mechanism

The automated trading system determines whether an order should be submitted based on, for example, the current market price of an option and theoretical buy and sell prices. [7] The theoretical buy and sell prices are derived from, among other things, the current market price of the security underlying the option. A look-up table stores a range of theoretical buy and sell prices for a given range of current market price of the underlying security. Accordingly, as the price of the underlying security changes, a new theoretical price may be indexed in the look-up table, thereby avoiding calculations that would otherwise slow automated trading decisions. [8] A distributed processing on-line automated trading system uses structured messages to represent each stage in the negotiation between a market maker (quoter) and a potential buyer or seller (requestor). [9]

Strategies

Trend following is a trading strategy that bases buying and selling decisions on observable market trends. For years, various forms of trend following have emerged, like the Turtle Trader software program. Unlike financial forecasting, this strategy does not predict market movements. Instead, it identifies a trend early in the day and then trades automatically according to a predefined strategy, regardless of directional shifts. Trend following gained popularity among speculators, though remains reliant on manual human judgment to configure trading rules and entry/exit conditions. Finding the optimal initial strategy is essential. Trend following is limited by market volatility and the difficulty of accurately identifying trends. [11]

For example, the following formula could be used for trend following strategy:

"Consider a complete probability space (Ω, F, P). Let denote the stock price at time satisfying the equation
,
where is a two-state Markov-Chain, is the expected return rate in regime is the constant volatility, is a standard Brownian motion, and and are the initial and terminal times, respectively". [12]

According to Volume-weighted average price Wikipedia page, VWAP is calculated using the following formula:

":

where:

is Volume Weighted Average Price;
is price of trade ;
is quantity of trade ;
is each individual trade that takes place over the defined period of time, excluding cross trades and basket cross trades".

"A continuous mean-reverting time series can be represented by an Ornstein-Uhlenbeck stochastic differential equation:

Where is the rate of reversion to the mean, is the mean value of the process, is the variance of the process and is a Wiener Process or Brownian Motion". [13] [14]

History

The concept of automated trading system was first introduced by Richard Donchian in 1949 when he used a set of rules to buy and sell the funds. [15] Donchian proposed a novel concept in which trades would be initiated autonomously in response to the fulfillment of predetermined market conditions. Due to the absence of advanced technology at the time, Donchian's staff was obligated to perform manual market charting and assess the suitability of executing rule-based trades. Although this laborious procedure was susceptible to human error, it established the foundation for the subsequent development of transacting financial assets. [16]

Then, in the 1980s, the concept of rule based trading (trend following) became more popular when famous traders like John Henry began to use such strategies. In the mid 1990s, some models were available for purchase. Also, improvements in technology increased the accessibility for retail investors. [17] Later, Justin-Niall Swart employed a Donchian channel-based trend-following trading method for portfolio optimization in his South African futures market analysis. [18]

The early form of an Automated Trading System, composed of software based on algorithms, that have historically been used by financial managers and brokers. This type of software was used to automatically manage clients' portfolios. [19] However, the first service to free market without any supervision was first launched in 2008 which was Betterment by Jon Stein. Since then, this system has been improving with the development in the IT industry.

Around 2005, copy trading and mirror trading emerged as forms of automated algorithmic trading. These systems allowed traders to share their trading histories and strategies, which other traders could replicate in their accounts. One of the first companies to offer an auto-trading platform was Tradency in 2005 with its "Mirror Trader" software. [20] [21] [22] This feature enabled traders to submit their strategies, allowing other users to replicate any trades produced by those strategies in their accounts. Subsequently, certain platforms alowed traders to connect their accounts directly in order to replicate trades automatically, without needing to code trading strategies. Since 2010, numerous online brokers have incorporated copy trading into their internet platforms, such as eToro, ZuluTrade, Ayondo, and Tradeo. [23] [24] Copy trading benefits from real-time trading decisions and order flow from credible investors, which lets less experienced traders mirror trades without performing the analysis themselves.

Now, Automated Trading System is managing huge assets all around the globe. [25] In 2014, more than 75 percent of the stock shares traded on United States exchanges (including the New York Stock Exchange and NASDAQ) originated from automated trading system orders. [26] [27]

Market disruption and manipulation

Automated trading, or high-frequency trading, causes regulatory concerns as a contributor to market fragility. [28] United States regulators have published releases [29] [30] discussing several types of risk controls that could be used to limit the extent of such disruptions, including financial and regulatory controls to prevent the entry of erroneous orders as a result of computer malfunction or human error, the breaching of various regulatory requirements, and exceeding a credit or capital limit.

The use of high-frequency trading (HFT) strategies has grown substantially over the past several years and drives a significant portion of activity on U.S. markets. Although many HFT strategies are legitimate, some are not and may be used for manipulative trading. A strategy would be illegitimate or even illegal if it causes deliberate disruption in the market or tries to manipulate it. Such strategies include "momentum ignition strategies": spoofing and layering where a market participant places a non-bona fide order on one side of the market (typically, but not always, above the offer or below the bid) in an attempt to bait other market participants to react to the non-bona fide order and then trade with another order on the other side of the market. They are also referred to as predatory/abusive strategies. Given the scale of the potential impact that these practices may have, the surveillance of abusive algorithms remains a high priority for regulators. The Financial Industry Regulatory Authority (FINRA) has reminded firms using HFT strategies and other trading algorithms of their obligation to be vigilant when testing these strategies pre- and post-launch to ensure that the strategies do not result in abusive trading.

FINRA also focuses on the entry of problematic HFT and algorithmic activity through sponsored participants who initiate their activity from outside of the United States. In this regard, FINRA reminds firms of their surveillance and control obligations under the SEC's Market Access Rule and Notice to Members 04-66, [31] as well as potential issues related to treating such accounts as customer accounts, anti-money laundering, and margin levels as highlighted in Regulatory Notice 10-18 [32] and the SEC's Office of Compliance Inspections and Examination's National Exam Risk Alert dated September 29, 2011. [33]

FINRA conducts surveillance to identify cross-market and cross-product manipulation of the price of underlying equity securities. Such manipulations are done typically through abusive trading algorithms or strategies that close out pre-existing option positions at favorable prices or establish new option positions at advantageous prices.

In recent years, there have been a number of algorithmic trading malfunctions that caused substantial market disruptions. These raise concern about firms' ability to develop, implement, and effectively supervise their automated systems. FINRA has stated that it will assess whether firms' testing and controls related to algorithmic trading and other automated trading strategies are adequate in light of the U.S. Securities and Exchange Commission and firms' supervisory obligations. This assessment may take the form of examinations and targeted investigations. Firms will be required to address whether they conduct separate, independent, and robust pre-implementation testing of algorithms and trading systems. Also, whether the firm's legal, compliance, and operations staff are reviewing the design and development of the algorithms and trading systems for compliance with legal requirements will be investigated. FINRA will review whether a firm actively monitors and reviews algorithms and trading systems once they are placed into production systems and after they have been modified, including procedures and controls used to detect potential trading abuses such as wash sales, marking, layering, and momentum ignition strategies. Finally, firms will need to describe their approach to firm-wide disconnect or "kill" switches, as well as procedures for responding to catastrophic system malfunctions. [34] [35] [36]

Notable examples

Examples of recent substantial market disruptions include the following:

See also

Related Research Articles

<span class="mw-page-title-main">Day trading</span> Buying and selling financial instruments within the same trading day

Day trading is a form of speculation in securities in which a trader buys and sells a financial instrument within the same trading day, so that all positions are closed before the market closes for the trading day to avoid unmanageable risks and negative price gaps between one day's close and the next day's price at the open. Traders who trade in this capacity are generally classified as speculators. Day trading contrasts with the long-term trades underlying buy-and-hold and value investing strategies. Day trading may require fast trade execution, sometimes as fast as milli-seconds in scalping, therefore direct-access day trading software is often needed.

<span class="mw-page-title-main">Program trading</span> Type of trading in securities

Program trading is a type of trading in securities, usually consisting of baskets of fifteen stocks or more that are executed by a computer program simultaneously based on predetermined conditions. Program trading is often used by hedge funds and other institutional investors pursuing index arbitrage or other arbitrage strategies. There are essentially two reasons to use program trading, either because of the desire to trade many stocks simultaneously, or alternatively to arbitrage temporary price discrepancies between related financial instruments, such as between an index and its constituent parts.

In finance, volume-weighted average price (VWAP) is the ratio of the value of a security or financial asset traded to the total volume of transactions during a trading session. It is a measure of the average trading price for the period.

Front running, also known as tailgating, is the practice of entering into an equity (stock) trade, option, futures contract, derivative, or security-based swap to capitalize on advance, nonpublic knowledge of a large ("block") pending transaction that will influence the price of the underlying security. In essence, it means the practice of engaging in a personal or proprietary securities transaction in advance of a transaction in the same security for a client's account. Front running is considered a form of market manipulation in many markets. Cases typically involve individual brokers or brokerage firms trading stock in and out of undisclosed, unmonitored accounts of relatives or confederates. Institutional and individual investors may also commit a front running violation when they are privy to inside information. A front running firm either buys for its own account before filling customer buy orders that drive up the price, or sells for its own account before filling customer sell orders that drive down the price. Front running is prohibited since the front-runner profits come from nonpublic information, at the expense of its own customers, the block trade, or the public market.

Algorithmic trading is a method of executing orders using automated pre-programmed trading instructions accounting for variables such as time, price, and volume. This type of trading attempts to leverage the speed and computational resources of computers relative to human traders. In the twenty-first century, algorithmic trading has been gaining traction with both retail and institutional traders. A study in 2019 showed that around 92% of trading in the Forex market was performed by trading algorithms rather than humans.

<span class="mw-page-title-main">Market data</span> Electronic financial trading price and related data

In finance, market data is price and other related data for a financial instrument reported by a trading venue such as a stock exchange. Market data allows traders and investors to know the latest price and see historical trends for instruments such as equities, fixed-income products, derivatives, and currencies.

Best execution refers to the duty of an investment services firm executing orders on behalf of customers to ensure the best execution possible for their customers' orders. Some of the factors the broker must consider when seeking best execution of their customers' orders include: the opportunity to get a better price than what Is currently quoted, and the likelihood and speed of execution.

<span class="mw-page-title-main">Richard Donchian</span> American businessman

Richard Davoud Donchian was an American commodities and futures trader, and a pioneer in the field of managed futures.

Direct market access (DMA) is a term used in financial markets to describe electronic trading facilities that give investors wishing to trade in financial instruments a way to interact with the order book of an exchange. Normally, trading on the order book is restricted to broker-dealers and market making firms that are members of the exchange. Using DMA, investment companies and other private traders use the information technology infrastructure of sell side firms such as investment banks and the market access that those firms possess, but control the way a trading transaction is managed themselves rather than passing the order over to the broker's own in-house traders for execution. Today, DMA is often combined with algorithmic trading giving access to many different trading strategies. Certain forms of DMA, most notably "sponsored access", have raised substantial regulatory concerns because of the possibility of a malfunction by an investor to cause widespread market disruption.

In finance, a dark pool is a private forum for trading securities, derivatives, and other financial instruments. Liquidity on these markets is called dark pool liquidity. The bulk of dark pool trades represent large trades by financial institutions that are offered away from public exchanges like the New York Stock Exchange and the NASDAQ, so that such trades remain confidential and outside the purview of the general investing public. The fragmentation of electronic trading platforms has allowed dark pools to be created, and they are normally accessed through crossing networks or directly among market participants via private contractual arrangements. Generally, dark pools are not available to the public, but in some cases, they may be accessed indirectly by retail investors and traders via retail brokers.

<span class="mw-page-title-main">Electronic trading platform</span> Software for trading financial products

In finance, an electronic trading platform also known as an online trading platform, is a computer software program that can be used to place orders for financial products over a network with a financial intermediary. Various financial products can be traded by the trading platform, over a communication network with a financial intermediary or directly between the participants or members of the trading platform. This includes products such as stocks, bonds, currencies, commodities, derivatives and others, with a financial intermediary such as brokers, market makers, Investment banks or stock exchanges. Such platforms allow electronic trading to be carried out by users from any location and are in contrast to traditional floor trading using open outcry and telephone-based trading. Sometimes the term trading platform is also used in reference to the trading software alone.

Tower Research Capital LLC is a high-frequency trading, algorithmic trading, and financial services firm.

High-frequency trading (HFT) is a type of algorithmic trading in finance characterized by high speeds, high turnover rates, and high order-to-trade ratios that leverages high-frequency financial data and electronic trading tools. While there is no single definition of HFT, among its key attributes are highly sophisticated algorithms, co-location, and very short-term investment horizons in trading securities. HFT uses proprietary trading strategies carried out by computers to move in and out of positions in seconds or fractions of a second.

Forex autotrading is a slang term for algorithmic trading on the foreign exchange market, wherein trades are executed by a computer system based on a trading strategy implemented as a program run by the computer system.

<span class="mw-page-title-main">2010 flash crash</span> U.S. stock market crash lasting 36 minutes in May 6, 2010

The May 6, 2010, flash crash, also known as the crash of 2:45 or simply the flash crash, was a United States trillion-dollar flash crash which started at 2:32 p.m. EDT and lasted for approximately 36 minutes.

Systematic trading is a way of defining trade goals, risk controls and rules that can make investment and trading decisions in a methodical way.

In finance, quote stuffing refers to a form of market manipulation employed by high-frequency traders (HFT) that involves quickly entering and withdrawing a large number of orders in an attempt to flood the market. This can create confusion in the market and trading opportunities for high-speed algorithmic traders. The term is relatively new to the financial market lexicon and was coined by Nanex in studies on HFT behavior during the 2010 Flash Crash.

<span class="mw-page-title-main">Interactive Brokers</span> American financial services firm

Interactive Brokers LLC (IB) is an American multinational brokerage firm. It operates the largest electronic trading platform in the United States by number of daily average revenue trades. The company brokers stocks, options, futures, EFPs, futures options, forex, bonds, funds, and some cryptocurrencies.

<span class="mw-page-title-main">Hudson River Trading</span> Quantitative trading firm based in NYC

Hudson River Trading is a quantitative trading firm headquartered in New York City and founded in 2002. In 2014, it accounted for about 5% of all trading in the United States. Hudson River Trading employs over 800 people in offices around the world, including New York, Chicago, Austin, Boulder, London, Singapore, Shanghai, Mumbai and Dublin. The firm focuses on research and development of automated trading algorithms using mathematical techniques, and trades on over 100 markets worldwide.

Spoofing is a disruptive algorithmic trading activity employed by traders to outpace other market participants and to manipulate markets. Spoofers feign interest in trading futures, stocks, and other products in financial markets creating an illusion of the demand and supply of the traded asset. In an order driven market, spoofers post a relatively large number of limit orders on one side of the limit order book to make other market participants believe that there is pressure to sell or to buy the asset.

References

  1. Khandelwal, Nitesh. "3 Myths about Algorithmic Trading". BW Businessworld. Retrieved 2019-08-01.
  2. Domowitz, Ian; Lee, Ruben (1996-10-28). "The Legal Basis for Stock Exchanges: The Classification and Regulation of Automated Trading Systems".
  3. Arnoldi, Jakob (2016-01-01). "Computer Algorithms, Market Manipulation and the Institutionalization of High Frequency Trading". Theory, Culture & Society. 33 (1): 29–52. doi:10.1177/0263276414566642. ISSN   0263-2764.
  4. Yadav, Yesha (2015). "How Algorithmic Trading Undermines Efficiency in Capital Markets". Vanderbilt Law Review. 68: 1607.
  5. Lemke, Thomas; Lins, Gerald. "2:25-2:29". Soft Dollars and Other Trading Activities (2013-2014 ed.). Thomson West. ISBN   978-0-314-63065-0.
  6. "Concept Release on Risk Controls and System Safeguards for Automated Trading Environments" (PDF). Commodity Futures Trading Commission. September 9, 2013. Archived from the original (PDF) on November 27, 2013. Retrieved December 22, 2014.
  7. Hanif, Ayub; Smith, Robert Elliott (2012-09-30). "Algorithmic, Electronic, and Automated Trading". The Journal of Trading. 7 (4): 78–86. doi:10.3905/jot.2012.7.4.078. ISSN   1559-3967.
  8. Marynowski, John M., et al. "Automated trading system in an electronic trading exchange." U.S. Patent No. 7,251,629. 31 Jul. 2007.
  9. Hartheimer, Richard, et al. "Financial exchange system having automated recovery/rollback of unacknowledged orders." U.S. Patent No. 5,305,200. 19 Apr. 1994.
  10. Zubulake, Paul; Lee, Sang (2011). The high frequency game changer: how automated trading strategies have revolutionized the markets. Wiley trading series. Hoboken, NJ: Wiley. ISBN   978-1-118-01968-9.
  11. Fong, Simon; Si, Yain-Whar; Tai, Jackie (2012). "Trend following algorithms in automated derivatives market trading". Expert Systems with Applications. 39 (13): 11378–11390. doi:10.1016/j.eswa.2012.03.048. ISSN   0957-4174.
  12. Dai, Min; Yang, Zhou; Zhang, Qing; Zhu, Qiji. "Optimal Trend Following Trading Rules".
  13. "Basics of Statistical Mean Reversion Testing". QuantStart.
  14. Smith, William (2010-02-01). "On the Simulation and Estimation of the Mean-Reverting Ornstein-Uhlenbeck Process" (PDF). Vol. 1.01.
  15. Donchian, Richard (1995-11-15). "Donchian's five- and 20-day moving averages". Futures Futures: News, Analysis & Strategies for Futures, Options & Derivatives Traders. 24 (13). Cedar Falls, Iowa: The Alpha Pages LLC: 32 via Gale.
  16. Dimov, Diyan (2022-12-19). "Conceptual Model of Automated Trading Systems Implementation". ROBONOMICS: The Journal of the Automated Economy. 3: 25–25. ISSN   2683-099X.
  17. "History of Trading Systems". 13 January 2014.
  18. Swart, J.N. (2016). "Testing a price breakout strategy using Donchian Channels". University of Cape Town.
  19. Durenard, Eugene A. (2013). Professional automated trading: theory and practice. Wiley trading series. Hoboken, New Jersey: John Wiley & Sons. ISBN   978-1-118-12985-2. OCLC   847541969.
  20. Lievonen, L. (2020). "Empirical investigation on the performance of copy-portfolios on E-TORO platform" (PDF).
  21. "Tradency, Robo for Advisors". tradency. Retrieved 2022-07-12.
  22. "Mirror Trader". tradency. Retrieved 2022-07-12.
  23. Mingwen, Yang; Eric, Zheng; Vijay, Mookerjee (2019). "The Transparency-Revenue Conundrum in Social Trading: Implications for Platforms and Investors" (PDF). Jindal School of Management, The University of Texas at Dallas.
  24. Apesteguia, Jose; Oechssler, Jörg; Weidenholzer, Simon (2020). "Copy Trading". Management Science. 66 (12): 5608–5622. doi:10.1287/mnsc.2019.3508. ISSN   0025-1909.
  25. Muller, Christopher (July 14, 2018). "Robo-Advisor: Future to Financial Management?". Algonest. Archived from the original on January 6, 2019. Retrieved June 24, 2018.
  26. "As automated trading takes over markets, rational human investors matter even more. - Abernathy MacGregor".
  27. "A day in the quiet life of a NYSE floor trader". 29 May 2013.
  28. Giovanni Cespa, Xavier Vives (February 2017). "High frequency trading and fragility" (PDF). Working Papers Series (2020). European Central Bank. This supports regulatory concerns about the potential drawbacks of automated trading due to operational and transmission risks and implies that fragility can arise in the absence of order flow toxicity.
  29. ""CFTC Publishes Sweeping Concept Release Asking Questions About Additional Regulation of Automated Trading Strategies and High-Frequency Trading" - JD Supra".
  30. "SEC Adopts New Rule Preventing Unfiltered Market Access (Press Release No. 2010-210; November 3, 2010".
  31. "Notice to Members 04-66 – FINRA.org".
  32. "FINRA Issues Guidance on Master and Sub-Account Arrangements". Archived from the original on 2014-12-25. Retrieved 2014-12-25.
  33. "Risk Alert Master Subaccounts" (PDF). www.sec.gov.
  34. Foley, Michael T.; Angstadt, Janet M.; Pazzol, Ross; Van De Graaff, James D. (2016-01-01). "FINRA rule amendment requires registration of associated persons who develop algorithmic trading strategies". Journal of Investment Compliance. 17 (3): 39–41. doi:10.1108/JOIC-07-2016-0028. ISSN   1528-5812.
  35. Scopino, Gregory (2015). "Preparing Financial Regulation for the Second Machine Age: The Need for Oversight of Digital Intermediaries in the Futures Markets". Vol. 2015, no. 2: 439. Columbia Business Law Review.
  36. "Regulatory Notice 15-09 | FINRA.org". www.finra.org. 2015-03-26. Retrieved 2024-03-23.
  37. "No Time To Trade". Archived from the original on 2015-05-29. Retrieved 2015-05-29.
  38. matthewaphilips, Matthew Philips. "Knight Shows How to Lose $440 Million in 30 Minutes". Bloomberg News .
  39. "Knight Capital and Getco to Merge". 19 December 2012.
  40. Matthew Philips. "How the Robots Lost: High-Frequency Trading's Rise and Fall". Bloomberg.