Finance:Automated trading system

From HandWiki
(Redirected from Finance:Automated trading)

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. These automated trading systems are mostly employed by investment banks or hedge funds, but are also available to private investors using simple online tools.

Automated trading systems are often used with electronic trading in automated market centers, including electronic communication networks, "dark pools", and automated exchanges.[2] 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.[3]

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. 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.[4] 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).[5]

Strategies

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

"Consider a complete probability space (Ω, F, P). Let [math]\displaystyle{ S_r }[/math] denote the stock price at time [math]\displaystyle{ r }[/math] satisfying the equation
[math]\displaystyle{ dS_r = S_r[\mu (\alpha _r)dr + \sigma dB_r], }[/math] [math]\displaystyle{ S_t = X, }[/math] [math]\displaystyle{ t \leq r \leq T \lt \infty }[/math],
where [math]\displaystyle{ \alpha _r \in \{1,2\} }[/math] is a two-state Markov-Chain, [math]\displaystyle{ \mu (i) \equiv \mu _i }[/math] is the expected return rate in regime [math]\displaystyle{ i = 1,2, \sigma \gt 0 }[/math] is the constant volatility, [math]\displaystyle{ B_r }[/math] is a standard Brownian motion, and [math]\displaystyle{ t }[/math] and [math]\displaystyle{ T }[/math] are the initial and terminal times, respectively".[6]

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

":[math]\displaystyle{ P_{\mathrm{VWAP}} = \frac{\sum_{j}{P_j \cdot Q_j}}{\sum_j{Q_j}} \, }[/math]

where:

[math]\displaystyle{ P_{\mathrm{VWAP}} }[/math] is Volume Weighted Average Price;
[math]\displaystyle{ P_j }[/math] is price of trade [math]\displaystyle{ j }[/math];
[math]\displaystyle{ Q_j }[/math] is quantity of trade [math]\displaystyle{ j }[/math];
[math]\displaystyle{ j }[/math] 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:

[math]\displaystyle{ dx_t = \theta(\mu -x_t)dt + \sigma dW_t }[/math]

Where [math]\displaystyle{ \theta }[/math] is the rate of reversion to the mean, [math]\displaystyle{ \mu }[/math] is the mean value of the process, [math]\displaystyle{ \sigma }[/math] is the variance of the process and [math]\displaystyle{ W_t }[/math] is a Wiener Process or Brownian Motion".[7][unreliable source?]

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. Then, in the 1980s, the concept of rule based trading 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.[8] 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. 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. Now, Automated Trading System is managing huge assets all around the globe.[9] 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.[10][11]

Market disruption and manipulation

Automated trading, or high-frequency trading, causes regulatory concerns as a contributor to market fragility.[12] United States regulators have published releases[13][14] 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,[15] 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 [16] and the SEC's Office of Compliance Inspections and Examination's National Exam Risk Alert dated September 29, 2011.[17]

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.[citation needed]

Notable examples

Examples of recent substantial market disruptions include the following:

  • On May 6, 2010, the Dow Jones Industrial Average declined about 1,000 points (about 9 percent) and recovered those losses within minutes. It was the second-largest point swing (1,010.14 points) and the largest one-day point decline (998.5 points) on an intraday basis in the Average's history. This market disruption became known as the Flash Crash and resulted in U.S. regulators issuing new regulations to control market access achieved through automated trading.[18]
  • On August 1, 2012, between 9:30 a.m. and 10:00 a.m. EDT, Knight Capital Group lost four times its 2011 net income.[19] Knight's CEO Thomas Joyce stated, on the day after the market disruption, that the firm had "all hands on deck" to fix a bug in one of Knight's trading algorithms that submitted erroneous orders to exchanges for nearly 150 different stocks. Trading volumes soared in so many issues, that the SPDR S&P 500 ETF (SYMBOL: SPY), which is generally the most heavily traded U.S. security, became the 52nd-most traded stock on that day, according to Eric Hunsader, CEO of market data service Nanex. Knight shares closed down 62 percent as a result of the trading error and Knight Capital nearly collapsed. Knight ultimately reached an agreement to merge with Getco, a Chicago-based high-speed trading firm.[20][21]

See also

References

  1. Khandelwal, Nitesh. "3 Myths about Algorithmic Trading" (in en). http://businessworld.in/article/3-Myths-about-Algorithmic-Trading/13-10-2018-162113. 
  2. Lemke, Thomas; Lins, Gerald. Soft Dollars and Other Trading Activities (2013-2014 ed.). Thomson West. ISBN 978-0-314-63065-0. 
  3. "Concept Release on Risk Controls and System Safeguards for Automated Trading Environments". Commodity Futures Trading Commission. September 9, 2013. http://www.cftc.gov/ucm/groups/public/@newsroom/documents/file/federalregister090913.pdf. Retrieved December 22, 2014. 
  4. Marynowski, John M., et al. "Automated trading system in an electronic trading exchange." U.S. Patent No. 7,251,629. 31 Jul. 2007.
  5. Hartheimer, Richard, et al. "Financial exchange system having automated recovery/rollback of unacknowledged orders." U.S. Patent No. 5,305,200. 19 Apr. 1994.
  6. Dai, Min; Yang, Zhou; Zhang, Qing; Zhu, Qiji. Optimal Trend Following Trading Rules∗. 
  7. "Basics of Statistical Mean Reversion Testing". https://www.quantstart.com/articles/Basics-of-Statistical-Mean-Reversion-Testing. 
  8. "History of Trading Systems". 13 January 2014. http://www.automatedtrading.com/2014/01/13/history-trading-systems/. 
  9. Muller, Christopher (July 14, 2018). "Robo-Advisor: Future to Financial Management?". https://www.algonest.com/site/robo-content/. 
  10. "As automated trading takes over markets, rational human investors matter even more. - Abernathy MacGregor". http://www.abmac.com/industry-insight/as-automated-trading-takes-over-markets-rational-human-investors-matter-even-more. 
  11. "A day in the quiet life of a NYSE floor trader". 29 May 2013. http://fortune.com/2013/05/29/a-day-in-the-quiet-life-of-a-nyse-floor-trader/. 
  12. Giovanni Cespa, Xavier Vives (February 2017). "High frequency trading and fragility". Working Papers Series (European Central Bank) (2020). https://www.ecb.europa.eu/pub/pdf/scpwps/ecbwp2020.en.pdf. "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.". 
  13. ""CFTC Publishes Sweeping Concept Release Asking Questions About Additional Regulation of Automated Trading Strategies and High-Frequency Trading" - JD Supra". http://www.jdsupra.com/legalnews/cftc-publishes-sweeping-concept-release-68577. 
  14. "SEC Adopts New Rule Preventing Unfiltered Market Access (Press Release No. 2010-210; November 3, 2010". https://www.sec.gov/news/press/2010/2010-210.htm. 
  15. "Notice to Members 04-66 – FINRA.org". http://www.finra.org/Industry/Regulation/Notices/2004/P010269. 
  16. "FINRA Issues Guidance on Master and Sub-Account Arrangements". Archived from the original on 2014-12-25. https://web.archive.org/web/20141225163346/https://www.finra.org/Industry/Regulation/Notices/2010/P121248. Retrieved 2014-12-25. 
  17. https://www.sec.gov/about/offices/ocie/riskalert-mastersubaccounts.pdf [bare URL PDF]
  18. "No Time To Trade". Archived from the original on 2015-05-29. https://web.archive.org/web/20150529200459/http://www.notimetotrade.com/. Retrieved 2015-05-29. 
  19. matthewaphilips, Matthew Philips. "Knight Shows How to Lose $440 Million in 30 Minutes". https://www.bloomberg.com/news/articles/2012-08-02/knight-shows-how-to-lose-440-million-in-30-minutes. 
  20. "Knight Capital and Getco to Merge". 19 December 2012. https://dealbook.nytimes.com/2012/12/19/knight-capital-and-getco-to-merge/?_r=0. 
  21. Matthew Philips. "How the Robots Lost: High-Frequency Trading's Rise and Fall". Bloomberg. https://www.bloomberg.com/news/articles/2013-06-06/how-the-robots-lost-high-frequency-tradings-rise-and-fall.